nik Posted July 4, 2022 Share Posted July 4, 2022 After a server upgrade, I am facing following issue When a not-logged-in user navigates to "myaccount" page, he falls to an infinite redirect loop between the "login" and "my account" page. If I check the network tab of the browser, there are like 50 rediects beteween:https://www.rosepoupee.gr/<log-in>?back=my-account https://www.rosepoupee.gr/<my-account> until the page request fails with an ERR_TOO_MANY_REDIRECTS I am running on 1.7.6.4 Link to comment Share on other sites More sharing options...
Nickz Posted July 4, 2022 Share Posted July 4, 2022 4 hours ago, nik said: I am running on 1.7.6.4 previous PHP version vs actuel php version. Are all dependencies servered? Link to comment Share on other sites More sharing options...
Prestachamps Posted July 4, 2022 Share Posted July 4, 2022 Hello, Did you try to regenerate the htaccess from the back office, SEO, and URL section? Probably it can help: https://www.webibazaar.com/blog/how-to-regenerate-htaccess-file-in-prestashop-1-7-x/ Have a nice day, Leo. Link to comment Share on other sites More sharing options...
nik Posted July 4, 2022 Author Share Posted July 4, 2022 5 hours ago, Prestachamps said: Hello, Did you try to regenerate the htaccess from the back office, SEO, and URL section? Probably it can help: https://www.webibazaar.com/blog/how-to-regenerate-htaccess-file-in-prestashop-1-7-x/ Have a nice day, Leo. This did not work. Regarding PHP, both servers run on 7.2 Link to comment Share on other sites More sharing options...
Nickz Posted July 4, 2022 Share Posted July 4, 2022 1 hour ago, nik said: This did not work. Regarding PHP, both servers run on 7.2 Are all dependencies served? Link to comment Share on other sites More sharing options...
nik Posted July 4, 2022 Author Share Posted July 4, 2022 1 minute ago, Nickz said: Are all dependencies served? Yes. I am only not 100% sure about mod_rewrite, which is needed for url rewriting. Toggling url_rewrite was one of the steps in the solution proposed by Prestachamps, which di not work for me. Although it is defintely enabled on apache, prestashop may not see it? (check screenshot) Link to comment Share on other sites More sharing options...
Nickz Posted July 4, 2022 Share Posted July 4, 2022 do a apache restart and clear caches if you not have done that already. 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