Hello/Hi/Greetings,
I am getting the following error when I try to login, it was working fine earlier but now after logging out and logging back in I have this
"Catchable fatal error: session_regenerate_id(): Failed to create(read) session ID: user (path: /var/lib/php/sessions) in /***/public_html/piwigo/include/functions_user.inc.php on line 951
Piwigo version: 2.8.0RC1
PHP version: 7.0.2
MySQL version: MariaDB 5.5
Offline
Hi eberkund,
Thank you for this bug report. You are not the only one to report it but I didn't encounterd this problem during my own tests. I will have to investigate.
Offline
Same error here, PHP 7.0.2, MariaDB 10.1.10.
I got past this error by removing session id regeneration just to see if it works.
if ( session_id()=="" ) { session_start(); }
And now it works. On my system session files are in /tmp but error message showed no path.
The bug should be fixed in PHP 7.0.3, see https://github.com/php/php-src/blob/PHP-7.0/NEWS#L70
For now I have to see how to avoid the bug while staying secure.
Offline