ID: 24653 User updated by: minetto at unochapeco dot rct-sc dot br -Summary: Error in GET Reported By: minetto at unochapeco dot rct-sc dot br Status: Open -Bug Type: Scripting Engine problem +Bug Type: OCI8 related Operating System: Linux PHP Version: 4CVS-2003-07-14 (stable) New Comment:
. 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 20:53:37] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [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