|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-12-29 14:33 UTC] fernando at napl dot com dot br
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 03:00:01 2025 UTC |
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 />