Bug #18320 Updated: ORA-03106: fatal two-task communication protocol error

From: Date: Fri, 12 Jul 2002 19:21:01 +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-14012@lists.php.net to get a copy of this message
ID: 18320 Updated by: derick@php.net Reported By: galvao@informabrasil.com.br -Status: Open +Status: Closed Bug Type: OCI8 related Operating System: Linux - SuSE 7.2 PHP Version: 4.2.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#14012) next »