squatter Posted February 5, 2019 Share Posted February 5, 2019 Hello, I have migrated my prestashop installation to new hosting. I have followed these instructions: enabled maintenance mode, cleared and disabled cache, downloaded all files and uploaded them to new hosting, exported database and imported to new one with different name, changed settings.inc.php - new db credentials, changed DNS settings of domain to new hosting. Problem is I cannot login to backoffice. If I log in, browser redirects me to login page again with no error. Only solution is to clear browser cache, or add www before URL. But after some time problem appears again. I have tried to log in on several computers. I have tried following suggestions mentioned in other threads: cleared and disabled cache, checked shop url and uri in db and settings.inc.php, tried to modify Cookie.php, changed shop url to www, added DNS A record to www prefix, checked cookie key if matches with one from old hosting, but with no luck. I have prestashop 1.6.1.4. Thanks for any suggestions. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted February 6, 2019 Share Posted February 6, 2019 The issue that you are having most likely is related to the module that does not work. As you don't see any error it's hard to guess which module is not working, however if you dig into error logs you will see errors on the times you try to login in the shop and from these errors you might have a clue what should be done next. When you moved from one server to another does PHP and MySQL version changed? Link to comment Share on other sites More sharing options...
squatter Posted February 12, 2019 Author Share Posted February 12, 2019 On 2/6/2019 at 4:09 PM, Simonas Invertus said: The issue that you are having most likely is related to the module that does not work. As you don't see any error it's hard to guess which module is not working, however if you dig into error logs you will see errors on the times you try to login in the shop and from these errors you might have a clue what should be done next. When you moved from one server to another does PHP and MySQL version changed? Thanks for your answer. I will check modules which could cause the problem. PHP version is the same as on old hosting and mysql version changed from 10.0.21-MariaDB to 10.1.37-MariaDB. Could this be the problem? Link to comment Share on other sites More sharing options...
squatter Posted February 12, 2019 Author Share Posted February 12, 2019 Now I have discovered that if I disable cache in Chrome developer console, suddenly I can login. But cache is disabled in prestashop and I also cleared it manually. I asked my provider if there is some cache system running on server, but they said it is disabled. Link to comment Share on other sites More sharing options...
JBW Posted February 15, 2019 Share Posted February 15, 2019 Clear your browser cache & cookies Link to comment Share on other sites More sharing options...
squatter Posted February 25, 2019 Author Share Posted February 25, 2019 On 2/15/2019 at 12:02 PM, JBW said: Clear your browser cache & cookies This helps, but only temporarily. After couple of minutes user is logged off and he must clear browser cache again to log in. Link to comment Share on other sites More sharing options...
Ysil Posted March 29, 2019 Share Posted March 29, 2019 Hello, I have the exact same problem after my migration, but with a different version of Prestashop (1.7.4.4). I'm currently asking the question to the french community to see if someone has a solution. If it happens I'll let you know. Link to comment Share on other sites More sharing options...
squatter Posted March 29, 2019 Author Share Posted March 29, 2019 Thanks. Maybe you could post link to french topic here, so everybody could read it. Link to comment Share on other sites More sharing options...
Ysil Posted March 29, 2019 Share Posted March 29, 2019 (edited) Sure. 1.7.4.4 - Impossible de se reconnecter au BO Edited March 29, 2019 by Ysil (see edit history) 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