WordPress.org

Ready to get started?Download WordPress

Forums

BackWPup Free - WordPress Backup Plugin
"failed to open stream" warnings kill the backup (safe mode?) (3 posts)

  1. 6J7rZl
    Member
    Posted 1 year ago #

    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.

    http://wordpress.org/extend/plugins/backwpup/

  2. 6J7rZl
    Member
    Posted 1 year ago #

    A little more info. My UID is 114864. I belong to the 25000 group. The directory listed in the first "warning" (wp-content/backwpup-8d5b5-logs) does exist, and the 25000 group has full permissions to that directory. The directory is empty.

    Troubleshooting a little, I created the .htaccess and index.php files (just touched them) and re-ran. Those errors went away, but the job still dies. Since the html file appears to be generated each time with a new name, I can't just create that file.

    So, perhaps the problem is that safe mode is preventing the creation of new files? Any ideas?

  3. Daniel Hüsken
    Member
    Plugin Author

    Posted 1 year ago #

    Did you have erros in the php log ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic