Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A BIG mess with SSL


nettyft

Recommended Posts

Hi everyone:

I purchased a SSL certificate from my hosting provider. My provider installed the certificate on and look what happned:

 

https://www.create-a-spa.com/catalog

 

Now look at it without the SSL:

 

http://www.create-a-spa.com/catalog

 

What when wrong?

 

Please help. I emailed the guy but haven't got any answers.

I'm not a pro at this but, was the SSL installed after or before you installed osc? If the ssl was installed after oscommerce was, then i beleive you have to go back into your configure.php file to set ssl to true. I'm not 100% sure but hopefully someon can verify this for you. Good luck

Link to comment
Share on other sites

Hi everyone:

I purchased a SSL certificate from my hosting provider. My provider installed the certificate on and look what happned:

 

https://www.create-a-spa.com/catalog

 

Now look at it without the SSL:

 

http://www.create-a-spa.com/catalog

 

What when wrong?

 

Please help. I emailed the guy but haven't got any answers.

Double check your configuration file you definately have something misconfigured, I get this url https://www.create-a-spa.com/catalg when I clicked on that https link unles you had a typo there, but according to the property for an image you don't have the http:///images/banners/oscommerce.gif url completed.

 

Best I can do.

Best Regards

Link to comment
Share on other sites

This is what I have in my configure:

 

 

/ Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.create-a-spa.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.create-a-spa.com');

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

 

I am so confused. Everything was runing so smooth and now I get this :(

Link to comment
Share on other sites

Thank You:

 

Do I also have to change this?

 

define('HTTP_COOKIE_DOMAIN', 'www.create-a-spa.com');

define('HTTPS_COOKIE_DOMAIN', '');

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

define('HTTPS_COOKIE_PATH', '');

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

define('DIR_WS_HTTPS_CATALOG', '');

 

:blink:

Link to comment
Share on other sites

Thats probably from the configure.php being off. Also make sure image paths in header and footer are like this <?php echo tep_image(DIR_WS_IMAGES . 'your_image.gif'); ?> Keeps you from secure/unsecure warnings and problems.

The Wiki Docs: Read them, live them and be thankful for them!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...