WordPress.org

Ready to get started?Download WordPress

Forums

Help! (3 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    I was working with a few things and i've messed up my Blog. The URL is http://www.wkirby.com . If you load my blog up in the WP folder, URL: http://www.wkirby.com/wordpress/index.php, it works, but at the regular domain it doesn't? I get the following error message when I try to load it,
    "Warning: main(./wp-blog-header.php): failed to open stream: No such file or directory in /home/.coonblender/orristur/wkirby.com/index.php on line 3
    Fatal error: main(): Failed opening required './wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /home/.coonblender/orristur/wkirby.com/index.php on line 3"
    Any ideas?
    -Will

  2. Anonymous
    Unregistered
    Posted 9 years ago #

    Okay,
    I fixed it by finding an old copy of the index.php file, but what causes errors like this?
    -Will

  3. CypherXero
    Member
    Posted 9 years ago #

    You probably had something wrong in your PHP header in the index file. Like this:
    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>

    Anything inside of there, if WordPress can't find it, your blog won't load. Like, sometimes if you install a new plugin, you'll have to add code there. And if you delete that file that it's referencing, your blog won't load.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.