Bug #3555: mysql backend errors are still visible
| From: | ad at ultra dot net | Date: | Mon, 21 Feb 2000 21:24:59 +0000 |
| Subject: | Bug #3555: mysql backend errors are still visible | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15764@lists.php.net to get a copy of this message | ||
From: ad@ultra.net
Operating system: solaris 2.6
PHP version: 3.0.13
PHP Bug Type: MySQL related
Bug description: mysql backend errors are still visible
according to http://www.php.net/manual/function.mysql-errno.php3
backend errors aren't supposed to issue warnings anymore.
but i am still getting them issued and returned to clients.
when in mysql_connect i specify wrong hostname or wrong
username i am getting mysql related warnings returned to
clients.
and also just a minute ago i saw backend errors from
your own mysql server returned to me when i was trying to
access the above url. here are some coppied from my browser
window:
Warning: MySQL Connection Failed: Too many connections in shared-manual.inc on line 8
Warning: Supplied argument is not a valid MySQL-Link resource in shared-manual.inc on line 10
Warning: Cannot add header information - headers already sent by (output started at
shared-manual.inc:8) in shared-manual.inc on line 18
Warning: Cannot add header information - headers already sent by (output started at
shared-manual.inc:8) in shared.inc on line 318
Warning: Cannot add header information - headers already sent by (output started at
shared-manual.inc:8) in shared.inc on line 319
Warning: MySQL Connection Failed: Too many connections in shared-manual.inc on line 209
Warning: Supplied argument is not a valid MySQL-Link resource in shared-manual.inc on line 211
here is my configure line:
Configure command: ./configure
'--with-apache=/local/src/apache_1.3.9' '--with-mysql=/shared'
'--with-snmp=/shared' '--enable-ucd-snmp-hack'
'--prefix=/shared/pkgs/php-3.0.13' '--sysconfdir=/local/etc'
'--sharedstatedir=/local/var' '--localstatedir=/local/var'
php3.ini file path is set to: /usr/local/lib
thanks,
alex