Thbor83 Posted January 28 Share Posted January 28 (edited) Hi, Upgraded server today with latest patches and upgraded to PHP v 8.1 from 8.0 Before upgrade both admin and frontend worked fine, but after upgrade it are complaining about Warning: SessionHandler::read(): Session data file is not created by your uid in /var/www/html/prestashop/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/StrictSessionHandler.php on line 59 Warning: session_start(): Failed to read session data: user (path: /var/lib/php/session) in /var/www/html/prestashop/classes/controller/FrontController.php on line 788 Have followed this guide when installing and redone most steps, since upgrade did overwrite several files. https://www.howtoforge.com/how-to-install-prestashop-on-rocky-linux-9/ Do any of you know why this happens? All feedback appreciated. EDIT! After researching more I figured out that in /var/lib/php/session folder it was created two sess files, they where created after all upgrades, but it seems they have been made before all changes was ready. Deleting them helped and then all worked again. Edited January 30 by Thbor83 Figured out what problem was and how to solve it. (see edit history) Link to comment Share on other sites More sharing options...
Divine Posted January 29 Share Posted January 29 Hello, don't forget to edit your first post and to add [Solved] in the title 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now