Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

FIX: No Images on any Page


Malakai

Recommended Posts

Problem: The website fails to display any images, but the placeholders still exist AND point to the correct place, where the images still reside.

 

Circumstances: This only happened once to me, but due to my inability to find the fix on these boards I decided to post it for anyone else having the problem.

My store was located on the root directory of the domain, and the store does not have SSL (it connects via paypal, but that's not important).

 

 

Cause: This is caused by the website thinking SSL is enabled. If SSL is actually enabled, you may want to go here instead:

http://www.oscommerce.com/forums/index.php?showtopic=166843

If the images are missing their domain tag, go here:

http://www.oscommerce.com/forums/index.php?showtopic=96589

 

Fix: Check your configure.php file. The fix is quite simple:

The define

define('HTTPS_SERVER'

should be set to nothing, i.e.

define('HTTPS_SERVER', '');

 

Setting the value to "/" without the quotes worked as well. It may be possible to remove the entry entirely for non-SSL servers.

 

This fix is a hack. If anyone can suggest something better, it would be appreciated. Once again, people far more knowledgable than me will either have to verify, elaborate on, or fix my information. Until then, this will suffice.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...