#22337 [Opn->Fbk]: ociparse() [function.ociparse]: OCIParse: ORA-00001: unique constraint (%s.%s)
| From: | nohn@php.net | Date: | Thu, 20 Feb 2003 22:28:48 +0000 |
| Subject: | #22337 [Opn->Fbk]: ociparse() [function.ociparse]: OCIParse: ORA-00001: unique constraint (%s.%s) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33755@lists.php.net to get a copy of this message | ||
ID: 22337
Updated by: nohn@php.net
Reported By: ddepill1 at ta dot telecom dot com dot ar
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Solaris 2.8 64 Bits
PHP Version: 4.3.1
New Comment:
Is this really everything? It seems like you are inserting something
into some table and this fails because of the violation of an unique
constraint (usally primary key)
Previous Comments:
------------------------------------------------------------------------
[2003-02-20 14:25:48] ddepill1 at ta dot telecom dot com dot ar
Hello,
i'm using:
Solaris 2.8 64 bits in Sparc Ultra 5 (sun)
Oracle 8.1.7 64 bits
Apache 1.3.27
PHP Version 4.3.1-dev (php4-STABLE-200302121030)
The first time that i run my code, it's work ok, but the others times..
i have this messages:
Warning: ociparse() [function.ociparse]: OCIParse: ORA-00001: unique
constraint (%s.%s) violated in /www/HOME/welcome.php on line 26
The code is so easy:
$user_db = "USER";
$pass_db = "PASS";
$conn = OCILogon($user_db,$pass_db);
$query = "select sysdate from dual";
echo $query;
$stmt = OCIParse($conn,$query);
...
In adittion, some logs appear in the directory where i start apache:
kg_INST1_456.trc
kg_alert_INST1.log
kg_INST1_2848.trc
The content of kg_alert_INST1.log is:
Thu Feb 20 16:37:48 2003
Errors in file /kg_INST1_456.trc:
KGP-00600: internal error code, arguments: [kguptidcon1], [], [], [],
[], [], [], []
Thu Feb 20 16:58:24 2003
Errors in file /kg_INST1_2848.trc:
KGP-00600: internal error code, arguments: [kguptidcon1], [], [], [],
[], [], [], []
If u want, i can send u the others files (a dump of memory).
Have u got some suggestion to give me.
Thanks for u time,
Damian De Pilla.-
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22337&edit=1