httpd error_log DB undefined variable

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

httpd error_log DB undefined variable

Postby binbash » Thu Sep 27, 2007 3:02 pm

[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.
binbash
 
Posts: 48
Joined: Wed Jul 25, 2007 4:59 pm

Postby peacy » Thu Sep 27, 2007 6:12 pm

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;
peacy
 
Posts: 55
Joined: Thu Jul 05, 2007 1:46 pm
Location: UK


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 148 guests