ID: 24653
Updated by: [EMAIL PROTECTED]
Reported By: minetto at unochapeco dot rct-sc dot br
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: Linux
PHP Version: 4CVS-2003-07-14 (stable)
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
See bug #24657
Previous Comments:
------------------------------------------------------------------------
[2003-07-15 08:33:01] minetto at unochapeco dot rct-sc dot br
I find where is the problem.
In code :
$db=ocilogon("user","pass","db");
$curs = OCINewCursor($db);
$cod_empresa = 15;
$codAcervo = 154173;
$stmt = OCIParse($db,"begin sp_per_consulta_obra($cod_empresa
,$codAcervo,:reg_sql);end;");
ocibindbyname($stmt,":reg_sql",&$curs,-1,OCI_B_CURSOR);
ociexecute($stmt);
ociexecute($curs);
if(OCIFetchInto($curs,&$reg_sql,OCI_ASSOC))
{
echo "ok";
}
else
{
echo "error";
}
If i comment the line : $curs = OCINewCursor($db);
the page is found. The error seems to be in OCINewCursor.
My php version is php4-STABLE-200307142330, Oracle Client is 9.2,
apache is apache-2.0.45-28790U90_2cl.
Thanks
------------------------------------------------------------------------
[2003-07-14 19:07:03] minetto at unochapeco dot rct-sc dot br
In /var/log/apache/error_log :
/root/php4-STABLE-200307102330/main/main.c(1718) : Bailed out without a
bailout address!
I dont�t know if is related.
------------------------------------------------------------------------
[2003-07-14 17:59:19] minetto at unochapeco dot rct-sc dot br
Description:
------------
When i use the link :
http://www.unochapeco.edu.br/biblioteca/php/pbasbi2.php?codAcervo=115621
the page is not find. If i use :
http://www.unochapeco.edu.br/biblioteca/php/pbasbi2.php?codacervo=115621
with (codacervo=) works.
My info :
PHP Version 4.3.3RC2-dev
Conectiva Linux 9.0
Oracle client 9.2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24653&edit=1