ID: 24675 Updated by: [EMAIL PROTECTED] Reported By: minetto at unochapeco dot rct-sc dot br -Status: Feedback +Status: No Feedback Bug Type: OCI8 related Operating System: Linux PHP Version: 4CVS-2003-07-16 (stable) New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-07-16 14:27:19] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. GDB backtrace, nothing else. ------------------------------------------------------------------------ [2003-07-16 07:34:52] minetto at unochapeco dot rct-sc dot br Description: ------------ When i use the function OCINewCursor() a error happen and the server cannot execute the script. Reproduce 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"; } Expected result: ---------------- Show the data in tables. Actual result: -------------- If i comment the line : $curs = OCINewCursor($db); the page is found. The error seems to be in OCINewCursor. My info : php version is php4-STABLE-200307142330 Oracle Client is 9.2, apache is apache-2.0.45-28790U90_2cl ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24675&edit=1