PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-20-04, 10:40 PM   #1
67mustang
 
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.
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-21-04, 09:50 AM   #2
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 12-22-04, 09:21 PM   #3
67mustang
 
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?
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-22-04, 09:39 PM   #4
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 12-22-04, 09:46 PM   #5
alphadesk
 
alphadesk's Avatar
 
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
alphadesk is offline  
Old 12-22-04, 09:58 PM   #6
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 12-23-04, 09:59 PM   #7
67mustang
 
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/
__________________
Doug Boyd
Greenville, NC
http://www.boydscapes.com
http://www.ecmsracing.com
67mustang is offline  
Old 12-23-04, 10:03 PM   #8
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:26 AM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.