Piwigo.org

You are not logged in. (Register / Login)

Announcement

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

eberkund
Member
Registered: 2015-02-10
Posts: 5

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
Location: Nantes, France, Europe
Registered: 2002-04-05
Posts: 13060
Website

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.


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

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
Location: Nantes, France, Europe
Registered: 2002-04-05
Posts: 13060
Website

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.


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

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

plg
Piwigo Team
Location: Nantes, France, Europe
Registered: 2002-04-05
Posts: 13060
Website

Re: 2.8.0RC1 can't login


Latest blog post (March 23th 2017) Piwigo.com Enterprise plans, now official!

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact