WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Arp_Hiemstra
    Member
    Posted 1 year ago #

    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

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. Arp_Hiemstra
    Member
    Posted 1 year ago #

    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.

  4. Chris Lentz
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.