WordPress.org

Ready to get started?Download WordPress

Forums

Problem with index.php - (./wp-blog-header.php) (8 posts)

  1. Cu Chulainn
    Member
    Posted 3 years ago #

    Hi all,

    I'm having trouble with my first wordpress manual install and I would really appreciate some help. I have searched the forum and codex, but I think I need specific help with my problem.

    I'm doing a manual install on a remote Windows server at my hosting company. Under instructions from the hosting company I am installing to the Root folder (because there is never going to be any other site on this account).

    I have followed all the instructions in the codex here. It has not worked. I am getting these three errors:

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

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

    PHP Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.;C:\php5\pear') in C:\CustomerData\webspaces\webspace_00142547\wwwroot\index.php on line 17

    (I write ''mywebspace'' here instead of a number in the original messages which I presume is my webspace's ID)

    Do I just need to put that code into the index.php file on line 17 in a text editor? The first two errors seem to be identical for some reason.

    I would really appreciate any help in how to fix this problem.
    ............

    Another question I have relates to the files that were already in the root folder.

    aspnet_client folder
    tests folder
    httpd.parse.errors
    index.php
    index.wml
    ISAOI_Rewrite.config.file.name
    (4 files and 2 directories. Total size 3,722 bytes)

    I overwrote the index.php file with the new WordPress one when prompted during the ftp. Should I delete those other files and directories?

  2. govpatel
    Member
    Posted 3 years ago #

    You will have to install in folder as you already have another index.php file in root and since you installing on a window server you can install this version 3.2.1 IIS
    http://wordpress.org/download/release-archive/

  3. Cu Chulainn
    Member
    Posted 3 years ago #

    Great thanks for the response. I'll make a new folder and install that version to it.

    Does it matter that I have already overwritten the index.php file in the root with the wordpress one when I ftp'd the first time?

  4. govpatel
    Member
    Posted 3 years ago #

    I do not know what that index.php file was for that is why I suggested to instal IIS version as that works best on window server

  5. Cu Chulainn
    Member
    Posted 3 years ago #

    I think, if I remember correctly, that my hosting company may have told me to create the file when I was starting. But I can't remember exactly. I'll try your suggestion in the morning and see how it goes.
    Thanks again.

  6. Cu Chulainn
    Member
    Posted 2 years ago #

    In the end I had to start from scratch. I couldn't return the root to normal function because of the overwritten index.php and the new sub folder I made wouldn't work either, apparently for the same reason. So the hosting company has set me up with a new webspace and I'm going to try installing 3.2.1 IIS there as govpatel suggests.

    Just a quick question: When I unzip the IIS version, instead of just getting a folder called wordpress I also get three additional files (install.sql, manifest.xml and parameters.xml), do I need to do something with these files? Do I upload them just like I upload the contents of the wordpress folder, or are they there for some other purpose?

    I'm sure the answer to this question is something obvious, but I just haven't been able to find it.

  7. govpatel
    Member
    Posted 2 years ago #

    install.sql must be the tables for database I do not know what other two are as I have never installed on a window server may one other member can answer guide you I assume the install should be the same as normal wordpress.

  8. Cu Chulainn
    Member
    Posted 2 years ago #

    I'm going to start a new thread for this because it's really a different question from the original and the discrepancy between what you get in 3.2.1 IIS and what you expect from the instructions in the installation tutorial is quite confusing.

    Thank you very much for your help Govpatel. Your advice has certainly helped me progress this problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.