Had the same error after converting board and db from cp1251 to utf8. ips_kernel/classDbMysqlClient.php
//-----------------------------------------
// Run the query
//-----------------------------------------
#I had to switch this around... The query goes first, connection id second. Otherwise it just breaks - KF
#$this->query_id = mysql_query($this->connection_id, $the_query );
++ mysql_query( "SET NAMES utf8", $this->connection_id );
$this->query_id = mysql_query( $the_query, $this->connection_id );
This helps solving the above mentioned issue.