ID: 29013
Updated by: tony2001@php.net
Reported By: cjbj at hotmail dot com
-Status: Assigned
+Status: Closed
Bug Type: OCI8 related
Operating System: *
PHP Version: 5CVS, 4CVS (2004-10-10)
Assigned To: tony2001
New Comment:
The bug has been fixed in OCI8 v.1.1, which is available in CVS HEAD
and PECL (use pear install oci8-beta to install it).
Previous Comments:
------------------------------------------------------------------------
[2005-04-04 14:58:29] bugs dot php dot net at matveyev dot net
On my system, I noticed that the appearance of the bug depends on the
way of starting my .php file.
If I start the script from bash, it works okay.
If I start the script directly from cron, it produces the error
described here.
So, I solved my problem starting it from cron with such a string:
"su - user -c "/path/to/script.php"
------------------------------------------------------------------------
[2005-02-25 16:04:51] goetten at gmail dot com
Hy
I'm having the following problem:
Warning: ociexecute(): OCIStmtExecute: ORA-03106: fatal two-task
communication protocol error in
/var/www/html/helpdesk/migracao/view.php on line 10
Warning: ocifetchinto(): OCIFetchInto: ORA-24374: define not done
before fetch or execute and fetch in
/var/www/html/helpdesk/migracao/view.php on line 12
These errors are in a simple query. Is it about the bug on php?
thank's
------------------------------------------------------------------------
[2004-10-17 06:51:42] tony2001@php.net
I can see the problem now.
Will look at it closer a bit later..
------------------------------------------------------------------------
[2004-10-14 10:11:36] cjbj at hotmail dot com
Using one user would make it harder to demonstrate the
problem. Sorry I didn't include create user scripts etc.
I retested with 4.3.10-dev and 5.0.3-dev binaries of a few
minutes ago. I am using W2K with Oracle 9.2 client libraries.
I am still seeing the usernames printed as SCOTT and HR,
which is "incorrect".
------------------------------------------------------------------------
[2004-10-12 07:20:03] tony2001@php.net
No, of course you should able to connect to Oracle from PHP using
different logins.
My question should be read in this way: "are you able to reproduce it
under 1 user, but with different connections, because I was too lazy to
create a new user in Oracle?".
Btw, I've already created additional user and tested your code - your
example works perfectly for me.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29013--
Edit this bug report at http://bugs.php.net/?id=29013&edit=1