Jump to content

Session_start(): Failed


9254686f

Recommended Posts

Hello guys
I got this error  Warning: session_start(): Failed to read session data: user (path: C:\app\php7.1\tmp) in C:\app\Apache2.4.29\htdocs\PhpMyAdmin\www\konference\libraries\joomla\session\handler\native.php on line 260 Error displaying the error page: Application Instantiation Error: Failed to start the session. 
Here is native.php https://pastebin.com/HjYGPvjr

Can someone help me ? 
 

Link to comment
Share on other sites

if your joomla installation is setup to use a database for the session data storage, it appears there is a change/side-effect in php7.1, where no data being returned causes this error. see this link - https://bugs.php.net/bug.php?id=73616

 

this either could be due to a change in the string type casting or in the php side of the session handling, though if the session handler is changed to a custom one, php shouldn't be puking out its file handling session save path value in an error message about not being able to read session data.

 

the fix is for the custom session read handler to return an empty string upon no matching data. this change would be made in the joomla database.php code. see this link - https://github.com/joomla-framework/session/blob/master/Storage/Database.php

 

or more simply, switch the session data storage to use php's file handling, rather than a database.

Link to comment
Share on other sites

Um, just a guess,

 

Is this a fresh install for Joomla?

Have there been updates or changes to the web hosts?

Has your database user been set up and granted all the privileges?

Has configuration.php been configured with the database details?

 

I'd be looking at these things... then maybe checking the php.ini file is setup correctly, if you have access.

 

I am just guessing, this is where id be starting, you have not made any changes to the code for Joomla right?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.