Support » Fixing WordPress » Installation Error : wp-blog-header.php on line 14

  • I am trying to install wordpress onto my site and keep getting gibberish and then this error:

    Fatal error: Call to undefined function wp() in /home/blog/sitename/wp-blog-header.php on line 14

    I have tried re-installing WordPress two times now and reviewing the forums. Someone, please help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Check your wp-config.php file.

    Moderator kmessinger


    Are you installing using a script from your host like Fantasico?

    I checked my wp.config.php file, but I dont know what to look for.

    I’m just using Cyberduck to install; Dreamhost server.

    I have made all changes to wp-config.php file as per this Codex, but cannot find where I have made an error.

    When I pull up my site, all of the text from the wp-config.php file is written as a paragraph, and below it reads:

    Fatal error: Call to undefined function wp() in /home/domainname/domain/wp-blog-header.php on line 14

    I tried removing line 14: “wp() ” from the wp-blog-header.php file but this error still shows up, with another error.

    I have tried re-writing my wp-config.php and now I just get:

    Error establishing a database connection

    Please help!

    First, put the wp() back.

    Second, make sure this file is coded and formatted properly. Study the example file wp-config-sample.php (in same folder are wp-config.php) and review the instructions again. If needed start with this file and rename it when done.

    Have you checked if you have the correct database name, database username, database password and MySQL hostname in your wp-config.php file?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Installation Error : wp-blog-header.php on line 14’ is closed to new replies.