NIP Posted September 19, 2013 Share Posted September 19, 2013 I have this problem only in real site online. In localhost everything works fine. Logout doesn't work properly. In some pages user is log out, and at the same time when user goes to the other page, he is in his profile, without to login again. Anyone any ideas? It is Prestashop 1.5.5.0 I've tried to turn Friendly URLs on and off. Didn't help. Thanks for help Link to comment Share on other sites More sharing options...
PrestaHeroes USA Posted September 19, 2013 Share Posted September 19, 2013 please post url Link to comment Share on other sites More sharing options...
NIP Posted September 19, 2013 Author Share Posted September 19, 2013 (edited) ; Edited September 20, 2013 by NIP (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 19, 2013 Share Posted September 19, 2013 check please this github fix: https://github.com/PrestaShop/PrestaShop/commit/6aad506c80ee6948856587f0863b73c13eab5f2e Link to comment Share on other sites More sharing options...
NIP Posted September 20, 2013 Author Share Posted September 20, 2013 I'm sorry, but it didn't worked. I've tried just now. I log in in to my account and try logout button / in the top right corner of the page / and nothing happens. When I go back to the home, then I logout. And at some pages I'm in my account, at the other I'm log out. In localhost, it doesn't seem to have this problem. Link to comment Share on other sites More sharing options...
vekia Posted September 20, 2013 Share Posted September 20, 2013 i created test account in your store, and you're right, something doesnt work well there. i've noticed that you use non-default theme, issues like this are related to the theme often. can you, for test purposes, test log in / log out feature in default theme? Link to comment Share on other sites More sharing options...
NIP Posted September 20, 2013 Author Share Posted September 20, 2013 nothing has changed. in localhost it's working perfectly. do you think this could be hosting issue? Link to comment Share on other sites More sharing options...
NIP Posted September 21, 2013 Author Share Posted September 21, 2013 (edited) I have installed new clean version of Prestashop on different subdomain. With the default theme. The problem is the same. After login I can't logout. Here is my fresh instalation - http://pp.myplace-online.info/en/ I'll try the fix above that you suggested again. Edited September 21, 2013 by NIP (see edit history) Link to comment Share on other sites More sharing options...
NIP Posted September 22, 2013 Author Share Posted September 22, 2013 (edited) I've found a solution. It was cache control issue. In .htaccess you have to add this lines: ExpiresActive On ExpiresDefault "access plus 1 days" ExpiresByType text/html "access plus 0 minutes" Now logout works just fine. Hope this will be useful for someone else with the same problem. I'll try to rename the topic to SOLVED. Thanks for your suggestions. Edited September 22, 2013 by NIP (see edit history) 2 Link to comment Share on other sites More sharing options...
vekia Posted September 22, 2013 Share Posted September 22, 2013 thank you for your solution im convinced that it will be very helpful for other merchants here with similar problem im going to mark this topic as [solved] best regards Link to comment Share on other sites More sharing options...
nghiadoan Posted April 21, 2015 Share Posted April 21, 2015 I still cannot solve this problem, even if i add the expire mod on .. the problem seem to happen if i'm at work place, different computer sees the username which is signed in from another computer but cannot use the account, just the header which display the username. when i'm at home, it seems to be working fine Link to comment Share on other sites More sharing options...
birbal007 Posted July 13, 2016 Share Posted July 13, 2016 I've found a solution. It was cache control issue. In .htaccess you have to add this lines: ExpiresActive On ExpiresDefault "access plus 1 days" ExpiresByType text/html "access plus 0 minutes" Now logout works just fine. Hope this will be useful for someone else with the same problem. I'll try to rename the topic to SOLVED. Thanks for your suggestions. not working Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2016 Share Posted July 13, 2016 this kind of problem must be treated individually because problem can be somewhere else, depending on may factors like shop configuration, host configuration etc. so, case needs inspection Link to comment Share on other sites More sharing options...
birbal007 Posted July 13, 2016 Share Posted July 13, 2016 this kind of problem must be treated individually because problem can be somewhere else, depending on may factors like shop configuration, host configuration etc. so, case needs inspection this is my second prestashop website.. i hadnt face this problem in first website.. but this is a big issue found in my current website. i found this problem when my site is almost complte 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