From: fernando at napl dot com dot br Operating system: Linux RedHat 8 PHP version: 4.3.4 PHP Bug Type: OCI8 related Bug description: Problem on Get Varchar Colunms from Oracle 9i
Description: ------------ I have the Problem on fetch Columns Varchar os Char from oracle.. I Have changed the Group of Apache on httpd.conf to oracle user.. All ENV Variables on oracle user already ok.. On SQlplus this machi I not have problems... Thanks for any help... Reproduce code: --------------- while ($arr_my_emp = mysql_fetch_row($exec_my_emp)) { $sql_ora_emp="SELECT CD_EMP,NM_EMP FROM EMPS WHERE CD_EMP = $arr_my_emp[0]"; $stm_ora_emp=ociparse($conn_oracle,$sql_ora_emp); $exec_ora_emp=ociexecute($stm_ora_emp); ocifetchinto($stm_ora_emp,$arr_ora_emp,OCI_NUM); echo "<option value=\"$arr_ora_emp[0]\">$arr_ora_emp[0]</option>"; } ?> Expected result: ---------------- One Combo box whit option from table EMPS Actual result: -------------- Warning</b>: ociexecute(): OCIStmtExecute: ORA-03106: fatal two-task communication protocol error in <b>/www/htdocs/vw/main.php</b> on line <b>131</b><br /> <br /> <b>Warning</b>: ocifetchinto(): OCIFetchInto: ORA-24374: define not done before fetch or execute and fetch in <b>/www/htdocs/vw/main.php</b> on line <b>132</b><br /> <option value=""></option><br /> -- Edit bug report at http://bugs.php.net/?id=26741&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26741&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26741&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26741&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26741&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26741&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26741&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26741&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26741&r=support Expected behavior: http://bugs.php.net/fix.php?id=26741&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26741&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26741&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26741&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26741&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26741&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26741&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26741&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26741&r=float