|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
|
Image error message
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. |
|
|
|
|
#2 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
Check the define of DIR_FS_DOCUMENT_ROOT and make sure it includes htdocs.
__________________
Steve |
|
|
|
|
#3 |
|
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
|
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? |
|
|
|
|
#4 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
There should be a / before that www.
No, you'll have a DIR_FS_CATALOG in the catalog configure.php.
__________________
Steve |
|
|
|
|
#5 |
|
Join Date: Dec 2001
Location: Gulfcoast, TX
Posts: 6,911
Reputation: 102
|
stevel
'www/a/x/axehauler.com/htdocs/' Is this path correct even with /?
__________________
Thanks, AlphaDesk Those who can read and don't are no better off than those who can't. - Sam Clemens |
|
|
|
|
#6 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
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.
__________________
Steve |
|
|
|
|
#7 |
|
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
|
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/ |
|
|
|
|
#8 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
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....
__________________
Steve |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|