Date: 06/28/01
- Next message: cedric <email protected>: "[PHP-DEV] Bug #11780 Updated: udm_find makes php crash"
- Previous message: Zeev Suraski: "[PHP-DEV] Re: 2 problems with shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11728
Updated by: sniper
Reported By: cgi <email protected>
Old-Status: Open
Status: Closed
Bug Type: PostgreSQL related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
Fixed in CVS. Fix will be in PHP 4.0.7.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-06-28 04:13:49] cgi <email protected>
Two examples:
<?PHP
$link_id = pg_pconnect ("host='localhost' user='root' password='foo'") or print ($php_errormsg);
$link_id = pg_connect ("host='localhost' user='root' password='foo'") or print ($php_errormsg);
?>
---------------------------------------------------------------------------
[2001-06-27 11:48:34] sniper <email protected>
Could you please include shortest possible script
to reproduce this?
--Jani
---------------------------------------------------------------------------
[2001-06-27 05:09:21] cgi <email protected>
Also, seems to only happen when using persistant connections. Non-persistant connections will show the errors correctly.
---------------------------------------------------------------------------
[2001-06-27 04:43:09] cgi <email protected>
Not sure if this is important but I'm retrieving the error from the $php_errormsg variable.
---------------------------------------------------------------------------
[2001-06-27 04:39:40] cgi <email protected>
As of PHP 4.0.6 detailed errors concerning PostgreSQL are not being given, instead (null) is shown.
For instance 4.0.5 will show:
Unable to connect to PostgreSQL server: Password authentication failed for user 'foouser'
4.0.6 currently shows:
Unable to connect to PostgreSQL server: (null)
I can give more detailed info/specs if needed.
Thanks!
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online.
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11728&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: cedric <email protected>: "[PHP-DEV] Bug #11780 Updated: udm_find makes php crash"
- Previous message: Zeev Suraski: "[PHP-DEV] Re: 2 problems with shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

