• Dear Sir,

    I manually upgrade from WP3.1 to WP3.1.4. Then I inputed in the URL on the browser but found the following error messages:

    Warning: require() [function.require]: Unable to access /home/utraveln/public_html/travel/wp-includes/load.php in /home/utraveln/public_html/travel/wp-settings.php on line 19

    Warning: require(/home/utraveln/public_html/travel/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home/utraveln/public_html/travel/wp-settings.php on line 19

    Warning: require() [function.require]: Unable to access /home/utraveln/public_html/travel/wp-includes/load.php in /home/utraveln/public_html/travel/wp-settings.php on line 19

    Warning: require(/home/utraveln/public_html/travel/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home/utraveln/public_html/travel/wp-settings.php on line 19

    Fatal error: require() [function.require]: Failed opening required ‘/home/utraveln/public_html/travel/wp-includes/load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/utraveln/public_html/travel/wp-settings.php on line 19

    My WP was installed on the folder named travel

    Please help me out. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Dion Hulse

    (@dd32)

    Meta Developer

    Those error messages seem to read that WordPress is unable to read the files.
    My first suggestion is to upload hte files again, see if that fixes it.

    If not, you can try “chmod”ing the file permissions to 644 (for files) and 755 (for directories), depending on your FTP client, the instructions on how to do that vary..

    Thread Starter moonjw

    (@moonjw)

    You are right. There are some files missing during upload. It is now fixed. Many thanks.

    However, there are another problem after logon the WP admin panel.
    I can only see the Dashboard and the profile. No other feature and menu (e.g. Settings, Tools, Users, Plugins, Appearance, etc.) is available.
    I cannot do anything with WP.

    Would you please advise how to get these functions again?

    are you logging in as admin or user as seems as if you are logged in as user

    Thread Starter moonjw

    (@moonjw)

    Hi, thank you for your comment.

    It really seems to be logged on an user account.

    However, I have only one account – the admin account which was set up
    in the different name when I installed WP.

    How can I make the WP to know my account is a system account so that I can use the different functions to control WP? Or can I set another system account?

    What’s wrong?

    Moderator Dion Hulse

    (@dd32)

    Meta Developer

    This sounds like your user role has been corrupted somehow, Are you running any permission-changing plugins?

    I can’t possibly think how that would happen myself, other than a corrupt user meta table, but that would also be pushing it.

    I’ve seen something similar before however, My solution was to put something like this into the themes functions.php file:

    // Please only use this on a single-site installation, never on a multi-user installation
    add_action('init', 'make_me_admin_again');
    function make_me_admin_again() {
    	if ( ! is_user_logged_in() )
    		return;
    	$user = wp_get_current_user();
    	$user->set_role('administrator');
    	die( implode(',', $user->roles) );
    }

    If you’re logged in as any user, it’ll make it a admin user, it’ll then just display the user role of the current user (hopefully ‘administrator’) and prevent WordPress loading any further, once you’ve tried to access the site like that once, remove the code from your themes functions.php file, and try to access the site again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Manual Upgrade to WP3.1.4 but erros’ is closed to new replies.