Session errors after updating do 3.1.9 |
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:
My environment remained the same. CI's version is the only thing that changed.
@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?
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.
What were your session settings when using CI 3.1.9? Also, if using database sessions, what's your session table schema?
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';
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.
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
|
Welcome Guest, Not a member yet? Register Sign In |