• Resolved fcf-inferno

    (@fcf-inferno)


    I looked at “Installing WordPress into a different directory” (after screwing up the first install, deleting, and starting all over). The Error I’m getting is:

    Warning: require(.wordpress/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/teammac1/public_html/forza/index.php on line 4

    Warning: require(.wordpress/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/teammac1/public_html/forza/index.php on line 4

    Fatal Error: Yadda yadda.

    While searching and reading, I came across a post by Moshu indicating that you shouldn’t MOVE .htaccess and index.php, but copy them. I think that means they should be in both the root directory:

    root.com/

    AND in the install directory

    root/wordpress/

    To attempt to fix this I downloaded index.php and .htaccess to my desktop, and reuploaded them to the WordPress directory. Now they are in both.

    My index.php reads

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('.wordpress/wp-blog-header.php');
    ?>

    The admin panel works fine when I type in /wordpress/wp-admin, but when I try to see the blog (view post or typing sitename/index.php) I get the error.

    I don’t know if this is worth mentioning, but I have both an index.html and index.php(the blog) file in my root directory. When I attempt to preview index.php, I rename the html file so they don’t conflict in my browser.

    I’d like to avoid a reinstall if at all possible, since I have my forum bridged to my WordPress install. That’s why I chose WordPress, is because I wanted to integrate the main site into the forums and it seems like the most flexible way. When WordPress is up and running, I will repost all the pages inside WP and delete the html files.

    Thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: require(.wordpress/wp-blog-header.php) Problem. I know you are tired.’ is closed to new replies.