Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Erros uploading images


denyse

Recommended Posts

Posted

Hi there,

 

I am having a problem uploading/saving images from the admin panel. When I try to upload an image to a product I get these error messages.

 

Warning: move_uploaded_file(e:\accounts\shopdays/catalog/images/catalog_accessories.gif): failed to open stream: Permission denied in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94

 

Warning: move_uploaded_file(): Unable to move 'e:\PHP\uploadtemp\php3305.tmp' to 'e:\accounts\shopdays/catalog/images/catalog_accessories.gif' in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94

 

 

If I try to add an image to the categories or subcategories items I get these error messages:

 

Warning: move_uploaded_file(e:\accounts\shopdays/catalog/images/catalog_baseball_cap.gif): failed to open stream: Permission denied in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94

 

Warning: move_uploaded_file(): Unable to move 'e:\PHP\uploadtemp\php3306.tmp' to 'e:\accounts\shopdays/catalog/images/catalog_baseball_cap.gif' in E:\accounts\shopdays\catalog\admin\includes\classes\upload.php on line 94

 

Warning: Cannot modify header information - headers already sent by (output started at E:\accounts\shopdays\catalog\bigcheez\includes\classes\upload.php:94) in E:\accounts\shopdays\catalog\admin\includes\functions\general.php on line 18

 

Does anyone have any idea what is causing these errors? I tried changing a few folder and file permissions and that did not help. This is probably why (?) I can't get images to display on the individual product item also...even though the placeholders are there under the categories...just not on the individual item...ya think?

 

Help me out please!

Posted

osCommerce, on Linux servers, needs to be run on sites set to 'High Security' not 'Normal' or '3.1'. This may be the source of your problem. Try and find out from your host just what the site security level is set to.

 

If you are on a windows server, which the pathway may indicate, sorry can't help you - except to say osCommerce works best on Unix and Linux.

 

Vger

 

p.s. also look at your use of forward and back slashes - they're not exactly consistent!

Posted

Do you have any additional information on this "High Security" thing? I'm currently trying out osCommerce and just received the exact same errors when attempting to add a category image to a category.

Posted

Well, I posted the first message... I am on Windows 2003 server. I'm getting frustrated...this is holding me up big time. *sigh* Anyone got a clue?

 

Thanks,

 

Denyse

Posted

what rights do you have while adding the images? there are a few (as in not many) who have gotten osCommerce working on a W2K3 server

Posted

Well, I got frustrated....moved it all to a UNIX server and have similar problems. ACK!!! For some reason it does not recognize the images or the download folders. I get error messages taht the folders do not exist...but THEY DO...they are there...visible... Both folders are set up with read/write permissions (777)... any ideas here?

 

Denyse

Posted

I'm in the same boat Denyse... have you gotten a resolution on this as of yet? I'm on a UNIX server and also have the folders there and have 777 permissions...

 

this is rather frustrating, as i'd like to get my shop going soon

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...