Bug #18320 Updated: ORA-03106: fatal two-task communication protocol error
| From: | galvao at informabrasil dot com dot br | Date: | Fri, 12 Jul 2002 20:35:59 +0000 |
| Subject: | Bug #18320 Updated: ORA-03106: fatal two-task communication protocol error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14018@lists.php.net to get a copy of this message | ||
ID: 18320
Updated by: galvao@informabrasil.com.br
Reported By: galvao@informabrasil.com.br
Status: Open
Bug Type: OCI8 related
Operating System: Linux - SuSE 7.2
PHP Version: 4.2.1
New Comment:
No problem.
Any thoughts about it? If you need any new information about this,
please contact me either at my work e-mail
(galvao@informabrasil.com.br) or home e-mail (erabbott@terra.com.br),
as this is causing several problems on our upcoming projects.
Thanks in advance,
Er Galvão Abbott
Informa Brasil
Previous Comments:
------------------------------------------------------------------------
[2002-07-12 15:22:39] derick@php.net
sorry... wrong number :)
------------------------------------------------------------------------
[2002-07-12 15:21:00] derick@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2002-07-12 13:27:09] galvao@informabrasil.com.br
Greetings.
I'm having problems when I try to retrieve *char values from Oracle
8.1.7. I'm trying with a script that I've made and even with the
examples from php.net and nothing seems to work. I always receive the
same message from Oracle (see the title).
The strange thing is that this only happens with string-types (char,
varchar, etc). If I try to retrieve a date or a number it works ok.
If I try it with other languages than PHP it also works.
Here is an example script - you can see it's the same from PHP docs:
<?php
$user = "foo";
$pass = "bar";
$tns = "my_db";
$conn = ociplogon($user,$pass,$tns) or die("Connection error");
$query = sprintf("SELECT NAME FROM xyz");
$stmt = ociparse($conn,$query);
ociexecute($stmt); // Here's where the error occur
while(ocifetch($stmt))
{
echo ociresult($stmt);
}
ocilogoff($conn);
?>
If I replace "NAME" by "COD" (an int field) it works fine.
I've also saw dozens of posts in PHP communities relating directly to
the same problem I'm having.
Is this a bug? If it is when it will be fixed?
If it's not you should at least post the solution on the FAQ, since
there are many developers having this problem.
Thanks in advance,
Er Galvão Abbott
Informa Brasil
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18320&edit=1