Post by robster » Wed Apr 18, 2018 9:06 pm

Hi

I am using 1.5.3.1 still for a client's site (yep I know, the updated site is on the way) and I have it set. so that ALL pages are forced to load securely (https) not just the usual account areas and checkout pages. This was done in .htaccess. The problem I am having is that the padlock will not show on Google Chrome which alarms the customers.

I have used an online padlock problem checking website and their response is this:

A form with the action of "http://www.madeupname.com/index.php?rou ... e/currency" exists in the source code of the tested page.
This form needs to be updated to use "https://www.madeupname.com/index.php?ro ... e/currency" or another secure URL for your padlock to return.


Obviously www.madeupname.com is not the actual site but merely used for this example.

So my question is this. How do I fix that action to call index.php?route=module/currency using https rather than http?

For now I have removed the code '<?php echo $currency; ?>' from header.tpl which has fixed the padlock issue but removed the currency drop down on the website and this is needed for the overseas customers.

Anybody able to help please?

Thanks in advance.

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by acx » Thu Apr 19, 2018 9:18 am

In config.php, set both options to https, since you want all pages under SSL:

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://yoursite.example/');

// HTTPS
define('HTTPS_SERVER', 'https://yoursite.example/');
He probably still has the HTTP_SERVER option with a http:// prefix.

Extensions I've made (free):

Breadcrumbs for 2.3.0.2 & 3.0.2.0 Breadcrumb links for subcategories & parent category on product pages
Product Requests Allow customers to request notifications for sold out products
Abandoned Carts Send inquiries to abandoned carts to complete checkout or provide feedback
Ghost Orders Cleanup residue left behind by one page checkout addons


acx
New member

Posts

Joined
Wed Mar 21, 2018 8:39 am


Post by robster » Thu Apr 19, 2018 3:51 pm

Hi

Thanks for that - yep, schoolboy error on my part.

Rob

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK
Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 25 guests