gabiatti Posted June 21, 2013 Share Posted June 21, 2013 Prestashop 1.5.4.1 with default theme I'm testing my store and can't logout the users after turned on "friendly-urls". As the pages addresses kept the language sufixes (/en e /br) Prestashop couldn't find "?mylogout=". Turn off friendly-urls works fine, but I need that option available. Is there any solution? How to redirect those logouts to www.myshop.com/br/?mylogout= ; or www.myshop.com/en/?mylogout= ??? Thanks Link to comment Share on other sites More sharing options...
El Patron Posted June 21, 2013 Share Posted June 21, 2013 tun on friendly url's...clear your browser cache and cookies and then retest. Link to comment Share on other sites More sharing options...
gabiatti Posted June 21, 2013 Author Share Posted June 21, 2013 My store is disabled. If I turn on Friendly URL and delete my IP from maintenance, I couldn't even see the maintenance page, getting a 404 as the browser was looking for mystore/br/ instead of mystore/index.php (my language 1 is BR Portuguese, 2 is English). I'm using reset safari to clear cache and cookies. Link to comment Share on other sites More sharing options...
El Patron Posted June 21, 2013 Share Posted June 21, 2013 try it without maint mode....and if possible post your url. Link to comment Share on other sites More sharing options...
GroveMinting Posted July 21, 2013 Share Posted July 21, 2013 This error will occur if your browser is logged in to the front-end shop (and a cookie generated), and THEN you switch from regular url's to friendly urls. At this point you've invalidated the cookie on the front-end and the only way to fix this is to clear the cache. (However, if you're running with friendly urls to start and initially log into the front-end, you will be able to log out no problem.) Use Case: I tested this by logging into my front-end shop with firefox with friendly urls turned off, then switching friendly urls on. I then logged into a new front-end session with internet explorer. I tried to log out of the session from firefox, and got the error. I tried to log out of the session with IE, and was successful. This proves that it is the cookie which is generated from the initial URL, and not necessarily a bug. 1 Link to comment Share on other sites More sharing options...
andrea22k Posted August 18, 2013 Share Posted August 18, 2013 Hi I'm having this kind of problem too. Logout redirect to the error page. How can i solve this? my site is www.wrongpeople.it/shop/ If you wanna test a customer account [email protected] Password: testing Link to comment Share on other sites More sharing options...
vekia Posted August 18, 2013 Share Posted August 18, 2013 hello i logged in into your website and then - click sign out in the footer and i was redirected to the homepage, everything works well i can't reproduce your issue Link to comment Share on other sites More sharing options...
andrea22k Posted August 18, 2013 Share Posted August 18, 2013 (edited) if you are in home page it works fine. But if you log out while being in this page https://www.wrongpeople.it/shop/en/my-account By now i disabled the ssl protocol. So if you logout from http://www.wrongpeople.it/shop/en/my-account all works fine but from the same link with https protocol there's an error. Edited August 18, 2013 by andrea22k (see edit history) Link to comment Share on other sites More sharing options...
andrea22k Posted August 19, 2013 Share Posted August 19, 2013 so is there a way to solve this conflict between https and friendly urls? Link to comment Share on other sites More sharing options...
andrea22k Posted August 26, 2013 Share Posted August 26, 2013 anyone? Link to comment Share on other sites More sharing options...
andrea22k Posted August 30, 2013 Share Posted August 30, 2013 still hoping for an answer please Link to comment Share on other sites More sharing options...
andrea22k Posted September 11, 2013 Share Posted September 11, 2013 up! Link to comment Share on other sites More sharing options...
dformica Posted September 12, 2013 Share Posted September 12, 2013 Same problem on v1.5.5.0 Friendly URLs on, try to logout from an SSL page and you land on a 404 page with url parameters /index.php?controller= I've tried everything including this: http://forge.prestashop.com/browse/PSCFV-5903?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel#issue-tabs Help please. Link to comment Share on other sites More sharing options...
El Patron Posted September 12, 2013 Share Posted September 12, 2013 see if this post helps http://www.prestashop.com/forums/topic/208741-solved-problem-while-log-out-error-404/ Link to comment Share on other sites More sharing options...
dformica Posted September 12, 2013 Share Posted September 12, 2013 That is the same solution that I tried: Edit /modules/blockuserinfo/blockuserinfo.tpl Then replace {$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'} with {$link->getPageLink('index', true, NULL, "mylogout")} I cleared cache, reset the browser before testing but I get the same result. 404 page when logging out from SSL page. Link to comment Share on other sites More sharing options...
El Patron Posted September 12, 2013 Share Posted September 12, 2013 That is the same solution that I tried: Edit /modules/blockuserinfo/blockuserinfo.tpl Then replace {$link->getPageLink('index', true, NULL, "mylogout")|escape:'html'} with {$link->getPageLink('index', true, NULL, "mylogout")} I cleared cache, reset the browser before testing but I get the same result. 404 page when logging out from SSL page. crapoloa.....ok...I suggest (because I already searched in forge) a bug report so that the ps team can review...also please post the forge link here so others can 'vote it up'. I can then also take that link in post in the other threads concerning this subject. http://forge.prestashop.com/secure/Dashboard.jspa Link to comment Share on other sites More sharing options...
ringued Posted December 10, 2013 Share Posted December 10, 2013 Hi, I am having a similar login/logout page stuck problem. On google chrome when I remove the "SSL URL" on "SEO and URL", and then clear the smart caching I am able to log in, but then I can't log out. I tried to put the url again, wait a while and then clearing the smart cache again and it worked out, front user became able to logout. But I have to do that every time I want to login with a front user. Is this problem the same you all are facing or should I try another topic? Thanks Link to comment Share on other sites More sharing options...
ceggers Posted April 5, 2016 Share Posted April 5, 2016 At the end did you solve the problem with friendly URL and the Logout to close session? Please your comment Carlos 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