Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

image display with red crossed x, wrong path set


undi

Recommended Posts

I install oscommerce, all picture diplay correctly except adming pannel's Categories files all images displayed with red crossed x.

i have checked and find that path error

For e.g,the right path for one image should be http://www.discount-cheap.net/images/JD170001.jpg, but when i check on site, it shows attribute , it is http://www.discount-cheap.net/admin/images/JD170001.jpg, so what is think is more admin path added in, but problem is only in admin pannel in catalogue have that problem.

Also show icon there when i add new product also error like this http://www.discount-cheap.net/admin/includ...images/icon.gif, the right one should be http://www.discount-cheap.net/includes/lan...images/icon.gif, same problem as one admin path more in the link

how can i set back.

one friend told me set in configure.php, but i not find where to set is, as i tried to revise, hard for me to undertand those

look as below:can any one fine something wrong?

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.discount-cheap.net'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.discount-cheap.net');

define('HTTPS_CATALOG_SERVER', '');

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

//define('DIR_FS_DOCUMENT_ROOT', '/home/discoun/public_html/'); // where the pages are located on the server

define('DIR_FS_DOCUMENT_ROOT', '/home/discoun/public_html/admin/admin/');

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/discoun/public_html/admin/admin/'); // absolute pate required

 

// define('DIR_WS_CATALOG', '/catalog/'); // absolute path required lpyabc modify it

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

define('DIR_FS_CATALOG', '/home/discoun/public_html/admin/'); // absolute path required

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...