WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Failed to open stream? (3 posts)

  1. acroamatic
    Member
    Posted 7 years ago #

    I just tried upgrading from 2.0.4 to 2.1.2. I've completed all the steps but my blog now displays this error message:

    Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in /home/kenp1nto/public_html/index.php on line 4
    
    Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in /home/kenp1nto/public_html/index.php on line 4
    
    Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in /home/kenp1nto/public_html/index.php on line 4
    
    Fatal error: main(): Failed opening required './wp-blog-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kenp1nto/public_html/index.php on line 4

    I also cannot access the 'Write' section of the Admin. All I get is a blank page. (I can access the other Admin pages though).

    I'd appreciate any help I can get. Cheers!

  2. That message means that WP can't find the wp-blog-header.php file. It should be in the WordPress root - same folder as wp-config.php.

  3. acroamatic
    Member
    Posted 7 years ago #

    It is in the same folder. I solved the problem by copying over the old index.php file. Now I can view my blog.

    The other problem was caused because post-new.php wasn't copied over correctly (it was a 0kb file). I copied over the file again, and now I can access the Write page in the Dashboard.

    Thanks for the quick reply! =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags