Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL Problems


Guest

Recommended Posts

Posted

Hi im new to OS Commerce so bear with me.

i have uploaded the site and went through the setup and all works well. the problem is with the SSL certificate as it was issued to my domain without the www. on login in on the site it displays a warning message about secure and non secure items (the images are the non secure items. how do i secure the images.

 

thanks

 

:o

Posted

Check your admin/includes/configure.php. In your case the first few lines should probably be something like this:

 

define('HTTP_SERVER', 'https://mydomain.com'); // perhaps your line isn't using the secure server here?

define('HTTP_CATALOG_SERVER', 'http://mydomain.com');

define('HTTPS_CATALOG_SERVER', 'https://mydomain.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

Just a thought. :)

Posted

hi failsafe tried that but the images still come up non secure.

 

joep147 - where do i put this code?

 

cheers

Posted

Appearently, you did add some images to your shop with html code, like;

<img src="http://www.your_domain/images/your_image.jpg" alt="your_text" title="your_text">

where you should have used:

<?php echo tep_image(DIR_WS_IMAGES . 'your_image.jpg', 'your_text'); ?>

Posted

hi im a bit confused as i did not give you my site address for you to know what i added!!!

 

but you are correct as i did add the whole url. So is that wrong as im lost.

 

cheers

Posted
hi im a bit confused as i did not give you my site address for you to know what i added!!!

 

but you are correct as i did add the whole url. So is that wrong as im lost.

 

cheers

By putting http://blahblah in your URL then you are making a request that is not SSL (secure), which obviously upsets the browser when it is trying to load a completely secure page. By changing it as joep says, this translates to a relative link, so if done via the secure page will then call the secure server for the image, if done by the normal web server, it will call the normal web server for the image. Does that explain it, or is it now even more confusing?

 

The reason we seemingly have psychic abilities about your website without seeing it is that this problem crops up time and again. :D

Posted
By putting http://blahblah in your URL then you are making a request that is not SSL (secure), which obviously upsets the browser when it is trying to load a completely secure page. By changing it as joep says, this translates to a relative link, so if done via the secure page will then call the secure server for the image, if done by the normal web server, it will call the normal web server for the image. Does that explain it, or is it now even more confusing?

 

The reason we seemingly have psychic abilities about your website without seeing it is that this problem crops up time and again. :D

could not have said it better :D

Posted
By putting http://blahblah in your URL then you are making a request that is not SSL (secure), which obviously upsets the browser when it is trying to load a completely secure page. By changing it as joep says, this translates to a relative link, so if done via the secure page will then call the secure server for the image, if done by the normal web server, it will call the normal web server for the image. Does that explain it, or is it now even more confusing?

 

The reason we seemingly have psychic abilities about your website without seeing it is that this problem crops up time and again. :D

 

 

ah master

 

many thanks to the both of you. my wife and new born son are very happy and thank you as i can now leave the PC (been here for 2 days)

 

again many thanks :lol:

Archived

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

×
×
  • Create New...