WordPress.org

Ready to get started?Download WordPress

Forums

Upgrading WordPress to 2.5.1 gives error page on access (10 posts)

  1. infosource
    Member
    Posted 5 years ago #

    I have upgraded from 2.3.3 to 2.5.1 and get the following error message.

    Warning: require(/home/hillsplr/public_html/hillslearn4profit.com/wp-includes/compat.php) [function.require]: failed to open stream: No such file or directory in /home/hillsplr/public_html/hillslearn4profit.com/wp-settings.php on line 117

    Fatal error: require() [function.require]: Failed opening required '/home/hillsplr/public_html/hillslearn4profit.com/wp-includes/compat.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hillsplr/public_html/hillslearn4profit.com/wp-settings.php on line 117

    I reverted to 2.3.3 and still get the same message.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    You failed to upload all the files.

    Specifically, the wp-includes/compat.php file is missing or otherwise unreadable.

    1. Upload ALL the files.
    2. Don't revert at the first sign of trouble. Solve the problem in front of you instead.
    3. Check the file permissions, make sure they're all readable.

  3. infosource
    Member
    Posted 5 years ago #

    I checked the files, and they were all uploaded.

    I checked the permissions on wp-includes/wp-config.php and wp-compat.php amd both were readable.

    Checked the wp-settings file in root directory, and this is what is found in the file.

    from Line 114-119

    function timer_start() { Line 114
    global $timestart; Line 115
    $mtime = explode(' ', microtime() ); Line 116
    $mtime = $mtime[1] + $mtime[0]; Line 117
    $timestart = $mtime; Line 118
    return true; Line 119

    There seems to be no connection between the message and the file.

  4. whooami
    Member
    Posted 5 years ago #

    do you have an .htaccess in the same directory as your wp-config.php?

    If so, delete it.

    THIS:

    http://www.hillslearn4profit.com/.htaccess

    is completely irregular behavior.

    edit: well not totally irregular, since you pro'lly dont have an .htaccess and thats WP handling your 404. But still..

  5. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    There seems to be no connection between the message and the file.

    The connection is simple: You did not upgrade the files.

    Look at line 117 of WordPress version 2.3.3:
    http://trac.wordpress.org/browser/tags/2.3.3/wp-settings.php

    See the connection? It's running an older version of WordPress... at least, partially anyway.

    Like I told you before: You failed to upload all the files.

    Maybe you uploaded them to the wrong place, or maybe your host actually hosts your files elsewhere, or something like that. But whatever the underlying issue is, the result is an incomplete upgrade.

  6. infosource
    Member
    Posted 5 years ago #

    I made sure I had uploaded all the files by re-loading 2.5.1, and checked to make sure all the files were present.

    Still get the same result.

    Any advice would be appreciated.

  7. rhbee1
    Member
    Posted 5 years ago #

    Any one else scared as hell to try another one of these upgrades? They all keep failing and apparently it's our fault because somehow we are pressuring the programers to finish early. I'm not kidding. I've reached a point where I don't believe the program will work right no matter what. I switched from .com to .org to self host a blog and because I believed it was a step up in the process that garunteed a professional approach. So far that ain't true. My blog has a glitch or a bug which I have reported several times and tried to find answers to on this forum. No one from support has answered my questions and everyone in the forum seems to have the same problems, it is not working the way it is supposed to. I want to blog not program.

  8. whooami
    Member
    Posted 5 years ago #

    My blog has a glitch or a bug which I have reported several times and tried to find answers to on this forum. No one from support has answered my questions and everyone in the forum seems to have the same problems, it is not working the way it is supposed to. I want to blog not program.

    so now that you have ranted, why not start your own thread and explain the glitch.

    Your profile indicates you last posted a week ago, and that you got a response.

  9. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    infosource, delete folders wp-admin and wp-includes then re-upload. sometimes, they look as though they've been updated but the old version files were not overwritten. good luck.

  10. infosource
    Member
    Posted 5 years ago #

    mercime,

    I tried your solution, but got the same response.

Topic Closed

This topic has been closed to new replies.

About this Topic