Sitede alınan şöyle bir hata satırı neden olabilir acaba ?
Warning: mysql_query() [function.mysql-query]: Unable to save result set in
Hatanın gösterdiği database.php içindeki satır ise şurası:
$this->_cursor = mysql_query( $this->_sql, $this->_resource );
Bu satırın içinde yer aldığı kod grubunu da aşağıda yazıyorum ki altından ve üstünden belki birşey anlaşılır:
if ($this->_debug) {
$this->_ticker++;
$this->_log[] = $this->_sql;
}
$this->_errorNum = 0;
$this->_errorMsg = '';
$this->_cursor = mysql_query( $this->_sql, $this->_resource );
if (!$this->_cursor) {
$this->_errorNum = mysql_errno( $this->_resource );
$this->_errorMsg = mysql_error( $this->_resource )." SQL=$this->_sql";
if ($this->_debug) {
trigger_error( mysql_error( $this->_resource ), E_USER_NOTICE );
//echo "<pre>" . $this->_sql . "</pre>\n";
if (function_exists( 'debug_backtrace' )) {
foreach( debug_backtrace() as $back) {
if (@$back['file']) {
echo '<br />'.$back['file'].':'.$back['line'];
}
}
}
}
return false;
}