Title: [Plugin: WordPress Move] fopen errors
Last modified: August 20, 2016

---

# [Plugin: WordPress Move] fopen errors

 *  Resolved [catnip216](https://wordpress.org/support/users/catnip216/)
 * (@catnip216)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/)
 * Any time I try to do anything with the plugin, I get the following errors, and
   nothing else happens:
 *     ```
       Warning: fopen(/***************/wp-content/plugins/wordpress-move/backup/DBBackup-13349346051.sql) [function.fopen]: failed to open stream: Permission denied in /***************/wp-content/plugins/wordpress-move/libs/functions-database-backup.php on line 71
   
       Warning: fwrite(): supplied argument is not a valid stream resource in /***************/wp-content/plugins/wordpress-move/libs/functions-database-backup.php on line 138
   
       Warning: fclose(): supplied argument is not a valid stream resource in /***************/wp-content/plugins/wordpress-move/libs/functions-database-backup.php on line 139
       ```
   
 * Seems like it’s looking for an old backup for some reason, but I haven’t created
   one yet.
 * (Edit: I just noticed that the file name changes every time I make an attempt.
   This last time it was looking for “DBBackup-13349348401.sql”)
 * [http://wordpress.org/extend/plugins/wordpress-move/](http://wordpress.org/extend/plugins/wordpress-move/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [catnip216](https://wordpress.org/support/users/catnip216/)
 * (@catnip216)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699553)
 * Also, it never asks me for my ftp password, though I’m not sure at what point
   it’s supposed to do that. Maybe it’s just not getting to that point due to the
   errors.
 *  Plugin Author [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * (@merty)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699643)
 * The `backup` directory (and its sub directories) under the `wordpress-move` directory
   needs to be writable by your web server as the warning suggests (Permission denied).
 * The main part of backup files’ names are generated using the `time()` function,
   so yes, it changes.
 * FTP Password is only needed when you use the **Migrate** option on the **Migration
   Assistant** page.
 *  Thread Starter [catnip216](https://wordpress.org/support/users/catnip216/)
 * (@catnip216)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699673)
 * Thanks 🙂
 * Changing the directory permissions didn’t seem obvious to me 1) because it appeared
   to be looking for a specific file, which did not exist and 2) because I thought
   the backup directory would be the one I specified in the settings page.
 * I changed the permissions, and the backup ran, but now I have over 2000 “backups”
   listed in the Backup Manager page. Any idea what happened?
 * Partial Screenshot: [http://www.diigo.com/item/image/2lwx9/3dko?size=o](http://www.diigo.com/item/image/2lwx9/3dko?size=o)
 *  Plugin Author [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * (@merty)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699674)
 * Navigate to **Settings** > **WordPress Move** and set the **Chunk Size** setting
   under the **File Backup Settings** section, to 20 or something like that. If 
   the problem persists, try setting it to 0, because for some strange reason, this
   particular setting work in the opposite way on some systems.
 *  Thread Starter [catnip216](https://wordpress.org/support/users/catnip216/)
 * (@catnip216)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699687)
 * I had already set it to 0 for unlimited, as I always want the backup to be a 
   single archive, but I guess that setting doesn’t work on my system.
 * I changed it to 500mb instead, as I don’t see the site ever being that large,
   and that setting seemed to work.
 * Thanks for all the help 🙂
 *  Plugin Author [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * (@merty)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699688)
 * No problem, glad you got it sorted 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: WordPress Move] fopen errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-move_be2f30.svg)
 * [WordPress Move](https://wordpress.org/plugins/wordpress-move/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-move/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-move/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-move/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-move/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-move/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Mert Yazıcıoğlu](https://wordpress.org/support/users/merty/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-wordpress-move-fopen-errors/#post-2699688)
 * Status: resolved