Forums

[resolved] Installation problems.Call to undefined function .wpsettings.php line 5 error (5 posts)

  1. jkvca
    Member
    Posted 3 years ago #

    Hello,

    I am new to WordPress, but have had it working on another host before. I am trying out a new host http://www.websitesource.com. They have php 4.4 and MYSql 4 running on my account.

    I have FTP'd the WordPress files to my domain (root), and created a MY SQL database and user with admin rights. I have reconfigured the wp-config.php file about 10 times now with the same results and am at my wits end.

    The error I am getting is...
    Fatal error: Call to undefined function: wp() in /hsphere/local/home2/javancor/javancorp.com/wp-settings.php on line 5

    My Config file is...
    define('DB_NAME', 'javanco_javancorp');
    define('DB_USER', 'javanco_jvance');
    define('DB_PASSWORD', '********'); //
    define('DB_HOST', 'mysql2.websitesource.net')

    I have tried different combinations of the above, like taking out the javanco_ and changing the host to local, but to no avail. Any help would be appreciated.

    Thanks,

    Jason

  2. jkvca
    Member
    Posted 3 years ago #

    Maybe I need to post this under a different area. I am at a loss and am practically willing to pay to get this resolved. I am ready to switch to the easy to use "blogger", but it has some limitations.

  3. after5pc
    Member
    Posted 3 years ago #

    is the paste above the exact data in the wp-settings.php file? minus the password of course?

  4. moshu
    Member
    Posted 3 years ago #

    There is no function wp() on line 5 in wp-settings.php.
    I'd try to upload a fresh copy of the wp-settings.php (eventually from a fresh download - files tend to get corrupted...)

    Edit. What is posted above is NOT the wp-settings, it's the config file!

  5. jkvca
    Member
    Posted 3 years ago #

    Thank you after5pc and moshu for responding. I have downloaded and uploaded a fresh copy of WP, and voila!, it worked. It must have been a corrupt file.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic