eddi Posted September 6, 2010 Share Posted September 6, 2010 Hello, I just installed Prestashop. Everything is fine. Today I want to log in and I get directly to the backend. But when I want to change categories prestashop sents me back to login page. There I have to login again. Then I get to the site I wanted to go. Now Im trying to do changes and I get back to login page again. This really sucks. I re-installed it 3 times and always the same problem. This must be a bug? Or did you have similar problems? How can i solve this?I´m using the german version of presta. Link to comment Share on other sites More sharing options...
Patric Posted September 6, 2010 Share Posted September 6, 2010 Could you try to empty your browser cache and deleted the cookie or try with another browser? Link to comment Share on other sites More sharing options...
eddi Posted September 6, 2010 Author Share Posted September 6, 2010 Here is the solution:http://php.dtbaker.com.au/post/prestashop.htmlSimple fix.In the file "prestashop/classes/Cookie.php" go down to line 50 where you see:$this->_expire = isset($expire) ? intval($expire) : (time() + 1728000);and change it too:$this->_expire = isset($expire) ? intval($expire) : (time() + 3600); 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