PHP-MySQL-Sessions icon indicating copy to clipboard operation
PHP-MySQL-Sessions copied to clipboard

Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php73)

Open umashankarpandey opened this issue 4 years ago • 6 comments

This Code Not working in php 7.3

i am getting error Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php73)

umashankarpandey avatar Jul 01 '20 11:07 umashankarpandey

Same here. Would be lovely to receive some kind of feedback from @dominicklee . Php 7.2.

JonasTheGamer avatar Aug 23 '20 18:08 JonasTheGamer

@umashankarpandey You gotta change the code from mysql.sessions.php to this: https://github.com/dominicklee/PHP-MySQL-Sessions/blob/5fc1be65f375325a30ad452383270802c6c91ac3/mysql.sessions.php

Then it works. fixed it for me. ;)

JonasTheGamer avatar Aug 23 '20 18:08 JonasTheGamer

@umashankarpandey You gotta change the code from mysql.sessions.php to this: https://github.com/dominicklee/PHP-MySQL-Sessions/blob/5fc1be65f375325a30ad452383270802c6c91ac3/mysql.sessions.php

Then it works. fixed it for me. ;)

Can confirm that this fix works! Thank you!

jonasbirkelof avatar Oct 21 '20 08:10 jonasbirkelof

Thanks @JonasTheGamer, works for me too, hope it gets merged sometime 🙂

grosschmid avatar Mar 30 '21 17:03 grosschmid

How do i make use of this? https://github.com/dominicklee/PHP-MySQL-Sessions/blob/5fc1be65f375325a30ad452383270802c6c91ac3/mysql.sessions.php @umashankarpandey

mesahach avatar Sep 25 '22 19:09 mesahach

PHP Warning: session_start(): open(/var/cpanel/php/sessions/ea-php83 in php v8.3

arunkjojo avatar Jan 25 '24 01:01 arunkjojo