Fatal error in wp

Discussion in 'WordPress' started by Jalpari, Dec 30, 2007.

  1. #1
    Have a look at my blog whats wrong with it: its giving error as.


    Fatal error: Call to undefined function: get_header() in /home/beauty/public_html/blog/index.php on line 1

    Last time by mistakely i replaced index.php file (which was located in main directory of wp software) with theme index.php file after doing this, this error appear. How i can fix this error?/B]
     
    Jalpari, Dec 30, 2007 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    uploade a new script or index file.
    Better upgrade to latest wordpress version released today ;)
     
    MeetHere, Dec 30, 2007 IP
  3. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #3
    i understand that now i need to upload new index.php file but will after doing this my content will be removed?

    And how i can replace index.php file without uploading all wp software
     
    Jalpari, Dec 30, 2007 IP
  4. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #4
    no content will not be removed.
    content is saved in a database..

    if you want to upload only index.php - make sure its for the same version..

    or upgrade the whole script.
     
    MeetHere, Dec 30, 2007 IP