Guest Posted February 24, 2003 Posted February 24, 2003 Hi there peeps. Just got a small prob re: images folder. I moved the contents of catalog up a folder last week as some of you may recall. That in itself is fine. However if I go into the admin section and go to catalog I get the error: Error: Catalog images directory does not exist: /home/stueyb2u/public_html/catalog/images/ However, previous images work fine in the actual site, as opposed to the admin folder. Now I know the error is the path is now incorrect and it just needs to be altered. I looked in the configure.php but it seems ok to me as it takes it relative to the route path. Here is the relevent part of the configure.php: / Define the webserver and path parameters// // DIR_FS_* = Filesystem / directories (local/physical) // DIR_WS_* = Webserver directories (virtual/URL) // define('HTTP_SERVER', 'http://stueyb2u.phenominet.com'); define('HTTP_SERVER', 'http://www.ez-ebits.co.uk'); define('HTTP_SERVER', 'http://www.ez-ebits.co.uk'); define('HTTPS_SERVER', 'https://www.ez-ebits.co.uk'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/'); // absolute path required 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', DIR_WS_CATALOG . 'pub/'); define('DIR_FS_DOCUMENT_ROOT', '/home/stueyb2u/public_html'); define('DIR_FS_CATALOG', '/home/stueyb2u/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); So what am I doing wrong ?
Barrnone Posted February 24, 2003 Posted February 24, 2003 I might have missed it, your define statements started to wrap there at the end, but you should have a line like this define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); that controls the File System directory for the images. If you do not have this line add it in, if you do, could you post it's contents.
Guest Posted February 24, 2003 Posted February 24, 2003 There was no line there, but I added one, ie copy and paste what you put in and it still doesnt work :(
Barrnone Posted February 24, 2003 Posted February 24, 2003 Whoops.. I think I made an assumption that came back to bite me. Are you looking at the configure.php file that is in the includes directory for the store? The line I gave does not belong in that configure.php file. If so, the problem you are looking for is in configure.php in the includes directory of the admin.
Guest Posted February 24, 2003 Posted February 24, 2003 :D Its easy when you know how eh. I was banding my head against a wall for a while on this one. Must try harder next time. Many thanks for a now working catalog :) Stuey
Recommended Posts
Archived
This topic is now archived and is closed to further replies.