vdmjordy Posted January 7, 2009 Share Posted January 7, 2009 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 More sharing options...
Guest Posted February 4, 2009 Share Posted February 4, 2009 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 More sharing options...
chimol Posted February 5, 2009 Share Posted February 5, 2009 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 More sharing options...
Guest Posted February 5, 2009 Share Posted February 5, 2009 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 More sharing options...
chimol Posted February 5, 2009 Share Posted February 5, 2009 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 More sharing options...
chimol Posted February 8, 2009 Share Posted February 8, 2009 The problem is resolved, it was with my host. Steve I appreciate all the help that everyone on this site has given me! Link to comment Share on other sites More sharing options...
vdmjordy Posted February 10, 2009 Author Share Posted February 10, 2009 The problem is resolved, it was with my host. Do you know what the solution is? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.