WordPress.org

Support

Support » Installation » [Resolved] Warning: require(./wp-blog-header.php) [function.require]: failed to open stream

[Resolved] Warning: require(./wp-blog-header.php) [function.require]: failed to open stream

  • I have tried installing WordPress a couple of times now but keep getting the same error:

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\domains\arp-hiemstra.nl\wwwroot\index.php on line 17

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\domains\arp-hiemstra.nl\wwwroot\index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;/PHP5/pear’) in C:\domains\arp-hiemstra.nl\wwwroot\index.php on line 17

    Running on Windows, PHP5.2.17.

    If I remove the ./ from the require(‘./wp-blog-header.php’); from the index.php file it is working.

    I cannot imagine that I have to edit all occurrences of this, what is causing this, some server setting?

    Thanks,

    Arp

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    Try re-uploading all files & folders from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. You are missing files.

    Thanks for the update esmi. This topic can be closed.

    The problem was with the webhosting company something to do with rights on underlying files, resolved now.

    Thanks.

    I have a similar problem, I think, and I just tried to uninstall wp from my hostgator account. This is the message I received:

    Error: The following files already exist:
    /home/clentz/public_html/wp-content/cache/meta
    /home/clentz/public_html/wp-content/cache/supercache

    Do you know how I can take care of those?

    Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Warning: require(./wp-blog-header.php) [function.require]: failed to open stream’ is closed to new replies.