icarus9 Posted November 1, 2012 Share Posted November 1, 2012 Hi there, I was wontering if anyone can help me with this, i get this error everythime i try to write out a file using php. I canged the folder permissin to chmod 777 but i get the same error? Warning: fopen(products.csv) [function.fopen]: failed to open stream: Permission denied in /home/synat/public_html/demostore/ws-user/list.php on line 351 Please Help ?? Quote Link to comment Share on other sites More sharing options...
MDCode Posted November 1, 2012 Share Posted November 1, 2012 Did you change the file permission...? Quote Link to comment Share on other sites More sharing options...
icarus9 Posted November 1, 2012 Author Share Posted November 1, 2012 Did you change the file permission...? Yes i did but it did not work. I 've also checked that the safe mode is off in php.ini I also need to mention that im using DSO as a php handler in cpanel. Quote Link to comment Share on other sites More sharing options...
Christian F. Posted November 1, 2012 Share Posted November 1, 2012 How about the permission to to the folder(s) the file is located inside? Quote Link to comment Share on other sites More sharing options...
tuckbloor Posted November 5, 2012 Share Posted November 5, 2012 Hi, I was having the same problem this morning and came across this topic, the problem for me was once i ran the php script on xampp i checked the csv file to see if it was working, so it was open, once i closed the CSV file it worked with no problems at all. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.