Jump to content

Admin area logs me out all the time??


Recommended Posts

  • 1 month later...

My client is reporting the same problem... but I have no problem - maybe a browser issue? I test on Mac Safari and FF without problems, they are using a PC with IE and FF... anyone else got any ideas because this is going to be a problem for me also...
Thanks for any replies.

Link to comment
Share on other sites

Hi,

The admin auto-logout problems were solved at least 1 week ago in the bug tracker.

For PS 1.3, a simple edit to the codes is sufficient.

File: /classes/cookie.php

Before

if ($this->id_employee AND Validate::isUnsignedId($this->id_employee) AND Employee::checkPassword(intval($this->id_employee), $this->passwd) AND (!isset($this->_content[‘remote_addr’]) OR $this->_content[‘remote_addr’] == ip2long(Tools::getRemoteAddr())))



After

if ($this->id_employee AND Validate::isUnsignedId($this->id_employee) AND Employee::checkPassword(intval($this->id_employee), $this->passwd))




If it's PS 1.4, download the 2 files in this thread post: http://www.prestashop.com/forums/viewthread/90790/P15/#380061

Then ftp and overwrite the older files. After that, go BO >> Preferences, set Check IP on the cookie to No and save.

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...