WordPress.org

Ready to get started?Download WordPress

Forums

BackUpWordPress
[resolved] Error 401 with wp-cron.php (7 posts)

  1. rrousset
    Member
    Posted 3 years ago #

    Hi,

    i've just installed backupwordpress plugin on Windows 2008 R2 server.

    When i try to make a backup, I get the following error : "BackUpWordPress has detected a problem. wp-cron.php is returning a 401 response which could mean cron jobs aren't getting fired properly. BackUpWordPress relies on wp-cron to run back ups in a separate process."

    Thanks,

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

  2. Buzzard01
    Member
    Posted 3 years ago #

    I had a similar error, due to the fact that my installation was in a protected directory.
    To solve this error, make sure that wp-cron.php is accesable, so exclude this file from being protected.

  3. Matthew Haines-Young
    Human Made
    Plugin Author

    Posted 3 years ago #

    Thanks Buzzard01

    I have not done much work on this part of the plugin - but let me know how you get on with Buzzard01's advice.

    If wp-cron.php is not working properly, you may also be having other problems too - For example WordPress uses cron to schedule updates etc

  4. rrousset
    Member
    Posted 3 years ago #

    Thanks Buzzard01.
    I'm not a expert on Windows 2008 R2 server. I try to set all the permission "Full control" to IIS_IUSRS and modify the .htaccess of the directory c:\inetpub\wwwroot\wp-content\backups with "allow from all" ...I also set the permission "Full control" for the file "wp-cron.php" but i always have the same error... Do you have more precisions about the configurations of permissions Buzzard01 ?

    Could there be a problem with / and \ on Windows env ? I set this on the wp-config.php : define('HMBKP', 'c:\inetpub\wwwroot\wp-content\backups'); but i see this on the back-office c:/inetpub/wwwroot/wp-content/backups

    Thanks,

  5. anibalrojas
    Member
    Posted 3 years ago #

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

    My blog is running in Linux and it worked until a few weeks ago. Could a plugin be the problem?

  6. Tom Willmot
    Human Made
    Plugin Author

    Posted 3 years ago #

    What do you see if you try to visit /wp-cron.php on your site?

    Is your site behind a htpasswd login?

    What domain are you having issues with?

    If you don't want to post this publicly you can email the details to support@humanmade.co.uk.

  7. anibalrojas
    Member
    Posted 3 years ago #

    Thanks a lot Tom, you nailed it. Access to the setup is restricted by http authentication while it is under development.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic