"failed to open stream" warnings kill the backup (safe mode?)
-
Yesterday, I installed wordpress on a site and installed BackWPup. I created a monthly backup to the root folder of a dropbox account. When I manually run the job, I get the following “warnings”:
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid/gid is 114864/114864 is not allowed to access /f2/melanielacykusters/public/wp-content/backwpup-8d5b5-logs owned by uid/gid 25000/25000 in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 108
Warning: file_put_contents(/f2/melanielacykusters/public/wp-content/backwpup-8d5b5-logs/.htaccess) [function.file-put-contents]: failed to open stream: No such file or directory in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 108
Warning: file_put_contents() [function.file-put-contents]: SAFE MODE Restriction in effect. The script whose uid/gid is 114864/114864 is not allowed to access /f2/melanielacykusters/public/wp-content/backwpup-8d5b5-logs owned by uid/gid 25000/25000 in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 110
Warning: file_put_contents(/f2/melanielacykusters/public/wp-content/backwpup-8d5b5-logs/index.php) [function.file-put-contents]: failed to open stream: No such file or directory in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 110
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid/gid is 114864/114864 is not allowed to access /f2/melanielacykusters/public/wp-content/backwpup-8d5b5-logs owned by uid/gid 25000/25000 in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 119
Warning: fopen(/f2/melanielacykusters/public/wp-content/backwpup-8d5b5-logs/backwpup_log_2012-12-21_09-19-32.html) [function.fopen]: failed to open stream: No such file or directory in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 119
Warning: fwrite(): supplied argument is not a valid stream resource in /f2/melanielacykusters/public/wp-content/plugins/backwpup/job/job_start.php on line 121
This is then followed by a ton of similar fwrite “warnings”. The job never runs. No log is generated. The “warnings” are actually fatal errors.
How can I resolve the errors? They seem to be either a problem with PHP running in safe mode (which is out of my control) or with permissions (which is in my control).
Any help would be greatly appreciated. I’ve spent hours trying to implement an automatic backup system, still without success.
- The topic ‘"failed to open stream" warnings kill the backup (safe mode?)’ is closed to new replies.