Hint for: Session verification failed after update PHP 5.3 to 5.4 with suhosin

Started by Fisch.666, September 17, 2012, 04:19:25 AM

Previous topic - Next topic

Fisch.666

Hi,

just a small note / hint for everyone facing the error:

Quote
Session verification failed. Please try logging out and back in again, and then try again.

when logging into your smf forums and this error in your error log:

Quote
PHP Warning: Unknown: Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

after the update from PHP 5.3.x to 5.4.x and using the suhosin extension 0.9.34-dev.

This is a known problem of suhosin and is already reported to the suhosin dev:

https://github.com/stefanesser/suhosin/issues/12

Till there is a fix available the only way to fix this is to disable the suhosin extension.

Fisch.666

Hi,

just as an info:

With the pull request:

https://github.com/stefanesser/suhosin/pull/26

in suhosin a fix was provided by an user to fix this problem.

Arantor

While GH won't load the page for me, if it's a patch to suhosin as it seems to be, there's nothing we can do here with that - other than tell people using suhosin to update.

Fisch.666

Yes, you can't do anything here because this is a suhosin problem. Thats the reason why i have marked the thread as solved.

But i just want to post this information in here to help users if they are getting the same problem.

Advertisement: