Page 1 of 1

httpd error_log DB undefined variable

PostPosted: Thu Sep 27, 2007 3:02 pm
by binbash
[Fri Sep 28 04:00:03 2007] [error] [client 192.168.2.231] PHP Notice: Undefined variable: phone_number in /var/www/html/astguiclient/vdc_db_query.php on line 273
[Fri Sep 28 04:00:03 2007] [error] [client 192.168.2.231] PHP Notice: Undefined variable: DB in /var/www/html/astguiclient/vdc_db_query.php on line 291
[Fri Sep 28 04:00:03 2007] [error] [client 192.168.2.232] PHP Notice: Undefined variable: DB in /var/www/html/astguiclient/conf_exten_check.php on line 105

This was in the httpd error_log.

PostPosted: Thu Sep 27, 2007 6:12 pm
by peacy
These're just notices from PHP. To disable these them change the error reporting in /etc/php.ini to this:
Code: Select all
;
;   - Show all errors, except coding standards warnings
;
error_reporting  =  E_ALL & ~E_NOTICE;