Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A lot of fopen, fclose errors


vdmjordy

Recommended Posts

Hi there,

 

I've got a few problems.

 

1) when uploading a new category / product I want to add an image. While adding the image I get the following error code:

 

Warning: move_uploaded_file(D:/inetpub/vhosts/***.nl/httpdocs/webshop/images/image.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\includes\classes\upload.php on line 91

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\Temp\phpAD1.tmp' to 'D:/inetpub/vhosts/***.nl/httpdocs/webshop/images/image.jpg' in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\includes\classes\upload.php on line 91

 

I already give the directory "webshop/images" the 777 chmod.

 

2) While backup my store I get the following error message:

 

Warning: fopen(D:/inetpub/vhosts/***.nl/httpdocs/webshop/admin/backups/db_HostingL_webshop-20090107162027.sql) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\backup.php on line 29

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\backup.php on line 41

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\backup.php on line 97

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\backup.php on line 119

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\backup.php on line 97

 

Warning: fputs(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\backup.php on line 119

 

and more of the same in line 119

 

I already give the directory admin/backups the 777 cmhod

 

 

3) while edit the main page (with the text "Welcome ") with the admin tool I receive the error:

 

Warning: fopen(D:/inetpub/vhosts/***.nl/httpdocs/webshop/includes/languages/dutch/index.php) [function.fopen]: failed to open stream: Permission denied in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\define_language.php on line 36

 

Warning: fwrite(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\define_language.php on line 38

 

Warning: fclose(): supplied argument is not a valid stream resource in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\define_language.php on line 39

 

Warning: Cannot modify header information - headers already sent by (output started at D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\define_language.php:36) in D:\inetpub\vhosts\***.nl\httpdocs\webshop\admin\includes\functions\general.php on line 22

 

 

I hope someone can help me with these errors. If you need more information, you can ask for that.

 

Thanks for so far

Link to comment
Share on other sites

  • 4 weeks later...

Looks to me like you're running on an M$-Windows machine, so I wonder how you can chmod 777 anything? :)

 

I suggest that you look into your directory/file permissions and ownership.

 

Make sure that the user id that has been assigned to the web server has appropriate rights and ownership to the areas you wish to change if you are going to use the web interface to alter the files in question and/or upload files

 

Try

 

http://support.microsoft.com/kb/271071

 

Also

 

http://forums.asp.net/t/874157.aspx

 

and

 

http://www.webwizguide.com/kb/asp_knowledg...permissions.asp

 

Good luck

 

Graham Leach, Co-Proprietor

Authentic Closet

Link to comment
Share on other sites

I'm having the same issues, I've set my permissions on the image folder for read, write and execute...I've even set that on the Temp folder and still get that error? What else could it be?

"I suggest that you look into your directory/file permissions and ownership." I run on a windows server as well and believe that it should be setup correctly.

Steve

I appreciate all the help that everyone on this site has given me!

Link to comment
Share on other sites

I'm having the same issues, I've set my permissions on the image folder for read, write and execute...I've even set that on the Temp folder and still get that error? What else could it be?

"I suggest that you look into your directory/file permissions and ownership." I run on a windows server as well and believe that it should be setup correctly.

If you have been running your store error free and suddenly get errors, and if you have not changed anything, ask your webhost.

Link to comment
Share on other sites

If you have been running your store error free and suddenly get errors, and if you have not changed anything, ask your webhost.

 

Yea, that's what I was thinking as well.

Steve

I appreciate all the help that everyone on this site has given me!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...