Skip to:
Content
Pages
Categories
Search
Top
Bottom

error when active buddypress


  • eilia
    Member

    @eilia

    hi
    we use wp3.0.5 , Multi-DB 3.0.2. when we active Buddypress 1.2.8 see a lot of errors in dashboard and other pages of admin :

    Warning: mysql_affected_rows(): 911 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 300

    Warning: mysql_insert_id(): 911 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 303

    Warning: mysql_affected_rows(): 986 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 300

    Warning: mysql_insert_id(): 986 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 303

    Warning: mysql_affected_rows(): 1060 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 300

    Warning: mysql_insert_id(): 1060 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 303

    Warning: mysql_affected_rows(): 1134 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 300

    Warning: mysql_insert_id(): 1134 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 303

    Warning: mysql_affected_rows(): 1220 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 300

    Warning: mysql_insert_id(): 1220 is not a valid MySQL-Link resource in /home/admin/…/public_html/wp-content/db.php on line 303



    line 298 – 300 db.php is :

    if ( preg_match( “/^\s*(insert|delete|update|replace|alter) /i”, $query ) ) {
    $this->rows_affected = mysql_affected_rows( $dbh );
    // Take note of the insert_id
    if ( preg_match( “/^\s*(insert|replace) /i”, $query ) ) {
    $this->insert_id = mysql_insert_id($dbh);
    }

    please hepl me. thank you :)

  • The topic ‘error when active buddypress’ is closed to new replies.
Skip to toolbar