Page 1 of 1

Problems establishing new folder

Posted: 26 Jul 2010, 17:09
by Vigleik
Hello, I am simply trying to establish my first folder and get the following message: What do I do wrong?

www.vigleiksexe.com

Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 555 is not allowed to access /home/vigleik/public_html/content/Motor owned by uid 99 (/imagevue/include/ivfunctions.inc.php:16)
Warning: file_put_contents(/home/vigleik/public_html/content/Motor/folderdata.xml) [function.file-put-contents]: failed to open stream: No such file or directory (/imagevue/include/ivfunctions.inc.php:16)
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid is 555 is not allowed to access /home/vigleik/public_html/content/Motor owned by uid 99 (/imagevue/include/ivfunctions.inc.php:16)
Warning: file_put_contents(/home/vigleik/public_html/content/Motor/folderdata.xml) [function.file-put-contents]: failed to open stream: No such file or directory (/imagevue/include/ivfunctions.inc.php:16)

Posted: 29 Jul 2010, 12:29
by Nick
My guess you've been creating folders using FTP client and now php can't write to them because SAFE_MODE is enabled on your server.

Try to chmod them to 777 ( read this article on chmodding https://www.photo.gallery/37 )

The best thing is to ask your hosting provider to disable safe_mode which is obsolete and will be removed from future php versions anyway as it doesn't help with security but just leads to problems accessing files instead.