Announcement

#1 2016-01-18 03:31:35

eberkund
Member
2015-02-10
11

2.8.0RC1 can't login

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

 

#2 2016-01-20 10:49:16

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: 2.8.0RC1 can't login

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

 

#3 2016-01-20 18:11:06

sobrus
Guest

Re: 2.8.0RC1 can't login

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.

 

#4 2016-01-27 14:22:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: 2.8.0RC1 can't login

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

 

#5 2016-01-27 14:37:33

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13786

Re: 2.8.0RC1 can't login

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact