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.