Forums

Fresh 2.5.1 in root directory has problems (3 posts)

  1. underarock
    Member
    Posted 3 years ago #

    Initially when I installed a new fresh version of wordpress with a new database I was getting a header error on line four, which is kinda common from looking around the forums. But its common for people installing into a sub directory, I am installing this into the root. Anyways I figure its a .htaccess problem i need to fix.

    This is the error I get

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\hosting\webhost4life\member\underarock\index.php on line 4

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\hosting\webhost4life\member\underarock\index.php on line 4

    Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.;C:\php5\pear') in C:\hosting\webhost4life\member\underarock\index.php on line 4
    check it out

    How do I fix this?

    conorcollins.com

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Looks like you solved the problem.

  3. Boris Mahovac
    Member
    Posted 3 years ago #

    I just had the same problem, but I fixed it:

    Edit your index.php in the root directory
    and change the line ./wp-blog-header.php
    to
    name-of-your-wordpress-folder/wp-blog-header.php

    I hope it works for you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.