• I set up forums and I get this “warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /home/anametro/public_html/anametron/eserres/wp-includes/wp-db.php on line 1582″ As I saw many bdpress forums has this problem. I find a solution here in these forum, to change the code in wp-db.php on line 1582 from “function db_version() {
    return preg_replace( ‘/[^0-9.].*/’, ”, mysql_get_server_info( $this->dbh ) );
    }”
    }
    to
    “function db_version() {
    return preg_replace( ‘/[^0-9.].*/’, ”, mysql_query(“select version() as $this->dbh”) );
    }
    }”
    But the problem is more complicated for my case cause my posts is in Greek language and when I make the change to the code as I mention above all the posts’ characters turns to ? symbol (only the greek ones if exist any english character remains as it was). I try to change the database language to utf_unicode_ci but nothing happen.
    Have someone encouner the same problem and solve it or have someone any suggestions about it, I am waiting for your responses, thank you for your time.
    #

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-db.php warnings on line 1582 on buddypress forums’ is closed to new replies.