• I am having a common WP install error, but I cannot find any fix via searches. Maybe someone can help me out.

    Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\HostingSpaces\dneisler\donald-neisler.com\wwwroot\index.php on line 17

    Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;c:\php\includes’) in C:\HostingSpaces\dneisler\donald-neisler.com\wwwroot\index.php on line 17

    URL to blog is here. Installed in Root Directory
    http://donald-neisler.com.cluster3.reliabledomainspace.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I ran into the same problem getting WP 2.6 up and running at ReliableHost. The issue is related to a bug in how IIS7 handles PHP relative paths.

    Once you’ve successfully installed WP, change the following in /index.php:

    change:

    require(‘./wp-blog-header.php’);

    to:

    require(‘wp-blog-header.php’);

    Upload your changes and you should be able to successfully browse both public-facing and admin sections of the site now.

    -k

    ||| Kristopher Cargile
    ||| http://www.bettersoftwarenow.com

    Thanks – I had the same issue installing WP on IIS7 and this did the trick!

    Make sure you double check the other core WP files — I found that there are several that use this syntax that will need to be adjusted.

    -k

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

The topic ‘New Install Error’ is closed to new replies.