Quando tento entrar no admin, digito a senha padrăo
(password) e clico em Login mas nada acontece.
Ao tentar gerar boleto, recebo o seguinte erro:
Notice: Only variable references should be returned by
reference in C:\Work\Projetos\SPINNEX\sites\1
\site\phpboleto\include\pear\DB\common.php on line 493
O trecho onde isto ocorre é o seguinte:
----------------------------------------------------------------------------------
function &query($query, $params = array()) {
if (sizeof($params) > 0) {
$sth = $this->prepare($query);
if (DB::isError($sth)) {
return $sth;
}
return $this->execute($sth, $params);
} else {
$result = $this->simpleQuery($query);
if (DB::isError($result) || $result === DB_OK) {
return $result;
} else {
return new DB_result($this, $result);
}
}
}
--------------------------------------------------------------------------------
O erro ocorre no último return.
Alguém poderia me ajudar?
Gostaria ainda de saber onde altero para usar o SQL
Server 2000 ao invés do mySQL?
A classe DB_return está definida
em /include/pear/DB.php.
Estou usando php4.4.0 e mySQL 4.0 no Windows XP.