• Hi.

    This is my first dabble with PHP and WordPress so go easy ??

    I have a Win2k3 server running IIS6 and PHP 5 installed in C:\PHP5

    PHP appears to be working fine, as an installation of Coppermine is working perfectly.
    The problem is with WordPress.

    The database initialisation and setup seems to go perfectly. I can browse all of the admin menus fine and even make a post.

    However when I try and view the post or even the main page of the blog I get the error below appear.

    PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in C:\Inetpub\blogs\index.php on line 4 PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.;C:\php5\pear’) in C:\Inetpub\blogs\index.php on line 4

    Has anyone any suggestions?
    I have tried reuploading the files for wordpress, and even wiping and reinitialising the database, both to no avail

    The URL for the page is https://blogs.doran-net.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Is the wp-blog-header.php file actually there in that location?

    Thread Starter hooj

    (@hooj)

    Hi.

    Should have really mentioned that, but yes all the files are present, and in their correct location.

    Thread Starter hooj

    (@hooj)

    Got it working…
    I had to edit the index.php to point the wp-blog-header.php to the direct path, ie c:\inetpub etc…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning on main page’ is closed to new replies.