pel024 Posted March 4, 2012 Share Posted March 4, 2012 Hi all When being redirected to the order confirmation page from paypal (v2.8.5) following a purchase a warning pops up saying the form sent is not secure. I have SSL installed and working fine but for some reason it doesn't work on this page. Anyone know how I can fix this? Cheers Link to comment Share on other sites More sharing options...
shacker Posted March 22, 2012 Share Posted March 22, 2012 use the presto changeo solution> Edit /classes/FrontController.php line #87 (normally, you do not want to change any class file directly, but this is an exception as this will likely be fixed in 1.4.7.1 very soon). Remove the following code else if (Configuration::get('PS_SSL_ENABLED') AND Tools::usingSecureMode() AND !($this->ssl)) { header('HTTP/1.1 301 Moved Permanently'); header('Location: '.Tools::getShopDomain(true).$_SERVER['REQUEST_URI']); exit(); } Save the file, and upload to your server. 1 Link to comment Share on other sites More sharing options...
fionapain Posted November 8, 2012 Share Posted November 8, 2012 Hi everyone new to the forum but tired from sleepless nights trying to get my shop on line and working, not sure if I am allowed to post my web address but I am having issues similar to the one outlined here. my shop is www.thewitcheswarehouse.co.uk I have had loads of trouble getting it to the stage I am at, I have SSL on my server and turned off all the SSL stuff on Prestashop modules etc. I also have three modules set up for payment "payby check" "paypal" and "google checkout" when I go into front ens as customer to try making an order instead of https://..... I get https://htpps://......... the issue here mentions rewritting the php file mine is a little differand and wonder if the same solution applies mine is : if ($this->ssl AND !(isset($_SERVER['HTTPS']) AND strtolower($_SERVER['HTTPS']) == 'on') AND Configuration::get('PS_SSL_ENABLED')) { header('HTTP/1.1 301 Moved Permanently'); header('Location: '.Tools::getShopDomainSsl(true).$_SERVER['REQUEST_URI']); exit(); } Please can someone help thanks 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