Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Store problem / question


dene.w@btinternet.com

Recommended Posts

Posted

Hi all

 

I'm setting up a store at the moment and am having a problem.

 

For some reason, my SSL is set up for the domain:

 

https://sofiscotech.com/ (minus the www)

 

If I go to my store:

 

https://sofiscotech.com/catalog/

 

all the links want to add the www

 

Now, I installed the store before the SSL was setup. I'm guessing this is the root of the problem so do I need to re-install the store from scratch or is there a solution?

 

Thanks in advance

 

Dene

Posted

In your /catalog/includes/configure.php

 

modify the second define for https like this:

  define('HTTP_SERVER', 'http://www.sofiscotech.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://sofiscotech.com'); // eg, https://localhost - should not be empty for productive servers

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Posted

Well, obviously you already started removing your store.

 

Those none-secure items can be scripts like google-analytics or other third-party services like counters. So if you get the same problem with secure and nonsecure parts on the page you need to put an if-statement around the scripts.

 

As long as your SSL cert remains the same, you'll still need to put above changes in your configure file.

 

abra

The First Law of E-Commerce: If the user can't find the product, the user can't buy the product.

 

Feedback and suggestions on my shop welcome.

 

Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong.

Posted

Thanks again. Yeah, I re-installed and don't have the problem now BUT I have my default currency set to GBP but the price is being displayed as USD. Any ideas? I have changed to

 

define('LANGUAGE_CURRENCY', 'GBP');

 

in catalog/includes/languages/english.php

 

but still no joy. very annoying.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...