• 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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • we use wp3.0.5 , Multi-DB 3.0.2. when we active Buddypress 1.2.8 s

    BuddyPress 1.2.8 is for version 3.1.

    And please post BuddyPress questions to the buddypress forums.

    Thread Starter eilia

    (@eilia)

    sorry ?? I post this in buddypress forums
    but I used BP 1.2.8 with 3.0.5 on a test site without multi-DB and everything was ok.
    thanks again

    but I used BP 1.2.8 with 3.0.5 on a test site without multi-DB and everything was ok.

    Then there’s your answer.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘error when active buddypress’ is closed to new replies.