Scarby Posted April 15, 2008 Share Posted April 15, 2008 hi i am currently getting the error: Warning: DOMDocument::save(projects.xml) [function.DOMDocument-save]: failed to open stream: Permission denied in /home/scarby/public_html/XML/process.php on line 63 however the snippet of code has not changed in some time and has now randomly broken. Any input would be much appreciated Scarby Quote Link to comment Share on other sites More sharing options...
benphp Posted April 15, 2008 Share Posted April 15, 2008 The operative phrase in the error is "Permission denied". I'd check your web server permissions for that folder/file. Quote Link to comment Share on other sites More sharing options...
craygo Posted April 15, 2008 Share Posted April 15, 2008 check the permissions on the XML folder and make sure it is at least chmod 775. Ray Quote Link to comment Share on other sites More sharing options...
Scarby Posted April 15, 2008 Author Share Posted April 15, 2008 thanks though strangely enough 775 didn't work had to set 777 in order to be able to write to the file, is this potentially insecure? 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.