• Hi everyone,

    This is my first ever post and my last option to ask you for help. So far I’ve always been able to find an answer to all of my problems but unfortunately not this time! I’ve read every article about this and tried out every suggestion.

    I’ve been trying to upgrade from version WP 3.4.1 to 3.9.1 since last week and it always failed, so I decided to manually install it by replacing/deleting everything apart from wp-content and wp-config.php (this is for a blog for work, that’s why it doesn’t get updated often). I’ve done this many times before but for this blog I got a “White Screen of Death” and by adding 2 lines of code I get these following error messages:

    Warning: require(D:\inetpub\websites\BLOG\PRESS_COM/wp-includes/load.php): failed to open stream: No such file or directory in D:\inetpub\websites\BLOG\PRESS_COM\wp-settings.php on line 21

    Fatal error: require(): Failed opening required ‘D:\inetpub\websites\BLOG\PRESS_COM/wp-includes/load.php’ (include_path=’.;C:\php\pear’) in D:\inetpub\websites\BLOG\PRESS_COM\wp-settings.php on line 21

    It happened the first time and I successfully restored it to the old version from my backup. I gave it another go and now not even the backup has helped.

    What I’ve noticed from the directory is the root has backward slash ‘\’ and folders within the root has forward slash ‘/’. Could this be a problem finding load.php?

    Secondly, what does (include_path=’.;C:\php\pear’) mean?

    What I’ve tried:
    – delete all folders/files (except wp-content & wp-config.php) and added a fresh copy of 3.9.1 (also tried 3.4.2, 3.6.1, 3.8.1)
    – renamed plugins folder, removed all plugins
    – renamed themes folder, removed custom themes
    – asked IT guys at work

    Thanks in advanced for your help & I’m very sorry for the long post.
    Melyssa

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Blank white page is a PHP error. Reasons you’d get that error are: 1) Bad theme 2) Bad plugin 3) Bad install/upgrade (4) you exhausted the memory limit (5) It could also mean that there is an issue with your web hosting server. Since the problem can be caused by any number of things, it may require a lot of troubleshooting.

    also tried 3.4.2, 3.6.1, 3.8.1

    DB versions changed as follows:
    3.4.1 DB version => 21115
    3.4.2 DB version => 21707
    3.5 DB version => 22441
    3.5.2 DB version => 22442
    3.6 DB version => 24448
    3.7 DB version => 25824
    3.8 DB version => 26691
    3.9 DB version => 27916

    AS evodent, the DB structure has changed many times since 3.4.1

    You may try updating in that incremental sequence

    Thread Starter Melyssa

    (@lelyssa)

    Many thanks for your reply Tara!

    I followed your advice and updated by the list but nothing’s changed. I still get the same error message as above.

    I’m not even interested in updating any more and just want to revert back to the version where the blog was working.

    I’ve also tried to increase the memory limit:
    define('WP_MEMORY_LIMIT', '96M');

    If I delete everything from my FTP and do a full clean install without any themes, plugins etc. will I be able to connect to the database again without losing posts? I will of course back up the wp-content/uploads folder and manually add plugins with settings.

    The error message states that it cannot find load.php but it’s there. I don’t know what else I can do just to restore it as I’m giving up!

    Thanks again for your time.

    Moderator t-p

    (@t-p)

    updated by the list but nothing’s changed.

    Since there is no issue with the WP core, it seems like a server specific issue.
    Make sure all files and folders are in right place.

    If I delete everything from my FTP and do a full clean install without any themes, plugins etc. will I be able to connect to the database again without losing posts?

    There are numeroud thresds about this topic. Try reviewing them and see if you cand a fix.

    If you decide to have a full clean install, make sure you have a good DB backup, otherwise you may end up losing everything.

    Also, the DB structure of the backed DB must be compatible with the DB structure of the new install. As I pointed out in my previous reply, The database ( DB ) structure often changes between versions.

    When you do a clean install, have you tried adding back your content section by section or are you uploading everything at once?

    Maybe working forward first with adding a vanilla version of your theme then adding back file by file will help you spot which file contains the offending php. If you don’t get past installing a vanilla theme then I would say there’s an underlying issue with the database. Might be worth asking your host to do a complete wipe first.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: failed to open stream: No such file or directory in wp-settings.php’ is closed to new replies.