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
 [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: Fri Dec 27 00:01:30 2024 UTC