View Full Version : Image error message
67mustang
12-20-04, 10:40 PM
When trying to add product images through the OSCommerce administration site, I click the button to select an image, select it, but then get a message saying the image doesn't exist and the following error message in pink across the top of the screen:
Error: Catalog images directory does not exist: /www/a/x/axehauler.com/images/
But there is a directory called "images." And I define it in includes/configure.php:
define('DIR_WS_IMAGES', 'images/');
So far, my only image is a "coming soon" image, but I would like to use it. Any suggestions on what the problem is?
Thanks for your help.
Check the define of DIR_FS_DOCUMENT_ROOT and make sure it includes htdocs.
67mustang
12-22-04, 09:21 PM
Steve,
I have this in admin/includes/configure.php:
define('DIR_FS_DOCUMENT_ROOT', 'www/a/x/axehauler.com/htdocs/')
I don't have a define('DIR_FS_DOCUMENT_ROOT' in catalog/includes/configure.php. Should I have one?
There should be a / before that www.
No, you'll have a DIR_FS_CATALOG in the catalog configure.php.
alphadesk
12-22-04, 09:46 PM
stevel
'www/a/x/axehauler.com/htdocs/'
Is this path correct even with /?
Yes, it can be. Oldtimer that I am, in PowWeb terms, I was at one time puzzled by this form, but apparently it is used on newer accounts.
67mustang
12-23-04, 09:59 PM
Steve,
This is what I have now in /admin/includes/configure.php:
define('DIR_FS_DOCUMENT_ROOT', '/www/a/x/axehauler.com/htdocs/'); // where the pages are located on the server
And I still get the same error message in pink at the top of the page: Error: Catalog images directory does not exist: /www/a/x/axehauler.com/images/
E-mail me your admin's configure.php - you know the address. Or use PM (be sure to enclose it in PHP /PHP tags (with [] around the tag names.) I need to see the larger context. Something is not getting the htdocs in there....
vBulletin v3.6.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.