Skip to:
Content
Pages
Categories
Search
Top
Bottom

warnings on buddypress forum


  • Apostolos Gazepis
    Member

    @gazepisapostolos

    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 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘warnings on buddypress forum’ is closed to new replies.
Skip to toolbar