php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47500 OCI8 Debugging issue
Submitted: 2009-02-25 01:32 UTC Modified: 2009-02-25 04:31 UTC
From: snovak7 at gmail dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 5.2.8 OS: Fedora Linux 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: snovak7 at gmail dot com
New email:
PHP Version: OS:

 

 [2009-02-25 01:32 UTC] snovak7 at gmail dot com
Description:
------------
There are cases when your password in oracle is about to expire, in my sqlplus experience, it throws you out an error immediatelly when you connect to server. And here is where to problem arises, it is where also your scripts die, and you cant figure out why, there are no logs, not a message which would tell you that ERROR happened when you connected.

Expected result:
----------------
I actually managed to solve a problem by re-setting a password, which then wouldn't throw error at connect.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-25 04:31 UTC] sixd@php.net
OCI8 returns an error when the password has expired.  Normal error checking can be used to handle the situation - you can reconnect and change the password in one shot with oci_password_change().  (There are various examples around, including in the free Underground PHP & Oracle Manual)

Connection during password expiry grace time succeeds without an error message.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 23:01:28 2024 UTC