WordPress.org

Ready to get started?Download WordPress

Forums

Installation Problems: Fatal error: Call to undefined function: get_bloginfo() (65 posts)

  1. moshu
    Member
    Posted 9 years ago #

    There is no way it worked with these settings:
    // ** MySQL settings ** //
    define('jrbarn32_blog', 'wordpress'); // The name of the database
    define('jrbarn32_blog', 'username'); // Your MySQL username
    define('thompson01', 'password'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    It should be:
    // ** MySQL settings ** //
    define('DB_NAME', 'jrbarn32_blog'); // The name of the database
    define('DB_USER', 'jrbarn32_blog'); // Your MySQL username
    define('DB_PASSWORD', '******'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

    p.s. never ever publish your pw - I hope have changed it since...

  2. Tutor
    Member
    Posted 9 years ago #

    Two things seem to make that error happen (at least for me...) First as stated before, the db needs to be made prior to running the install, secondly the user needs to be set also (in the db).

    I've been fighting that error code all morning attempting to set up WP on my desktop computer so I can play with it and not my domain's settings (which I have WP up and running on but just bare bones). (btw I want to set up coppermine if any tips can be offered I'd appreciate it)

    My current (offline) setup is using EasyPHP 1.8 which placed a mysql/apache/php/phpmyadmin system up and finally got mysql to work properly... but it took getting the user name placed into mysql prior to running the install to have WP run without the error...

    Tutor

  3. likoma
    Member
    Posted 9 years ago #

    I just went through this whole thread when I finally realized I hadn't done the add user to db button in MySQL Account Maintenance in cPanel (the step before PHP MyAdmin if you have cPanel.

    I hope that helps. Watch out for that obvious stuff! I completely overlooked it.

    - Bradley

  4. Resslx
    Member
    Posted 8 years ago #

    I get a similiar get_bloginfo error but it does not occur in the same place I have seen others post:

    Call to undefined function: get_bloginfo() in
    /var/www/html/rezl/wp-login.php on line 9

    My config file looks like this:

    define('DB_NAME', 'supercriminals_com_-_b22');
    define('DB_USER', 'supercrimi');
    define('DB_PASSWORD', '********');
    define('DB_HOST', 'localhost');

    I'm running phpMyAdmin 2.6.0 & MySQL 3.23.58
    I created a seperate database manually and I can see all the tables wordpress has created, it just doesn't get me past the login screen. The user/password is the root access combo and already works with my b2 blog, but not WP. Any suggestions would be greatly appriciated!

  5. Resslx
    Member
    Posted 8 years ago #

    UPDATE: I deleted wordpress from my website and reinstalled WordPress 1.5 and it worked! After that I just followed the upgrade (very simple because I could skip the backup steps) intructions to 2.0 and it worked too!
    I would recommend to anyone that has this problem delete & reinstall the newest version of wordpress or an older version if that doesn't work.

Topic Closed

This topic has been closed to new replies.

About this Topic