soteris Posted June 1, 2005 Share Posted June 1, 2005 Hi, When I go to my admin section, all the pictures point to: http://localhost/catalog/admin/images/nv-gs200.jpg instead of: http://localhost/catalog/images/nv-gs200.jpg my configure file /admin/incudes/configure.php is below define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER',''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', 'D:/wamp/www/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', ''); // absolute path required define('DIR_FS_ADMIN', 'D:/wamp/www/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', ''); // absolute path required define('DIR_FS_CATALOG', 'D:/wamp/www/catalog/'); // 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/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Any clues? :D Link to comment Share on other sites More sharing options...
Winterchild Posted June 1, 2005 Share Posted June 1, 2005 You're supposed to have two image folders. One in admin for the admin side and one in catalog for the catalog side Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
soteris Posted June 1, 2005 Author Share Posted June 1, 2005 You're supposed to have two image folders. One in admin for the admin side and one in catalog for the catalog side <{POST_SNAPBACK}> My catalog/include/configure.php is below, it seems right to me define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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', '/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Thanks for your responce Link to comment Share on other sites More sharing options...
Winterchild Posted June 1, 2005 Share Posted June 1, 2005 What I meant is that on admin this link is normal: http://localhost/catalog/admin/images/nv-gs200.jpg And on catalog it's http://localhost/catalog/images/nv-gs200.jpg It's supposed to be like that. There's nothing wrong Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
soteris Posted June 1, 2005 Author Share Posted June 1, 2005 What I meant is that on admin this link is normal:http://localhost/catalog/admin/images/nv-gs200.jpg And on catalog it's http://localhost/catalog/images/nv-gs200.jpg It's supposed to be like that. There's nothing wrong <{POST_SNAPBACK}> So for the images to be available in http://localhost/catalog/admin/images must be copied and paste from the http://localhost/catalog/images/ to http://localhost/catalog/admin/images folder right? Link to comment Share on other sites More sharing options...
Winterchild Posted June 1, 2005 Share Posted June 1, 2005 Depends on what you're trying to do. Are you uploading pictures for products by hand? Then if you want to see them in admin too, you need to copy and paste them. Forum search Contributions search Documentation search (note: docs being adapted for MS3, may be different for MS2) 3 tips for better forum searching Want to post? Read this first: osCommerce for dummies Topic name etiquette Basics: Basics for design Right syntax to use near '-20, 20' Cannot re-assign $this Parse error Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.