|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-11-11 00:51 UTC] tony2001@php.net
[2006-11-13 18:19 UTC] c_peruma at qualcomm dot com
[2006-11-13 18:24 UTC] tony2001@php.net
[2006-11-13 22:24 UTC] c_peruma at qualcomm dot com
[2006-11-13 22:29 UTC] tony2001@php.net
[2006-11-13 22:57 UTC] c_peruma at qualcomm dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 14:00:01 2025 UTC |
Description: ------------ Our application page loads with an OCI error. After this the application froze and We try to re-login the page gets loaded properly.But we are not able to reproduce the problem. But it happens at very frequently, but dont know what causes the problem. Error seen was: Warning: ociexecute(): supplied argument is not a valid OCI8-Statement resource Fatal error: Call to a member function on a non-object. The piece of code giving the error is : // Create a collecting type in Oracle // that can hold around 10000 Phone numbs. $szType="CREATE OR REPLACE TYPE PHONELIST AS VARRAY(10000) OF VARCHAR(15)"; $qHandle=OCIParse($szType,$ORACLE); OCIExecute($qHandle); // Insert the Selected Phone numbers $collection = OciNewCollection($ORACLE,"PHONELIST"); for($i=1 ; $i <= $nCount ; $i++) { $collection->append($szMIN[$i]); } We get error in the OCIExecute line . No error was reported for Oracle Connection made by OCINLogon.It seems that oracle parse has failed. But parse is not giving any error though. And followed by fatal error in OCINewCollection(). I found this related to the bug information found in. http://bugs.php.net/bug.php?id=3910 Expected result: ---------------- Page should get loaded properly. Actual result: -------------- Error seen was: Warning: ociexecute(): supplied argument is not a valid OCI8-Statement resource Fatal error: Call to a member function on a non-object.