babyewok Posted June 30, 2011 Share Posted June 30, 2011 I have set up a site with v 1.4.2.5 recently and the SSL works just fine. Now I am working on a new site v. 1.4.3 and a) I cannot access the enable/diaable SSL radio button in the back office, despite clicking the link, but have got around this by manually editing the ps_configuration table to enable SSL and MOST IMPORTANTLY I cannot access the account/cart areas as there seems to be a loop in the SSL redirect. I get this error in Firefox:Firefox has detected that the server is redirecting the request for this address in a way that will never complete.I have searched the forums and found peopl having this porblem with older 1.4 versions (http://www.prestashop.com/forums/viewthread/99081/) but since I cannot find $_SERVER[‘HTTPS’]) == ‘on’ anywhere on v 1.4.3, the solution offered does not work!Please help - I am really pulling my hair out with this one!As a last resort, I am considering downgrading to v 1.4.2.5 - would this even be possible? Are there any database differences between 1.4.3 and 1.4.2.5? Link to comment Share on other sites More sharing options...
babyewok Posted June 30, 2011 Author Share Posted June 30, 2011 OK, so I downgraded to 1.4.2.5 and the site STILL hangs on entering https. Sinec I have v.1.4.2.5 working without this issue on another site that is with a different host, I canonly assume this is an issue with the host. Any ideas about what I need ot do? The host for this site is 123-reg Link to comment Share on other sites More sharing options...
babyewok Posted June 30, 2011 Author Share Posted June 30, 2011 Finally! It seems that my host requires that I use: $_SERVER['SSL'] instead of $_SERVER['HTTPS'] in FrontController.php. SSL redirect no longer hangs! Link to comment Share on other sites More sharing options...
Turtle13 Posted March 10, 2017 Share Posted March 10, 2017 For PS 1.6.*\config\settings.inc.phpAdd in the end of file $_SERVER['HTTPS'] = 'on'; And loop will be Fix 1 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