php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22337 ociparse() [function.ociparse]: OCIParse: ORA-00001: unique constraint (%s.%s)
Submitted: 2003-02-20 14:25 UTC Modified: 2003-02-25 02:08 UTC
Votes:4
Avg. Score:4.0 ± 1.7
Reproduced:4 of 4 (100.0%)
Same Version:1 (25.0%)
Same OS:1 (25.0%)
From: ddepill1 at ta dot telecom dot com dot ar Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.3.1 OS: Solaris 2.8 64 Bits
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ddepill1 at ta dot telecom dot com dot ar
New email:
PHP Version: OS:

 

 [2003-02-20 14:25 UTC] 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.-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-20 16:28 UTC] nohn@php.net
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)
 [2003-02-25 02:08 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC