Página 1 de 1

Warning: mysql Erro e meu site esta fora do Ar.

Enviado: 25 Jan 2009, 12:27
por rcflash
Boa Tarde, Galera
Estou com baita problema, tenho um site de cliente fora do ar e não consigo resolver.
Esta dando este erro quando tento acessar os istens do Virtuemart

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/fjet/www/includes/database.php on line 287

Esta é a linha que da o erro:
* Execute the query
* @return mixed A database resource if successful, FALSE if not.
*/
function query() {
global $mosConfig_debug;
if ($this->_limit > 0 || $this->_offset > 0) {
$this->_sql .= "\nLIMIT $this->_offset, $this->_limit";
}
if ($this->_debug) {
$this->_ticker++;
$this->_log[] = $this->_sql;
}
$this->_errorNum = 0;
$this->_errorMsg = '';
$this->_cursor = mysql_query( $this->_sql, $this->_resource ); Linha 287
if (!$this->_cursor) {
$this->_errorNum = mysql_errno( $this->_resource );
$this->_errorMsg = mysql_error( $this->_resource )." SQL=$this->_sql";
if ($this->_debug) {
trigger_e
* Execute the query
* @return mixed A database resource if successful, FALSE if not.
*/
function query() {
global $mosConfig_debug;
if ($this->_limit > 0 || $this->_offset > 0) {
$this->_sql .= "\nLIMIT $this->_offset, $this->_limit";
}
if ($this->_debug) {
$this->_ticker++;
$this->_log[] = $this->_sql;
}
$this->_errorNum = 0;
$this->_errorMsg = '';
$this->_cursor = mysql_query( $this->_sql, $this->_resource ); Linha 287
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'];



Alguém pode me dar uma Luz?

vlw