WordPress.org

Ready to get started?Download WordPress

Forums

Installation Error : wp-blog-header.php on line 14 (8 posts)

  1. tzjakab
    Member
    Posted 1 year ago #

    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!

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Check your wp-config.php file.

  3. kmessinger
    Volunteer Moderator
    Posted 1 year ago #

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

  4. tzjakab
    Member
    Posted 1 year ago #

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

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

  5. tzjakab
    Member
    Posted 1 year ago #

    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.

  6. tzjakab
    Member
    Posted 1 year ago #

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

    Error establishing a database connection

    Please help!

  7. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    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.

  8. Krishna
    Volunteer Moderator
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.