Jump to content

Can't login to the admin after server change


Recommended Posts

Hopefully this is the right forum. 

I moved the prestashop 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()
        /* 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 :(



Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...