WordPress.org

Ready to get started?Download WordPress

Forums

Online Backup for WordPress
No automatic backup, Manual error: The backup failed to initia (12 posts)

  1. meriadok
    Member
    Posted 2 years ago #

    Hi,

    I've been using OBfW version 1.09 succesfully on one WP website for a awhile. I recently installed OBfW version 2.02 on a new WP website (and upgraded the 1.09 version to 2.02).

    Now automatic backups do not work.
    Manual backup gives this error message:

    The backup failed to initialise: 2048: Declaration of Walker_Category_Checklist::end_el() should be compatible with that of Walker::end_el().

    Furthermore in General Settings I noticed this:

    Worpress not in the root (after the checkbox):
    Backup the parent directory as well as the WordPress directory: Failed to determine the path: 2048: is_a(): Deprecated. Please use the instanceof operator

    Don't know if this has got anything to do with the above, but I thought I'd mention it.

    Both websites use WP version 3.2.1. and reside on the same server by the way.

    Hope you can help. Thanks!

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

  2. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi meriadok,

    Looks like you have some other plugins that are not compatible with your version of WordPress and are causing problems with our plugin.

    Can you go to the Activity Log, and click View Events, and past the full log for the activity? It might tell us which plugin it is.

    The second option is to disable all other plugins and try a backup.

    Jason.

  3. meriadok
    Member
    Posted 2 years ago #

    Hi Jason,

    This is the full log:

    26th sep 2011 2.06.07 PM Error The backup failed to initialise: 2048: Declaration of Walker_Category_Checklist::end_el() should be compatible with that of Walker::end_el().
    26th sep 2011 2.06.06 PM Information Backup starting...

    I tried the manual backup three times, the logs are all the same. I don't think this is going to be of much help.

    Version 1.09 was working fine with all the other plugins. After upgrading I started receiving the error message.

    I also tried disabling all the other plugins and starting a manual backup. Now I get this error:

    The backup failed to initialise: 2: fopen(/var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/wp-content/plugins/wponlinebackup/tmp/backup.data.php) [function.fopen]: failed to open stream: No such file or directory.

    The Log reads:

    3rd okt 2011 11.11.12 AM Error The backup failed to initialise: 2: fopen(/var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/wp-content/plugins/wponlinebackup/tmp/backup.data.php) [function.fopen]: failed to open stream: No such file or directory.
    3rd okt 2011 11.11.10 AM Information Backup starting...

    Any ideas? :)

    Thanks again.

  4. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi meriadok,

    Looks like your host is extra restrictive.

    Logon into your site via FTP and browse to httpdocs/wp-content/plugins/wponlinebackup and create a folder there called "tmp".

    You may also need to change the permissions of that folder to 770.
    Failing that, you'll need to use 777 to get it to work.
    777 is pretty unsecure though but if your host requires that, they have an extremely bad server configuration.

    Regards,

    Jason.

  5. meriadok
    Member
    Posted 2 years ago #

    Hi Jason,

    I tried what you suggested.. but still no go :(

    Situation 1: Other plugins ENabled, tmp -> 770

    3rd okt 2011 12.53.00 PM Error The backup failed to initialise: 2048: Declaration of Walker_Category_Checklist::end_el() should be compatible with that of Walker::end_el().
    3rd okt 2011 12.52.57 PM Information Backup starting...

    Situation 2: Other plugins ENabled, tmp -> 777

    3rd okt 2011 12.53.53 PM Error The backup failed: A filesystem operation failed. Please consult the event log for more information.
    3rd okt 2011 12.53.53 PM Error A filesystem operation failed.
    If the following error message is not clear as to the problem and the issue persists, please contact support providing the complete event log for the activity. Error information follows:
    Location: 295:/var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/wp-content/plugins/wponlinebackup/include/tables.php
    Message: 2048: Non-static method WPOnlineBackup_Functions::GF2_Matrix_Times() should not be called statically, assuming $this from incompatible context
    3rd okt 2011 12.53.52 PM Information Initialisation completed.
    3rd okt 2011 12.53.50 PM Information Backup starting...

    Situation 3: Other plugins DISabled, tmp -> 770

    3rd okt 2011 1.05.18 PM Error The backup failed to initialise: 2: fopen(/var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/wp-content/plugins/wponlinebackup/tmp/backup.data.php) [function.fopen]: failed to open stream: Permission denied.
    3rd okt 2011 1.05.17 PM Information Backup starting...

    Situation 4: Other plugins DISabled, tmp -> 777

    3rd okt 2011 1.07.57 PM Error The backup failed: A filesystem operation failed. Please consult the event log for more information.
    3rd okt 2011 1.07.57 PM Error A filesystem operation failed.
    If the following error message is not clear as to the problem and the issue persists, please contact support providing the complete event log for the activity. Error information follows:
    Location: 295:/var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/wp-content/plugins/wponlinebackup/include/tables.php
    Message: 2: gzopen(/tmp/obfwoFHRQg) [function.gzopen]: failed to open stream: Permission denied
    3rd okt 2011 1.07.56 PM Information Initialisation completed.
    3rd okt 2011 1.07.55 PM Information Backup starting...

  6. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi meriadok,

    This one we're fixing in next version of the plugin.
    Seems your host is giving PHP a temporary directory it cannot access.

    If you go to General Settings, then in the URL change (section=settings) to (section=advanced)

    You'll find gzip_tmp_dir. Set this to:
    /var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/wp-content/plugins/wponlinebackup/tmp/

    However, login to your control panel and password protect that folder.

    Then things should start working OK.

    Jason.

  7. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi meriadok,

    When you are in section=advanced. Tick the checkbox and then change the setting.
    Without the tick it won't save.

    Jason.

  8. meriadok
    Member
    Posted 2 years ago #

    Hi Jason,

    Allright, I password-protected the tmp directory. Changed the gzip_temp_dir (had to chmod tmp to 777 though to get it to save). Started a manual backup again and got this:

    The backup failed: The server attempted to retrieve the data, but received junk from your blog. This can happen if your blog is not accessible over the internet. Otherwise, you may have a third-party plugin installed that is changing the backup data as the server tries to receive it. Please contact support if this is the case so we may improve compatibility.

    And with the following log:

    3rd okt 2011 2.23.29 PM Error The backup failed: The server attempted to retrieve the data, but received junk from your blog. This can happen if your blog is not accessible over the internet. Otherwise, you may have a third-party plugin installed that is changing the backup data as the server tries to receive it. Please contact support if this is the case so we may improve compatibility.
    3rd okt 2011 2.23.11 PM Information Deleted files processing completed.
    3rd okt 2011 2.23.11 PM Information File collection completed.
    3rd okt 2011 2.23.11 PM Error Failed to resolve the WordPress parent folder path, /var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/..: 2048: Non-static method WPOnlineBackup_Functions::Pack_Fields() should not be called statically, assuming $this from incompatible context.
    3rd okt 2011 2.23.11 PM Information Database backup completed.
    3rd okt 2011 2.23.11 PM Information Initialisation completed.
    3rd okt 2011 2.23.09 PM Information Backup starting...

    Man! When is the next version due?

    I appreciate your time and effort. But for now: take is easy, don't hurry. It's closing time here in Holland anyway :)

  9. meriadok
    Member
    Posted 2 years ago #

    Hi Jason,

    Oops :$
    Ok, I've been temporarily restricting website access based on IP-number. When I turned that restriction off, manual backup worked.. almost! Except for the backup of the file system.

    I got one error this time (I hope this will be an easy fix : ). Here's the full log:

    4th okt 2011 9.29.23 AM Information Backup complete.
    4th okt 2011 9.29.23 AM Information Retention was not required, you are still within your maximum quota.
    4th okt 2011 9.29.23 AM Information The online vault has successfully processed the backup data.
    4th okt 2011 9.29.23 AM Information Transmission of the backup data to the online vault has completed.
    4th okt 2011 9.29.05 AM Information Deleted files processing completed.
    4th okt 2011 9.29.05 AM Information File collection completed.
    4th okt 2011 9.29.05 AM Error Failed to resolve the WordPress parent folder path, /var/www/vhosts/handelsondernemingbarenkamp.nl/httpdocs/..: 2048: Non-static method WPOnlineBackup_Functions::Pack_Fields() should not be called statically, assuming $this from incompatible context.
    4th okt 2011 9.29.05 AM Information Database backup completed.
    4th okt 2011 9.29.05 AM Information Initialisation completed.
    4th okt 2011 9.29.03 AM Information Backup starting...

    Thanks again.

  10. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi meriadok,

    Looks like this is hitting a known issue with overzealous security on some shared hosting. The PHP doesn't have access to the folder above httpdocs.

    This will be resolved in the next release of the plugin. Until them I'm afraid the file backup portion for you won't work so you'll just have the database backup.

    Regards,

    Jason.

  11. meriadok
    Member
    Posted 2 years ago #

    Hi Jason,

    Yeah, I already figured this out more or less by reading some other posts. Nothing to do for me but wait for the next release I guess. Anyway thanks for your help :)

  12. Online Backup
    Member
    Plugin Author

    Posted 2 years ago #

    Hi meriadok,

    We've just finished some initial testing of our new version, 2.1.0. We've not released it yet (it is still going through some more thorough testing) but we consider it to be stable.

    You can download it here: http://wordpress.org/extend/plugins/wponlinebackup/download/
    It is listed under Other Versions as "Development Version"
    Just uninstall the plugin from your blog, then click Add New on Plugins page and then click Upload. You can then upload the Development Version you've downloaded.

    Regards,

    Jason

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic