Re: [PHP-PEAR] Bug in oci8.php?

[email protected] ((Thomas Fromm)) Mon, 12 Mar 2001 13:20:08 +0100
Newsgroups php.pear
Message-ID <01031213200801.00826@defiant>
Hi,

> if (DB::isError ($result = $db_con -> query ($sql)))
>         handle_db_error ($result);
> else
>         while ($resultRow = $result -> fetchRow())
>         {
>                 echo $resultRow[0] . '<BR>';
>         }
>
>
> Returns this Oracle error:
>
> Warning: OCIFetchInto: ORA-01002: fetch out of sequence in DB/oci8.php
> on line 206

seems to be a bug in errorhandling. this error occurs, when its tried to 
fetch one more row, where no one more row to fetch is ;)

just put an @ before every oci* function, because this warnings don't be 
showed and must handled in pear....

--tf