isaac.dvory Posted August 28, 2019 Share Posted August 28, 2019 Hopefully this is the right forum. I moved the prestashop 1.6.1.4 to a new server, it works find but I can't login to the admin, It keeps looping back to the login screen without a username / password error... when I do enter wrong details I get a password error , but when Insert the details that I think are correct, it just loops back to the login page. So far I tried: 1) deleting all from public_html/cache 2) different browser 3) deleted cookies 4) edited classes/Cookie.php isLoggedBack to : public function isLoggedBack() { Tools::displayAsDeprecated(); /* Employee is valid only if it can be load and if cookie password is the same as database one */ return ($this->id_employee && Validate::isUnsignedId($this->id_employee) && Employee::checkPassword((int)$this->id_employee, $this->passwd) ); } Still can't login. Please help Thanks. Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted August 28, 2019 Share Posted August 28, 2019 Hi.. Please enable debug mode and see what error come config\defines.inc.php file change define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); thanks Link to comment Share on other sites More sharing options...
isaac.dvory Posted August 28, 2019 Author Share Posted August 28, 2019 Done, no errors at all. Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted August 28, 2019 Share Posted August 28, 2019 can you send your url here ? thanks Link to comment Share on other sites More sharing options...
isaac.dvory Posted August 28, 2019 Author Share Posted August 28, 2019 my admin url? I don't think it's a good idea Link to comment Share on other sites More sharing options...
JBW Posted August 29, 2019 Share Posted August 29, 2019 Check if there is anything about the old server left in .htaccess files. Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted August 29, 2019 Share Posted August 29, 2019 On 8/28/2019 at 12:41 PM, isaac.dvory said: my admin url? I don't think it's a good idea ok no problem thanks Link to comment Share on other sites More sharing options...
isaac.dvory Posted August 29, 2019 Author Share Posted August 29, 2019 5 minutes ago, JBW said: Check if there is anything about the old server left in .htaccess files. It's Ngnix , so no HTACCESS Link to comment Share on other sites More sharing options...
isaac.dvory Posted September 3, 2019 Author Share Posted September 3, 2019 any other ideas? 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