keithclark Posted July 2, 2009 Share Posted July 2, 2009 Images display fine in my catalogue (/catalog/images/...), but when I try to view them through my Admin screens, they have the wrong reference. They try to view them at /catalog/admin/catalog/images// Not sure where/what file to change the setting. Thanks, Keith Link to comment Share on other sites More sharing options...
playcraft Posted July 2, 2009 Share Posted July 2, 2009 Images display fine in my catalogue (/catalog/images/...), but when I try to view them through my Admin screens, they have the wrong reference. They try to view them at /catalog/admin/catalog/images// Not sure where/what file to change the setting. Thanks, Keith Check your configure.php file. Link to comment Share on other sites More sharing options...
keithclark Posted July 2, 2009 Author Share Posted July 2, 2009 Check your configure.php file. Yeah, I've always had a tough time with that file. I find it so confusing. Here is my current one: define('HTTP_SERVER', 'http://www.k-wbookworm.com/'); define('HTTP_CATALOG_SERVER', 'http://www.k-wbookworm.com/'); define('HTTPS_CATALOG_SERVER', 'http://www.k-wbookworm.com/'); define('ENABLE_SSL_CATALOG', 'false'); define('DIR_FS_DOCUMENT_ROOT', '/home/kwbo4418/public_html/'); define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', '/home/kwbo4418/public_html/'); define('DIR_WS_CATALOG', 'catalog/'); define('DIR_FS_CATALOG', '/home/kwbo4418/public_html/catalog/'); 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/'); Link to comment Share on other sites More sharing options...
playcraft Posted July 2, 2009 Share Posted July 2, 2009 Yeah, I've always had a tough time with that file. I find it so confusing. Try changing define('DIR_WS_IMAGES', 'images/'); to define('DIR_WS_IMAGES', '/images/'); Link to comment Share on other sites More sharing options...
keithclark Posted July 2, 2009 Author Share Posted July 2, 2009 Try changing define('DIR_WS_IMAGES', 'images/'); to define('DIR_WS_IMAGES', '/images/'); That made it worse. Now all the graphical images on my Admin pages are missing. Also, we are editing /catalog/admin/includes/configure.php? Or, /catalog/admin/configure.php. Keith Link to comment Share on other sites More sharing options...
keithclark Posted July 2, 2009 Author Share Posted July 2, 2009 Try changing define('DIR_WS_IMAGES', 'images/'); to define('DIR_WS_IMAGES', '/images/'); Here is the exact path to the picture when I look at the pictures properties: http://www.k-wbookworm.com/catalog/admin/c.../0755341805.jpg It should be: http://www.k-wbookworm.com/catalog/images/.../0755341805.jpg Keith Link to comment Share on other sites More sharing options...
playcraft Posted July 2, 2009 Share Posted July 2, 2009 Here is the exact path to the picture when I look at the pictures properties: http://www.k-wbookworm.com/catalog/admin/c.../0755341805.jpg It should be: http://www.k-wbookworm.com/catalog/images/.../0755341805.jpg Keith try changing define('DIR_WS_CATALOG', 'catalog/'); to define('DIR_WS_CATALOG', '/catalog/'); Link to comment Share on other sites More sharing options...
keithclark Posted July 2, 2009 Author Share Posted July 2, 2009 try changing define('DIR_WS_CATALOG', 'catalog/'); to define('DIR_WS_CATALOG', '/catalog/'); WOOHOO! Ok, that fixed the standard osCommerce Admin screens. Now I just have to figure out what Supertracker is doing wrong. Thanks! Keith Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.