News:

Wondering if this will always be free?  See why free is better.

Main Menu

2.0.14 session_start(): Failed to decode....

Started by NekoSensei, May 31, 2017, 05:07:37 PM

Previous topic - Next topic

Arantor

Well, yes, but you want the php_serialize version, that's the newer fixed version.

NekoSensei

I emptied the table smf_sessions and applied like this


function loadSession()
{
global $HTTP_SESSION_VARS, $modSettings, $boardurl, $sc;

// Attempt to change a few PHP settings.
@ini_set('session.serialize_handler', 'php_serialize'); // le changement
@ini_set('session.use_cookies', true);
@ini_set('session.use_only_cookies', false);
@ini_set('url_rewriter.tags', '');
@ini_set('session.use_trans_sid', false);
@ini_set('arg_separator.output', '&');



Wait and see  ;)

Arantor


NekoSensei

For the moment no error, everything is going very well, we will see in 3 or 4 days, and if all goes well, we can say that it is definitely solved :)

NekoSensei

Hello everyone,
After a few days, and following the addition of the line in the loap.php, I am forced to find that everything works perfectly! Thanks again to shawnb61 and Arantor !
There is nothing more in my error page, just password errors of the usual members ...

Now all you have to do is add this line to a possible next patch 2.0.16 ;)

See you :D

FishingManMatt

Thanks for the info.
I've recently switched to PHP 7 and noticed exactly the same entries i my error log.
Although, I'm not sure if this is related to the new PHP. It's possible they were also on my old 5.6 version but they didn't get my attention.
I will try to add the suggested code to my Load.php file.

Advertisement: