• I have uploaded and deleted everything to the web server several times, so I know everything is there. I am using version 1.5.1.

    I get the php error message: Fatal error: Call to undefined function: get_bloginfo() <snipped path>wp-includes/wp-db.php on line 304. I checked out the file wp-db.php and don’t understand what could be the problem.

    It might be good to note that I am installing in a subdomain, if that could make any difference.

Viewing 15 replies - 46 through 60 (of 64 total)
  • Make sure you can connect to your database using phpMyAdmin or MySQL Query Browser.
    Check the values of your siteurl and home columns in the wp_options table of your database. If they aren’t set right the php include files can’t be loaded.
    https://tamba2.org.uk/wordpress/site-url/

    Happened to me too on a fresh install. I did everything right, created the database, amended wp-config.php, but got the same get_bloginfo() error.

    I finally noticed, in the my_sql doc, a mention of the recommended 6-8 character user password. (Can it be that simple?)

    So I reduced my password from a fifteen character phrase to seven characters, amended wp-config.php, and fired the install script. A second or so later, the WordPress intro page filled my browser.

    Hope it’s that easy for you.

    I got this – I put the wrong username in.

    THANK YOU VERY MUCH for the old_password step. I had been beating my head against a WordPress-shaped wall for two days before I tried that.

    For future reference, I am running Win2K3 Server/IIS6/PHP 4.3.11/MySQL 4.1.12.

    Running this combination of versions will run you smack dab into the password matching issue.

    Thanks again!

    And then there are those of us who put the definitions in the wrong place in the config file. Just wanted to add this incase someone else did the same thing.

    I put the database name where it says DB_NAME instead of database_name.

    Just a thought.

    STill isn’t working for me though – same fatal error…

    If you read the whole thread there was a solution posted above.

    Ok, if you use nearlyfreespeech.net as your host, the database is the database name and the localhost is your Sql process name. Install is working now!!!!

    (dances a bit)

    This is the error message displayed on my blog when the webhost’s MySQL server was taken offline temporarily and the database was not accessible. It wasn’t related to any of the files, the blog was working just fine at one moment then suddenly started displaying this error. A few minutes later, when MySQL resumed working, everything was fixed without my intervention. I hope this helps; my conclusion is that the error may indicate that the MySQL database is unavailable.

    Yup, the instructions for the quick install don’t mention creating the database, such as with “mysqladmin -u user -ppassword create databasename”

    I struggled with this for three days, thanks for those here who have offered help. Here’s what worked for me. I did remove line 304 of wp-db.php and then got better error messages. My system was adding my system id, stopdebt, to my database and user id. So instead of wordpress my date base name was actually stopdebt_wordpress, and the same, stopdebt_username, for the username. I hope this helps someone.

    How do you find your local host number… lol

    I have the same problem. I cannot get it to work. I have changed everything multiple times. Here is what I have for a DB:

    jrbarn32_blog
    Users in blog
    jrbarn32_blog (Privileges: ALL PRIVILEGES)

    Connection Strings
    Perl $dbh = DBI->connect(“DBI:mysql:jrbarn32_blog:localhost”,”jrbarn32_blog”,”<PASSWORD HERE>”);
    PHP $dbh=mysql_connect (“localhost”, “jrbarn32_blog”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());
    mysql_select_db (“jrbarn32_blog”);

    Here is what I have for a config file:

    <?php
    // ** 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

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* Stop editing */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    Does not work at all and I have changed it up time and time again using IP’s, root logins.. all sorts of things.. no luck.

    Any idea?

    I am using 1.5.1

    Never mind.. I used 1.5 and it worked. duh…

    I was having the same problem (trying to set it up on my Powerbook – MySQL 4.1, PHP 4.3.1, Apache .. something. Couldn’t get it to work, tried two different users.

    Then tried swapping to a different user with fewer privileges, and it worked. Can’t understand it. Something perhaps about how the zip archive gets unzipped, creating rubbish characters you can’t see?

    And now I just have to delete it all and work out how to upgrade from 1.2 ??

    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…

Viewing 15 replies - 46 through 60 (of 64 total)
  • The topic ‘Installation Problems: Fatal error: Call to undefined function: get_bloginfo()’ is closed to new replies.