Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to load images !


venom54

Recommended Posts

This the error (below) after i try to upload any images for either manufacturer for product from with in Admin.

 

 

I'm stummped as i've backed up daily and have no problems up until the weekend.

 

 

Warning: move_uploaded_file(d:/websites/rabhobbiescomau/wwwroot/estore/catalog/images/150125TTLOGO.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in d:\websites\rabhobbiescomau\wwwroot\estore\catalog\admin\includes\classes\upload.php on line 91

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\PHP\uploadtemp\phpF5D0.tmp' to 'd:/websites/rabhobbiescomau/wwwroot/estore/catalog/images/150125TTLOGO.jpg' in d:\websites\rabhobbiescomau\wwwroot\estore\catalog\admin\includes\classes\upload.php on line 91

 

Warning: Cannot modify header information - headers already sent by (output started at d:\websites\rabhobbiescomau\wwwroot\estore\catalog\admin\includes\classes\upload.php:91) in d:\websites\rabhobbiescomau\wwwroot\estore\catalog\admin\includes\functions\general.php on line 22

 

 

Any suggestions would be great.

 

Cheers

 

Ren

:'(

Link to comment
Share on other sites

still should put the url where you'd put localhost eg, define('HTTP_SERVER', 'http://localhost/');

 

Running from own server can be a little headache. Took me a while to get it all straight. Had to remove the / from catalog and and place it like above the: http://localhost/ Then, the images like normal as: images/

 

Until I did that, my development server was also freaking out on images. It would allow for the / in define('DIR_WS_HTTP_CATALOG', '/');

Link to comment
Share on other sites

  • 8 months later...
still should put the url where you'd put localhost eg, define('HTTP_SERVER', 'http://localhost/');

 

Running from own server can be a little headache. Took me a while to get it all straight. Had to remove the / from catalog and and place it like above the: http://localhost/ Then, the images like normal as: images/

 

Until I did that, my development server was also freaking out on images. It would allow for the / in define('DIR_WS_HTTP_CATALOG', '/');

This worked for me and it is so simple. I hope everyone who is struggling with this will give this a try.

Thanks,

Carol Ann

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...