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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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 May 02 02:01:28 2024 UTC