Forums

Upgrade to 2.6....where's wp-load.php? (2 posts)

  1. databell96
    Member
    Posted 3 years ago #

    I'm using the Automatic Upgrade plugin to upgrade a client's WP installation to the latest and it gives me errors on the wp-admin/admin.php file looking for a file called wp-load.php. Sure enough, I download admin.php and find this right near the top:

    if ( defined('ABSPATH') )
    require_once(ABSPATH . 'wp-load.php');
    else
    require_once('../wp-load.php');

    if ( get_option('db_version') != $wp_db_version ) {
    wp_redirect(admin_url('upgrade.php?_wp_http_referer=' . urlencode(stripslashes($_SERVER['REQUEST_URI']))));
    exit;
    }

    But there's no such file there called wp-load.php. Where is it?

  2. moshu
    Member
    Posted 3 years ago #

    It should be there in the WP root directory. That's why automatic upgrades suck.

Topic Closed

This topic has been closed to new replies.

About this Topic