Wordpress Problem...wp-header line 14

Discussion in 'HTML & Website Design' started by charya, Dec 31, 2008.

  1. #1
    Hiya!
    Well recently i trasnferred my Wordpress blog to another host..and since then..ive got the following error message:
    Fatal error: Call to undefined function wp() in .../blog/wp-blog-header.php on line 14
    Code (markup):
    To transfer it..I exported the SQL..uploaded all the files to the new host..then created a new database and imported backed up SQL..and also changed sql details in WP-Config.php..
    What can the problem be?

    Thanks in advance
     
    charya, Dec 31, 2008 IP
  2. zyml

    zyml Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    My guess is that the wp-config.php file got corrupted during the moving process. Try installing a new WordPress installation somewhere, get its wp-config.php, upload to your WordPress blog and edit the MySQL details in it.
     
    zyml, Dec 31, 2008 IP
  3. silent_thunder

    silent_thunder Well-Known Member

    Messages:
    1,111
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #3
    I think you used notepad to edit the files. The header is already being sent, which meants <?php before this at the starting of wp=config.php there are some undefined characters. You will not see them if you edit through notepad use a editor or atleast use a ftp to edit files.

    Just remove those characters from the file you should be up and ready its a small problem dont worry
     
    silent_thunder, Dec 31, 2008 IP
  4. charya

    charya Banned

    Messages:
    146
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    K i didnt understand that very well..can u explain please
    Thanks
     
    charya, Jan 1, 2009 IP
  5. silent_thunder

    silent_thunder Well-Known Member

    Messages:
    1,111
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #5
    neva mind, just use a better editor and save the files as UTF-8
     
    silent_thunder, Jan 2, 2009 IP