Guest Posted June 12, 2009 Share Posted June 12, 2009 I'm new to administering OS Commerce and I have two image questions - I'm putting these in one post as I am sure these are closely related. I can create categories and upload category images. All the categories seem to work perfectly. All the images upload to the images/ directory However when I create a product and upload an image for a product I get the error "IMAGE DOES NOT EXIST" . When I attempt to upload and image it looks as if the image is being uploaded but doesn't actually go anywhere. What I am wondering is should a path looking like images/categories/products be getting created for my images, and if it does not is this why product image upload is not working? Link to comment Share on other sites More sharing options...
Gauravs Posted June 12, 2009 Share Posted June 12, 2009 Could be multiple things 1. See if the destination folder exists. 2. Check the permissions on the folder as per documentation. You should have read write access to it. 3. PHP.INI Setting on your server could restrict large images from being uploaded. Verify max upload size and the file size that you have tried to upload. Best Regards,Gaurav Link to comment Share on other sites More sharing options...
Guest Posted June 15, 2009 Share Posted June 15, 2009 Could be multiple things1. See if the destination folder exists. 2. Check the permissions on the folder as per documentation. You should have read write access to it. 3. PHP.INI Setting on your server could restrict large images from being uploaded. Verify max upload size and the file size that you have tried to upload. Thanks - I've been following your advice. Its not working yet but I think it is something to do with the configure.php path to the site - I'll be taking a look at it shortly Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2009 Share Posted June 17, 2009 Thanks - I've been following your advice. Its not working yet but I think it is something to do with the configure.php path to the site - I'll be taking a look at it shortly I've been checking the site and admin/includes/configure.php file. It looks as if the problem is persisting. If any one knows what can cause the error 'IMAGE DOES NOT EXIST' and stop the uploading of a product image I would be very grateful. Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted June 17, 2009 Share Posted June 17, 2009 Since the categories images are uploading well, it can't be an error in your configure.php. All images are using the same path by default. Did you check the image size and the server restrictions for uploads? Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2009 Share Posted June 17, 2009 Since the categories images are uploading well, it can't be an error in your configure.php. All images are using the same path by default. Did you check the image size and the server restrictions for uploads? Thanks for ruling out configure.php. I have a php5.ini file that sets the maximum upload size to 5m and my server default is 2m. I've been testing with small images in the size range 2 - 30kb so I don't think it could be image size. I've also been looking at permissions and my images/ is set to 755 which I believe should be ok. Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted June 17, 2009 Share Posted June 17, 2009 You can set it to 777 and try again. Just to make sure it's not the permission. Link to comment Share on other sites More sharing options...
Guest Posted June 17, 2009 Share Posted June 17, 2009 You can set it to 777 and try again. Just to make sure it's not the permission. I've tested it with the permissions set to 777 and the problem remains exactly the same - good idea though Link to comment Share on other sites More sharing options...
Guest Posted June 18, 2009 Share Posted June 18, 2009 There's been an interesting update to this one. I've installed the Windows based OScommerce Product Manager and this easily allows me up upload and manage images. This solves the immediate problem and suggests that the configuration is OK. I'm still trying to figure out why I cannot upload directly from the OS Commerce Catalog manager and would love any suggestions people have to fix this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.