Hi,
I originally had this warning message on my site:
# warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 4523 is not allowed to access /tmp owned by uid 0 in /home/innerw12/public_html/includes/file.inc on line 190.
# warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 4523 is not allowed to access /tmp owned by uid 0 in /home/innerw12/public_html/includes/file.inc on line 772.
I searched the forums looking for a solution and after calling up the hosting provider and having no luck with them, i tried deleting the includes folder and creating it myself, and then re-uploading the files into it. This then caused the website to be inaccessible and whenever I try and load a page i get the errors:
Warning: require_once() [function.require-once]: Unable to access ./includes/file.inc in /home/innerw12/public_html/includes/common.inc on line 2603
Warning: require_once(./includes/file.inc) [function.require-once]: failed to open stream: No such file or directory in /home/innerw12/public_html/includes/common.inc on line 2603
Fatal error: require_once() [function.require]: Failed opening required './includes/file.inc' (include_path='.:/usr/lib/php') in /home/innerw12/public_html/includes/common.inc on line 2603
I don't understand why this would happen, nothings changed - the directory was deleted for about a minute before everything was reuploaded, all the files copied across exactly as they were so why is it now having trouble finding 'file.inc'? I've double-checked that it's there, can anyone shed some light on this?
THanks