Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Uploading images


spikesforu

Recommended Posts

Hello,

 

When I go to catalog/products in the admin section i see on the top of the screen an error that reads like this.

 

Error: Catalog images directory does not exist: /catalog/images/

 

When I try to add a image for each product i get this error

 

Warning: move_uploaded_file(/catalog/images/stars_4.gif): failed to open stream: No such file or directory in R:sunflower-pcadminincludesfunctionsgeneral.php on line 853

 

Warning: move_uploaded_file(): Unable to move 'C:PHPuploadtempphp10.tmp' to '/catalog/images/stars_4.gif' in R:sunflower-pcadminincludesfunctionsgeneral.php on line 853

 

Warning: Cannot modify header information - headers already sent by (output started at R:sunflower-pcadminincludesfunctionsgeneral.php:853) in R:sunflower-pcadminincludesfunctionsgeneral.php on line 82

 

anybody got a clue why i does this

Link to comment
Share on other sites

There is no way to specify an image on your server to be used in admin. The way that works is that it uploads an image from your local hard drive to the server. The only way to do what you want would be to run the admin on a browser on your server and upload the image from the server back to the server. It is simplest if you use the browse button.

 

Another option is to leave the image blank on the form and edit manually in the database (e.g. with phpMyAdmin).

 

Good luck,

Matt

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...