• Resolved peppinl

    (@peppinl)


    Hi,

    I updated a couple of sites to 3.2 successfully so then decided to do my main site https://gardeningregisterblog.co.uk/. I was unable to upgrade automatically so in the end I followed the instructions for a manual upgrade.

    I can get into my admin screen OK but the follow error is appearing on my home page:

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in D:\virtualservers\gardenin\gardeningregisterblog.co.uk\wwwroot\index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;C:\php5\pear’) in D:\virtualservers\gardenin\gardeningregisterblog.co.uk\wwwroot\index.php on line 17

    I have read a few topics and tried some troubleshooting methods suggested but without success, can anyone help?

Viewing 15 replies - 1 through 15 (of 30 total)
  • Thread Starter peppinl

    (@peppinl)

    Sorry, should have said that all plugins are currently disabled and I have actually delete auto upgrade as it was causing other errors.

    I use theme Revolution Lifestyle 2.0 and tried switching to Twenty Ten to test but it made no difference.

    Is WordPress running the entire site? If so, did you remember to upload the files in the root folder?

    Thread Starter peppinl

    (@peppinl)

    Also, I have double checked and the wp-blog-header.php file is in the root directory.

    Thread Starter peppinl

    (@peppinl)

    Yes it all WordPress and I did upload the new files in the root folder. I even uploaded the wp-blog-header.php file again.

    What’s in the root index.php file?

    Thread Starter peppinl

    (@peppinl)

    Here’s what’s in the root index.php file

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);
    ?>

    Are you uploading all files & folders from a fresh download of WordPress?

    Thread Starter peppinl

    (@peppinl)

    I followed the manual update instructions so deleted wp-includes and wp-admin and replaced them then uploaded the files from the new wp-content into my old folder to overwrite but did not delete. The I uploaded loose files from the root. Is this correct?

    It sounds correct but you definitely seem to have missing files.

    Thread Starter peppinl

    (@peppinl)

    Which files do you think? Should I just upload everything again?

    Start by re-uploading all files in the root WP folder.

    Thread Starter peppinl

    (@peppinl)

    Ok, done that and checked that they are all there. No luck.

    With the greatest of respect, are you absolutely sure that you are uploading these files to the right site?

    Thread Starter peppinl

    (@peppinl)

    Don’t worry I’ve check that myself a couple of times, thought I was going mad! Anyway checked again and it’s definitely the right site and I double checked the names and sizes and they match.

    What urls are listed in Settings -> General? Can you reset your permalinks to the default setting and delete the .htaccess file in the root? Also rename wp-content/plugins to wp-content/plugins-hold and rename the folder of your current theme in wp-content/themes.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Error after upgrade to 3.2’ is closed to new replies.