waynew Posted June 26, 2008 Share Posted June 26, 2008 Another God damn error. This time, a file writing one. It worked fine on my apache localhost, but as soon as I threw it up online, I started getting these errors: Warning: fopen(26 Jun u101252 _tender_letters.doc) [function.fopen]: failed to open stream: Permission denied in generateletters.php on line 75 Warning: fwrite(): supplied argument is not a valid stream resource in generateletters.php on line 159 Anyone have any idea? Link to comment https://forums.phpfreaks.com/topic/112005-solved-oh-lawd/ Share on other sites More sharing options...
c_shelswell Posted June 26, 2008 Share Posted June 26, 2008 I'm guessing you don't have read/write privileges on the folder you're trying to write too? In your ftp client set the rights to 777 Link to comment https://forums.phpfreaks.com/topic/112005-solved-oh-lawd/#findComment-574913 Share on other sites More sharing options...
waynew Posted June 26, 2008 Author Share Posted June 26, 2008 Thank you so much. I was setting the actual files to 777. Doh Link to comment https://forums.phpfreaks.com/topic/112005-solved-oh-lawd/#findComment-574920 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.