Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL messed up problems


Guest

Recommended Posts

My site was looking good until i added SSH protection, then when i do the

 

https://www.mysite.com/catalog

 

all the colors go away.. and background turns white and the site looks terrible..

 

note: i havent purchased a security cert yet.. i just activated SSH through my hosting company.. could that have anything to do with my problem??

 

Another thing, where do i make all pages or select pages use SSH... i would rather keep the index.php non-secure.. but make all account info and checkout info secure...

 

some of the code shows things about :

 

define('HTTP_SERVER', ''); // 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', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

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

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

 

what does these all do??

 

thanks all

Link to comment
Share on other sites

no i havent made any changes to the configure page.. i might have meant to say SSL instead of SSH..

 

just when i enabled one of the 2 on my hosting company side, it made my page go funky.. any suggestions??

 

thanks

Link to comment
Share on other sites

Yes, it could very well be in those definitions of your includes/configure.php file. They are essential and need to be set up correctly to view your site correctly.

The ones you show, are they from the file you're using? If so, you need to fill them in. What looks like a double quote sign in these lines is actually two single quotes with no information in between them.

Here's what mine almost looks like:

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

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

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

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

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

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

define('HTTPS_COOKIE_PATH', 'www.xxxxxxx.com/catalog/');

Sorry, I have a thing about posting my site these days so I xxxx'ed it out.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...