Support » Installing WordPress » Installation Error:Fatal error: Call to undefined function: wp_specialchars() in

  • boomertrading

    (@boomertrading)


    Fatal error: Call to undefined function: wp_specialchars() in wallstreetkam.com/wp-includes/wp-db.php on line 96

    Can you guys tell me what is going on? I’ve installed this in the past and it went through fine. By the way, I haven’t touched that file, only the config file as instructed to do so.

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 24heures

    (@24heures)

    I was about to report the same error. This happens when I run the install.php file. First I had WP installed in the root directory on my Web server. Then I tried it in a subdirectory. Same error each time. My SQL settings should be good to go. No clue what the issue could be.

    zanzaban

    (@zanzaban)

    Same issue here with a fresh install of 2.0.4 in a fresh new site.

    I tried both the zip and the tar.gz. If I dont have a wp-config.php it runs the config file maker fine, but then hangs on install.php

    shane1828

    (@shane1828)

    same issue here… was going to post it as well.

    fresh install 2.0.4 on fresh database

    all files are there and chmodded

    Open
    wp-includes/wp-db.php
    and change line 96+97 from
    $str = wp_specialchars($str, 1);
    $query = wp_specialchars($this->last_query, 1);

    to
    $str = htmlspecialchars($str, ENT_QUOTES);
    $query = htmlspecialchars($this->last_query, ENT_QUOTES);

    Moderator Ryan Boren

    (@ryan)

    WordPress Dev

    We had a bad 2.0.4 package up for a few minutes. You were unlucky enough to grab the bad one. You can download the package again or grab a corrected wp-db.php.

    boomertrading

    (@boomertrading)

    Wow, great. It’s working now. I felt like an idiot for an hour.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Installation Error:Fatal error: Call to undefined function: wp_specialchars() in’ is closed to new replies.