php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6456 ORA-03120 error witch OCILogon
Submitted: 2000-08-31 03:49 UTC Modified: 2006-07-17 08:11 UTC
From: richard at dph dot no Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.0.2 OS: Solaris 8 (x86)
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: richard at dph dot no
New email:
PHP Version: OS:

 

 [2000-08-31 03:49 UTC] richard at dph dot no
Setup:

Solaris 8 (x86)
Apache 1.3.12
Oracle  8.1.5.0.0 
PHP 4.0.2

I try to connect to a remote Oracle db running on a different platform
(SPARC).

Testing Oracle Connection...

OCIDebug: _oci_open_server new conn=0 dname=oradb

Warning: OCISessionBegin: ORA-03120: two-task conversion routine: integer overflow in /home/richard/www/oratest.php on line 6
OCIDebug: _oci_open_session: FAILURE -> CLEANUP called
OCIDebug: START _oci_close_session: logging-off sess=0
OCIDebug: _oci_close_session: logging-off DEAD session
OCIDebug: oci_do_connect: FAILURE -> CLEANUP called
OCIDebug: START _oci_conn_list_dtor: id=0
OCIDebug: END _oci_conn_list_dtor: id=0

script:

<?
echo "Testing Oracle Connection...<br><br>\n";
putenv("ORACLE_SID=STUD");
putenv("ORACLE_HOME=/usr/local/oracle");
OCIInternalDebug(1);
$conn = OCILogon('xxxx','xxxx','oradb');
echo "<br><br>Done.<br><br>\n";
?>            

phpinfo:

<a href="http://home.dph.no/~richard/phpinfo.php">phpinfo</a>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-11 15:08 UTC] kir@php.net
Does "tnsping oradb" works successfuly?

Is your problem still persist with the latest PHP?


 [2000-11-11 15:22 UTC] sniper@php.net
status->feedback
 [2000-12-15 19:49 UTC] sniper@php.net
No feedback.
 [2003-03-13 10:02 UTC] breese at grandcentral dot com
I had a very similar problem. Little did I know that patches were applied to the Oracle DB. I don't know if that is the root cause but it is the only thing that could explain why my simply recompiling PHP and re-installing the libphp4.so file in Apache fixed the problem mysteriously.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC