Warning: failed to open stream: No such file or directory in wp-settings.php
-
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 workThanks in advanced for your help & I’m very sorry for the long post.
Melyssa
- The topic ‘Warning: failed to open stream: No such file or directory in wp-settings.php’ is closed to new replies.