Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with config.php images and graphics won't display


Guest

Recommended Posts

Posted

Could you lend a hand with my config file I can't see the images in the preview when I'm adding new products. Here's a copy of what I think is relevant of the admin/include/config

 

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

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

define('HTTPS_CATALOG_SERVER', 'http://www.ourtrustedview.com');

define('ENABLE_SSL_CATALOG', 'false');

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

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

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

define('DIR_WS_CATALOG', '//');

define('DIR_FS_CATALOG', '/home/ourtrust/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_WS_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/');

Posted

try change

 

define('DIR_WS_CATALOG', '//');

 

to

 

define('DIR_WS_CATALOG', '/');

Posted

Hi

 

if the above don't work then if you use cPanel and if so are you using HotLink Protection if so do you have the right url set for your site?

Posted
try change

 

define('DIR_WS_CATALOG', '//');

 

to

 

define('DIR_WS_CATALOG', '/');

 

That goes down as the quick fix of the day. Thank you for sharing you time and effort.

 

Billy

Archived

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

×
×
  • Create New...