Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

uploading images


Cyz

Recommended Posts

Iv searched the forum and I cant seem to find an answer to my specific problem... when I try to upload a new product I get this error

 

Warning: move_uploaded_file(/inetpub/wwwroot/agewise/images/residential_hosting.jpg): failed to open stream: Permission denied in c:inetpubwwwrootagewisebbdincludesclassesupload.php on line 94

 

Warning: move_uploaded_file(): Unable to move 'C:PHPuploadtempphp6.tmp' to '/inetpub/wwwroot/agewise/images/residential_hosting.jpg' in c:inetpubwwwrootagewisebbdincludesclassesupload.php on line 94

 

I setup a test server to modify my site locally using IIS5 win 2000... did I maybe mess up on installing the php?..everything else in the store seems to be working right... any help would be great than you :)

Link to comment
Share on other sites

  • 2 months later...

Hi Cyz,

 

I have a similar same error message: I marked the difference red...

but I would like to know how You solved Your Problem... as its running on the same environment as Yours... WinXp and IIS - and I gave all the access rights to my complete oscommerce-2.2ms2 environment and explicitly to my image dirs ... without effort!

 

- my php.ini seem to be ok

- file_uploads = On

and my temp dir is

upload_tmp_dir = C:InetpubPhp43uploadtemp

 

the error:

Warning: move_uploaded_file(/inetpub/wwwroot/agewise/images/residential_hosting.jpg): failed to open stream: Permission denied in c:inetpubwwwrootagewisebbdincludesclassesupload.php on line 94

 

Warning: move_uploaded_file(): Unable to move 'C:PHPuploadtempphp6.tmp' - mine is named php2C70.tmp'

mine

to 'c:/inetpub/wwwroot/agewise/images/residential_hosting.jpg' in

Yours

to '/inetpub/wwwroot/agewise/images/residential_hosting.jpg' in c:inetpubwwwrootagewisebbdincludesclassesupload.php on line 94

 

can You give me a hint?

 

Bye and Thx!

 

Wollek

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...