SOLVED Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php72)

Lang'at Mutai

Registered
May 11, 2016
3
0
1
Kenya
cPanel Access Level
Root Administrator
I upgraded to php 7.2 slightly over a month ago and everything has been working fine.
However I now have an error on only one website that reads as follows:

Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php72) in /home/xxx/public_html/libraries/joomla/session/handler/native.php on line 260
Error: Failed to start application: Failed to start the session

I am using 7.2 with multiphp. All the other websites are fine and using the same version of php, but it is only this one producing the error.
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
3,073
384
243
cPanel Access Level
Root Administrator
Hey there! Would you happen to have a list of system requirements for that specific version of Joomla? It could be the site needs an older version of PHP, as that error message is referencing a specific line of code inside the Joomla application. Have you tried any other versions of PHP to see if the error stays the same under different versions?
 

Lang'at Mutai

Registered
May 11, 2016
3
0
1
Kenya
cPanel Access Level
Root Administrator
Hello and thanks for responding.
The site has worked for 1-2 months on the current php version, 7.2. Have tried 7.1 and 7.3, they produce the same error each time with only the path ea-php72 changing to 71 and 73 respectively.
 

Lang'at Mutai

Registered
May 11, 2016
3
0
1
Kenya
cPanel Access Level
Root Administrator
So I had already created one as the forum was taking a while to have my posts reviewed before you could see them.
The support tech found as follows:
1. The folder mentioned above ending with /ea-php72 had incorrect permissions. To correct he ran:
/var/cpanel/php/sessions]cPs# chmod 1733 ea-php72
2. I had a corrupted table in a mysql database. He round the specific broken table by running:
mysqlcheck databasename
3. I then opened phpMyAdmin and repaired the specificed table.
Site came back up after that.

Thanks cPRex for your time and responses.
 

mariedc

Registered
Apr 13, 2020
1
0
0
www.agenciasien.com.mx
cPanel Access Level
Website Owner
Hello I have this session_start () problem: Failed to read session data: user (path: / services / webdata / php_sessions) in /services2/webpages/a/g/agenciasien.com.mx/public/libraries/joomla/session/handler /native.php on line 260
Error: Failed to start application
I cannot enter the backend of my site since it only shows me a blank page. I am using FTP but how can I access the / ea-php72 folder?
HELP PLEASEEEEE