Warning: mysql_affected_rows()
-
I’m using WP 1.5.2 and I’ve had some problems after installing “php-stats” a stats software. The warning was shown in any browser in Windows but not in GNU/Linux.
I could managed them so if any get the same problem here you have a solution.
Warning: mysql_affected_rows(): A link to the server could not be established in XXX/wordpress/wp-includes/wp-db.php on line 155
I’ve get the solution changing this:
$this->rows_affected = mysql_affected_rows();
for this
$this->rows_affected = mysql_affected_rows($this->dbh);
on line 155.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Warning: mysql_affected_rows()’ is closed to new replies.