• Resolved CNHub

    (@cnhub)


    After installing the latest version of WordPress I get the following error messages:

    Downloading update from https://wordpress.org/wordpress-3.7-no-content.zip…

    Unpacking the update…

    Verifying the unpacked files…

    Preparing to install the latest version…

    Warning: md5_file(/home1/cnewshub/public_html/wp-cron.php) [function.md5-file]: failed to open stream: Permission denied in /home1/cnewshub/public_html/wp-admin/includes/update-core.php on line 709

    Warning: Missing argument 3 for wpseo_upgrader_process_complete() in /home1/cnewshub/public_html/wp-content/plugins/wordpress-seo/inc/wpseo-non-ajax-functions.php on line 259

    The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-cron.php

    Installation Failed

    Now when I click to open a post, I get this message:

    Fatal error: Class ‘WP_Date_Query’ not found in /home1/cnewshub/public_html/wp-includes/query.php on line 2303

    And this one when I try to log into the site:

    Fatal error: Cannot redeclare check_password_reset_key() (previously declared in /home1/cnewshub/public_html/wp-login.php:281) in /home1/cnewshub/public_html/wp-includes/user.php on line 1642

    Whilst logged in I received the following error message when accessing the updates page:

    Parse error: syntax error, unexpected ‘}’ in /home1/cnewshub/public_html/wp-admin/update-core.php on line 1003

    I can now no longer access the dashboard or log into the site at all. I have disabled the plugins via FTP, but that has not resolved any of the issues.

    Any ideas or suggests on what to do are most appreciated!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • have you checked for any errors in your web server’s error log? They might help by indicating where the problem is.

    This seems a lot like a permission problem, have you done any other change lately? May be you can try to reset the permissions of your whole WordPress site folder?

    If you have a recent backup, you could probably restore it and then try to update again. This would rule out the possibility that the upgrade itself has something to do with it.

    Thread Starter CNHub

    (@cnhub)

    This appears repeatedly in the error log:

    Insufficient permissions: /home1/cnewshub/public_html/wp-cron.php

    I haven’t changed anything lately.

    How do you reset the permissions for the site?

    I believe we do have a recent back-up of the site. I’ve never restored from a backup before though.

    Thread Starter CNHub

    (@cnhub)

    Thank you for the link. Have tried everything it suggested but it caused an internal server error.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What are the permissions you set on wp-cron.php?

    Thread Starter CNHub

    (@cnhub)

    /public_html/wp-cron.php is set to 0-0-0

    /public_html/wp-includes/cron.php is set to 6-4-4

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    There’s your problem, then. /public_html/wp-cron.php should be 644

    Thread Starter CNHub

    (@cnhub)

    If I set it to 644 I get a 500 Internal Server error.

    I am having a similar problem updating http://www.stc-wi.org to 3.7.1. Here’s my update results:

    Downloading update from https://wordpress.org/wordpress-3.7.1-no-content.zip…

    Unpacking the update…

    Verifying the unpacked files…

    Preparing to install the latest version…

    The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-trackback.php

    Installation Failed

    As with CNHub (though a different referenced file), wp-trackback.php had 0-0-0 permissions. At first, I couldn’t change the permissions on my host, but tech support updated CPanel and changed the permission on this file to 644. Still no update. I can still access the dashboard, etc.

    I had no trouble updating http://www.michaelmccallister.com from 3.70 to 3.7.1. Could there be a theme/plugin issue?

    Any advice appreciated. My support ticket at Lunarpages is still open too, if I need to get more info there.

    @mike McCallister, aka workingwriter: As per the Forum Welcome, please post your own topic.

    Oops, sorry!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal Error and WordPress 3.7 Installation Fail.’ is closed to new replies.