Many "PHP Notice: Undefined variable:" errors in

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Many "PHP Notice: Undefined variable:" errors in

Postby mrcarrera » Fri Jun 20, 2008 3:39 am

Hi, I have installed vicidialnow 1.1rc2 and have found the following problem when working with it.

The following type of errors are dumped to /var/log/httpd/error_log everytime an agent or an administrator browse through agc and vicidial php pages:

.....

[Fri Jun 20 10:26:01 2008] [error] [client 192.168.1.110] PHP Notice: Undefined variable: DB in /var/www/html/agc/conf_exten_check.php on line 106, referer: http://192.168.1.1/agc/vicidial.php
[Fri Jun 20 10:26:01 2008] [error] [client 192.168.1.110] PHP Notice: Undefined variable: DB in /var/www/html/agc/conf_exten_check.php on line 128, referer: http://192.168.1.1/agc/vicidial.php
[Fri Jun 20 10:26:01 2008] [error] [client 192.168.1.110] PHP Notice: Undefined variable: DB in /var/www/html/agc/conf_exten_check.php on line 176, referer: http://192.168.1.1/agc/vicidial.php
[Fri Jun 20 10:26:01 2008] [error] [client 192.168.1.110] PHP Notice: Undefined variable: DB in /var/www/html/agc/conf_exten_check.php on line 184, referer: http://192.168.1.1/agc/vicidial.php

.....

[Sun Jun 15 09:06:07 2008] [error] [client 192.168.1.114] PHP Notice: Undefined variable: stage in /var/www/html/vicidial/user_status.php on line 137, referer:
http://192.168.1.1/vicidial/user_stats.php?user=305
[Sun Jun 15 09:06:07 2008] [error] [client 192.168.1.114] PHP Notice: Undefined variable: stage in /var/www/html/vicidial/user_status.php on line 147, referer:
http://192.168.1.1/vicidial/user_stats.php?user=305
[Sun Jun 15 09:06:07 2008] [error] [client 192.168.1.114] PHP Notice: Undefined variable: stage in /var/www/html/vicidial/user_status.php on line 222, referer:
http://192.168.1.1/vicidial/user_stats.php?user=305
[Sun Jun 15 09:06:07 2008] [error] [client 192.168.1.114] PHP Notice: Undefined variable: group in /var/www/html/vicidial/user_status.php on line 222, referer:
http://192.168.1.1/vicidial/user_stats.php?user=305
[Sun Jun 15 09:06:12 2008] [error] [client 192.168.1.114] PHP Notice: Undefined variable: DB in /var/www/html/vicidial/AST_agent_time_sheet.php on line 32, refe
rer: http://192.168.1.1/vicidial/user_status.php?user=305

.....

error_log is growing really fast, several hundred Mb in just a few days, even although only two agents are currently working with this system. Can anybody help me with this? Do you know the reason for these errors to happen?

Thanks in advance for your help.
mrcarrera
 
Posts: 5
Joined: Fri Jun 06, 2008 4:26 am

Postby mflorell » Fri Jun 20, 2008 9:35 pm

turn off NOTICES in your php.ini

This is mentioned in the SCRATCH_INSTALL doc.

Loading Apache from source has NOTICES disabled by default.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 77 guests