9254686f Posted November 28, 2017 Share Posted November 28, 2017 Hello guysI 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/HjYGPvjrCan someone help me ? Quote Link to comment Share on other sites More sharing options...
mac_gyver Posted November 28, 2017 Share Posted November 28, 2017 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. Quote Link to comment Share on other sites More sharing options...
BigB Posted November 29, 2017 Share Posted November 29, 2017 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.