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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 + 21 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 05:01:30 2024 UTC