Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Obtaining images on https pages


seakrieg

Recommended Posts

Hi,

Just obtained my SSL certificate and all seems to work except that none of the images will display on the https pages. Is this because the images are stored in http areas and not https? And if so...how do I get around that so that they will display?

 

Thanks

Lawrence

Link to comment
Share on other sites

It's most like because the includes/configure.php file is not setup correctly. You can post that here, without the database information, and someone will look at it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

It's most like because the includes/configure.php file is not setup correctly. You can post that here, without the database information, and someone will look at it.

 

Jack

 

Thanks. It looks like this:

 

<?php

define('HTTP_SERVER', 'http://blazebayley.net');

define('HTTPS_SERVER', 'https://blazebayley.net');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'blazebayley.net');

define('HTTPS_COOKIE_DOMAIN', 'blazebayley.net');

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

define('HTTPS_COOKIE_PATH', '/webshop/');

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

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

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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/blazebay/public_html/webshop/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

(plus the databse info)

?>

 

 

Keep having brainwaves about possible reasons.......and then realising that I'm wrong. <_<

Link to comment
Share on other sites

Oh...just in case...I have searched all over the place and found very similar problems, but not quite had the brainpower to apply it to my website....so sorry if this is problem that has been gone over before.

Link to comment
Share on other sites

Ah! Got it. Fixed it in the website hosting that had disabled hotlinking between the http and https parts of the site.

What an idiot!

:blink:

Thanks for the help. Great forums by the way, I've learnt a lot!

Cheers

Lawrence

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...