WordPress.org

Ready to get started?Download WordPress

Forums

BackUpWordPress
[resolved] installation error 406 response (7 posts)

  1. breathem
    Member
    Posted 2 years ago #

    Hello,

    I just installed BackUpWordPress and got the following error msg:

    BackUpWordPress has detected a problem. wp-cron.php is returning a 406 response which could mean cron jobs aren't getting fired properly. BackUpWordPress relies on wp-cron to run back ups in a separate process.

    Help!

    Thanks,

    Bridget

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

  2. yigaler
    Member
    Posted 2 years ago #

    I got the same error right now, after installing BackUpWordPress.

    Can someone advise, regarding this error ?

    Thanks

  3. Tom Willmot
    Human Made
    Plugin Author

    Posted 2 years ago #

    The issue is that your wp-cron.php is not returning a 200 response when hit with a http request originating from your own server, it could be several things, all of which are out of my control.

    Some things I would test are.

    1. Are scheduled posts working? (They use wp-cron too).
    2. Are you hosted on Heart Internet? (wp-cron is known not to work with heart internet).
    3. If you click manual backup does it work?
    4. Try adding define( 'HMBKP_DISABLE_MANUAL_BACKUP_CRON', true ); to your wp-config.php, does your manual backup work then?
    5. Try adding define( 'ALTERNATE_WP_CRON', true ); to you wp-config.php, do backups (manual and automatic) work?
    6. Is your site private (I.E is it behind some kind of authentication, maintenance plugin, .htaccess) if so wp-cron won't work until you remove it, if you are and you temporarily remove the authentication, do backups start working?

  4. jumpinsteph
    Member
    Posted 2 years ago #

    Hi,

    I have the same error.
    "BackUpWordPress has detected a problem. wp-cron.php is returning a 406 response which could mean cron jobs aren't getting fired properly. BackUpWordPress relies on wp-cron to run scheduled back ups."

    I tested all the things you said.

    The manual back-ups are working when I click it.
    I got the email with the zipped file.

    I try to add "define( 'ALTERNATE_WP_CRON', true );" to my wp-config.php, the manual back up still working but not the automatic one.

    I have the Version 1.6.5 of the plugin and WordPress 3.3.1
    Is there something else I can try ?
    Thank you
    Steph

  5. jumpinsteph
    Member
    Posted 2 years ago #

    Hi,

    It works now.
    I add these lines on my .htaccess :

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

  6. Tom Willmot
    Human Made
    Plugin Author

    Posted 2 years ago #

    Thanks for reporting back with your fix, any idea why you had to do that?

    I'll add it to the FAQ

  7. jumpinsteph
    Member
    Posted 2 years ago #

    Sorry for my late answer...

    I don't really have an idea, I've made a search in the support and found this : http://wordpress.org/support/topic/wp-cronphp-error-406?replies=2

    I tried, and it is working perfectly. Maybe it's because of the host and some security stuff. It's better so to add an .htaccess and .htpasswd to /wp-admin/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic