Jump to content


Xevious

Member Since 06/05/2004
Offline Last Active 28/06/2006, 17:28
-----

Posts I've Made

In Topic: Unable To Save Result Set

03/09/2005, 16:12

vai ter que restaurar o banco, ou melhor, faça uma copia dele, apague ele e cria ele novamente.

Mas se pelo MyPHPAdmin
consigo fazer consultas SQL
e parece estar funcionando

eu concluiria que a base esta normal

estou tentando ele funcionar aqui em casa pra ver direito...

In Topic: Unable To Save Result Set

03/09/2005, 01:00

posta algumas linhas de codigo MAIS necessiariamente a linha 118.. tente RESTAURAR o banco !

phpBBbr

da erro no arquivo mySql4.php
na função sql_query
na linha

$this->query_result = mysql_query($query, $this->db_connect_id);

A função esta abaixo
eu acho que é o primeiro acesso a base
mas pelo CPanel eu consigo trazer dados em consultas SQL

function sql_query($query = "", $transaction = FALSE)
{
//
// Remove any pre-existing queries
//
unset($this->query_result);

if( $query != "" )
{
$this->num_queries++;
if( $transaction == BEGIN_TRANSACTION && !$this->in_transaction )
{
$result = mysql_query("BEGIN", $this->db_connect_id);
if(!$result)
{
return false;
}
$this->in_transaction = TRUE;
}

$this->query_result = mysql_query($query, $this->db_connect_id); }
else
{
if( $transaction == END_TRANSACTION && $this->in_transaction )
{
$result = mysql_query("COMMIT", $this->db_connect_id);
}
}

if( $this->query_result )

IPB Skin By Virteq