Ajike Posted May 6, 2017 Share Posted May 6, 2017 Hi, i just downloaded the prestashop 1.6.1.12 and anytime i log in and try to do anything it keeps logging me out. I have to relogin at every click. Pls help! Link to comment Share on other sites More sharing options...
shokinro Posted May 7, 2017 Share Posted May 7, 2017 It might be related to your browser cookies settings. have you tried to use different browser? Link to comment Share on other sites More sharing options...
fpto Posted October 17, 2017 Share Posted October 17, 2017 (edited) Hi ya’ll, I am also having trouble logging into my prestashop back office (v1.6.1.8). I keep being logged out. The way I am going around it is to clear my cache on my browser (chrome or Safari). Then it works. But after about 30 minutes, I click on somewhere in the back office and boom I am logged out again. Then I have to clear my browser cache/history again. I do this about 20 times per day. Sometimes, clearing the cache doesn’t work immediately so I have to switch browser clear its cache and then it works. In one forum, I found that the issue was probably connected with the cookie IP checking. So I went to the Administration > Preferences and disabled “Check the cookie’s IP address” As I got told here: https://www.prestashop.com/forums/topic/345778-solved-prestashop-16-auto-logging-me-off/ Also Lifetime of back office cookies is set up to 480 hours which should be enough. Unfortunately, this has not really solved the problem. Any ideas how can I fix this? Edited October 17, 2017 by fpto (see edit history) 1 Link to comment Share on other sites More sharing options...
kotzie Posted August 7, 2019 Share Posted August 7, 2019 Hi guys, I know it's been a while since the last answer in this topic but I've been through this yesterday and wasted a couple of hours so I hope I could help anyone in the same situation than mine's. My problem/environment I've launched an AWS EC2 and installed Apache2 + PHP 7.2 + PrestaShop 1.7.6 and been through this error. The answer is the one pointed here (in another topics): you should disable the IP Checking on cookies in backoffice. What isn't clear anywhere is that at least in my case I couldn't change the option in the BO because I couldn't even login (any link I click logs me out again) to change the option. I have an Elastic IP to my EC2 but at this very moment it wasn't associated yet. It may be the problem, but I've not tested.My solution Login in the mysql (with mysql CLI or phpMyAdmin) and update the configuration row PS_COOKIE_CHECKIP on table yourprefix_configuration like this: UPDATE yourprefix_configuration SET value = 0 WHERE name = 'PS_COOKIE_CHECKIP'; Hope it helps. Regards. 1 5 Link to comment Share on other sites More sharing options...
salim72562 Posted September 20, 2019 Share Posted September 20, 2019 (edited) I had issue with Prestashop version 1.7.6 first time i login admin dashboard - whatever link/tab i click admin dashboard logged out. I tried deleting smarty cache manually, increased cookie limit(file), disabled ip check(file)... nothing works. finally this one did it. thanks a lot UPDATE yourprefix_configuration SET value = 0 WHERE name = 'PS_COOKIE_CHECKIP'; Edited September 20, 2019 by salim72562 (see edit history) 1 Link to comment Share on other sites More sharing options...
Ozgur6677 Posted July 7, 2020 Share Posted July 7, 2020 Thanks a lot for the solution. I ll try that. I have the same problem. Also when customers are in the cart or click the checkout button they are forwarded to homepage. Or they cant login.. Is this something related to this? 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