Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

problem in uploading new image


Recommended Posts

Dear all,


when i tried to upload in new product image it gives an error some thing like following


Warning: move_uploaded_file(c:/inetpub/wwwroot/oscommerce/catalog/images/Pineapple.jpg): failed to open stream: Permission denied in c:\inetpub\wwwroot\oscommerce\admin\includes\classes\upload.php on line 94


what is the problem goes wrong here?


i will be happy if someone can tell me how to fix this?





Link to comment
Share on other sites

There are at least two reasons why this might behappening:


1. Your 'images' folder must have full permissions set on it (777). If it does not have full permissions then you cannot upload new files to it.


2. The file_upload function in php may be disabled by your web hosting company. You are hosted on a Windows server, and very often this function is disabled when running PHP on a Windows server. Check with your hosting company.



Link to comment
Share on other sites


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

  • Create New...