Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ssl turned on but does nothing


pjakobs

Recommended Posts

Hi all,

 

I've turned on ssl in configure.php:

define('HTTP_SERVER', 'http://www.mytradetraining.com');

define('HTTPS_SERVER', 'https://www.mytradetraining.com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'www.mytradetraining.com');

define('HTTPS_COOKIE_DOMAIN', 'www.mytradetraining.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

I have an ssl certificate installed, and going to an https page manually by typing the url, works ok. However, when I'm on the storefront and put something in my basket and go to the checkout, it stays in http the entire process and never switches to https. Am I missing some part of the configuration?

 

Also, what is the first page of the checkout process that should be secure, is it checkout_payment.php?

 

Thanks,

Paula

Link to comment
Share on other sites

Hi all,

 

I've turned on ssl in configure.php:

  define('HTTP_SERVER', 'http://www.mytradetraining.com');

  define('HTTPS_SERVER', 'https://www.mytradetraining.com');

  define('ENABLE_SSL', true);

  define('HTTP_COOKIE_DOMAIN', 'www.mytradetraining.com');

  define('HTTPS_COOKIE_DOMAIN', 'www.mytradetraining.com');

  define('HTTP_COOKIE_PATH', '/catalog/');

  define('HTTPS_COOKIE_PATH', '/catalog/');

  define('DIR_WS_HTTP_CATALOG', '/catalog/');

  define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

I have an ssl certificate installed, and going to an https page manually by typing the url, works ok. However, when I'm on the storefront and put something in my basket and go to the checkout, it stays in http the entire process and never switches to https. Am I missing some part of the configuration?

 

Also, what is the first page of the checkout process that should be secure, is it checkout_payment.php?

 

Thanks,

Paula

 

 

You need to make sure your configure.php file is actually updating when you upload the changes. What I would do is delete it from the server and then upload the new version and see what happens. On some servers the files will not get overwritten because of permission issues.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

You need to make sure your configure.php file is actually updating when you upload the changes. What I would do is delete it from the server and then upload the new version and see what happens.  On some servers the files will not get overwritten because of permission issues.

 

Thanks! That worked! I've had no problems updating other files, so I didn't even think of this, but that was indeed the problem.

 

Paula

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...