php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37735 oci_password_change - not all the times works
Submitted: 2006-06-07 22:29 UTC Modified: 2006-06-09 18:34 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bbarnett at fomuvel dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 5.1.4 OS: W2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bbarnett at fomuvel dot com
New email:
PHP Version: OS:

 

 [2006-06-07 22:29 UTC] bbarnett at fomuvel dot com
Description:
------------
When any user try to change the password I'm recieving ORA-28008, but only when the password has numeric and string characters. 

some examples of passwords that return me errors are:
12345m
78945m
12453m

But when I use other passwords I don't have the problem...
latengo
nolatengo
juantito2006

If I change the password with any oracle tool (like sqlplus, enterprice manager, etc) I don't have this problem.

I?m using:
- PHP Version 5.1.4
- oci8 $Revision: 1.292 $
- W2k sp4
- Microsoft-IIS/5.0
- Server Oracle Client : Oracle9i R2 Client installed.
- Database : ORACLE 9i R2 (other server)


Thank you for any help that can give, because this is the only trouble that I have with the new product that I develop , because the current version was developed with asp 3.0

Reproduce code:
---------------
if (!oci_password_change($conn,$_SESSION[ 'connection' ][ 'user' ],$_SESSION[ 'connection' ][ 'password' ],$pantalla['passwordnuevo'])){
 $err = oci_error($conn); 					 errores($err);	// Execute error handler			
 }

Actual result:
--------------
Return me sometimes : ORA-28008

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-08 06:41 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-06-08 13:22 UTC] bbarnett at fomuvel dot com
Can you tell me how can I install this version, because I was used only the windows installer.

Thank you
 [2006-06-08 15:02 UTC] bbarnett at fomuvel dot com
I installed the new version, but now I have the next error

PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_oci8.dll'
 [2006-06-08 17:49 UTC] tony2001@php.net
Please use appropriate support forum/mailing list to know how to install PHP and its modules.
Feel free to reopen the report if you're still able to reproduce it.
 [2006-06-08 18:09 UTC] bbarnett at fomuvel dot com
following your instructions I installed the new version : PHP Version 5.2.0-dev, but I have a new problem that I didn't have before the report. Can you help me please?, because I need to resolve this problem because I need to publish the new site next week and this is the unique bug that I can't resolve.
I tryed to seek more information in the forum/mailing,but it's impossible at this time.
 [2006-06-08 18:16 UTC] tony2001@php.net
You need to install Oracle Instant Client.

 [2006-06-08 18:36 UTC] bbarnett at fomuvel dot com
I have installed the ORACLE CLIENT 9.2.0.1.0 again in my web server and the problem continues. But if I install PHP 5.1.4 with php_oci8.dll -> oci8 $Revision: 1.292 $ I recover the oracle connection but the password problem continues.

I have installed in my develop machine the PHP Version 5.2.0-dev and I can't load php_oci8.dll like I wrote before.
My computer is using:
- WXP SP2
- Microsoft-IIS/5.1
- ORACLE CLIENT 9.2.0.1.0
 [2006-06-08 18:47 UTC] tony2001@php.net
Again you need to install ORACLE INSTANT CLIENT. "ORACLE CLIENT 9.2.0.1.0" is totally different thing.
OCI8 for windows is compiled using INSTANT client, that's why INSTANT client is required.

Please find a support forum or mailing list, this system is for bug reports only.
Thank you.
 [2006-06-09 18:34 UTC] bbarnett at fomuvel dot com
I resolved my problem. Thanks for your help.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC