Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Non-Secure Secure Content Warning / Mixed Content Warning


kite10304

Recommended Posts

Hello, I just installed SSL on my OSC site The Mailbox Source The SSL is working perfectly with the exception that it does not seem to encompass the images being displayed on the site. When I switch from a nonsecure page to a secure page I get a warning asking "Do you want to display nonsecure items?" If I say yes it goes on fine to the secure page, if I say no it displays the page with no images. If I change my configure.php to the following it does not display this, but it then encrypts all content which is obviously not favorable.

 

define('HTTP_SERVER', 'https://www.themailboxsource.com');

// eg, http://localhost - should not be empty for productive servers

 

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

// eg, https://localhost - should not be empty for productive servers

 

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

 

define('HTTP_COOKIE_DOMAIN', '.themailboxsource.com');

 

define('HTTPS_COOKIE_DOMAIN', '.themailboxsource.com');

 

 

This is my regular configure.php settings which show the mixed content errors:

 

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

// eg, http://localhost - should not be empty for productive servers

 

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

// eg, https://localhost - should not be empty for productive servers

 

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

 

define('HTTP_COOKIE_DOMAIN', '.themailboxsource.com');

 

define('HTTPS_COOKIE_DOMAIN', '.themailboxsource.com');

 

I have been digging through the forum and have seen others with this issue but never see a resolution, any help would be greatly appreciated.

 

Thanks,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...