Session errors after updating do 3.1.9 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Session errors after updating do 3.1.9 (/showthread.php?tid=71497) |
Session errors after updating do 3.1.9 - etcho - 08-20-2018 After updating from 3.1.8 to 3.1.9 I'm getting a lot of session errors in all my applications. Those errors are:
RE: Session errors after updating do 3.1.9 - php_rocs - 08-20-2018 @etcho, By any chance did you upgrade or make any changes to PHP? RE: Session errors after updating do 3.1.9 - etcho - 08-20-2018 My environment remained the same. CI's version is the only thing that changed. RE: Session errors after updating do 3.1.9 - php_rocs - 08-20-2018 @etcho, I know you said the environment remained the same. Did you verified it or are you assuming? Are the permissions the same (especially the session directory)? I'm asking again because something is different between the environments. Did you copy the upgraded code from one environment to the other? RE: Session errors after updating do 3.1.9 - etcho - 09-06-2018 Just to let other people know, I downgraded my CI to 3.1.8 and everything came back to normal. No more session errors. I'll wait the next release to see if this issue will be resolved. RE: Session errors after updating do 3.1.9 - skunkbad - 09-06-2018 What were your session settings when using CI 3.1.9? Also, if using database sessions, what's your session table schema? RE: Session errors after updating do 3.1.9 - etcho - 09-06-2018 I literally just replaced my system folder to downgrade to 3.1.8. All the settings remained the same, which is this below: PHP Code: $config['sess_driver'] = 'files'; RE: Session errors after updating do 3.1.9 - ciadmin - 09-06-2018 Ohoh - if you are using the files driver, you MUST set the sess_save_path config variable, to hold the absolute path to a writable folder. RE: Session errors after updating do 3.1.9 - dimas - 09-10-2018 I'm having the same error messages in the log since last CI version: Severity: Warning --> session_start(): Failed to decode session object. Session has been destroyed (...)/system/libraries/Session/Session.php 143 |