Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Lost images in secure server


Guest

Recommended Posts

WWW.Cleanandgroom.co.uk

 

All pages on HTTP server show logos, banners, buttons and images.

If you create a logon id, or attempt to log on. You are directed to the secure server and the images then show place holders instead.

 

My hosting company say -

 

The issue is caused because the path used for secure connection is

different since you are using shared certificate of the server.

The secure path will work even if the website is accessed insecurely.

I think path change should be done only in includes/configure.php ,

since all other files use path defined in configure.php.

 

My catalog/includes/configure.php -

define('HTTP_SERVER', 'http://www.cleanandgroom.co.uk');

define('HTTPS_SERVER', 'https://moon.secureguards.com/~cleanand');

 

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

define('HTTP_COOKIE_DOMAIN', 'www.cleanandgroom.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'moon.secureguards.com/~cleanand');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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

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

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

 

 

catalog/admin/includes/configure.php -

 

define('HTTP_SERVER', 'http://www.cleanandgroom.co.uk');

 

define('HTTP_CATALOG_SERVER', 'http://www.cleanandgroom.co.uk');

define'HTTPS_CATALOG_SERVER', 'https://moon.secureguards.com/~cleanand');

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

 

define('DIR_FS_DOCUMENT_ROOT', '/home/cleanand/public_html/');

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/cleanand/public_html/admin/');

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/home/cleanand/public_html/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

 

Is it something in one of these files?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...