<Solved>vicidail web pages giving warning

All installation and configuration problems and questions

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

<Solved>vicidail web pages giving warning

Postby paruchurup » Wed Jul 24, 2013 4:13 am

Hi

I have installed apache server and php from rpm. Now I get below errors. When Install them from source in anotehr server, there were no issues. I would like to know why I am getting below errors when I am accessing vicidial.php.

Code: Select all
Notice: Undefined variable: use_slave_server in /var/www/html/vicidial/dbconnect.php on line 54

Notice: Undefined index: PHP_AUTH_USER in /var/www/html/vicidial/admin.php on line 107

Notice: Undefined index: PHP_AUTH_PW in /var/www/html/vicidial/admin.php on line 108

Notice: Undefined variable: dial_status in /var/www/html/vicidial/admin.php on line 1810

Notice: Undefined variable: download_max_system_stats_metric_name in /var/www/html/vicidial/admin.php on line 1816

Notice: Undefined variable: DB in /var/www/html/vicidial/admin.php on line 1872

Notice: Undefined variable: adaptive_latest_server_time in /var/www/html/vicidial/admin.php on line 1928

Notice: Undefined variable: admin_hangup_enabled in /var/www/html/vicidial/admin.php on line 1929

Notice: Undefined variable: admin_hijack_enabled in /var/www/html/vicidial/admin.php on line 1930

Notice: Undefined variable: admin_monitor_enabled in /var/www/html/vicidial/admin.php on line 1931

Notice: Undefined variable: AFLogging_enabled in /var/www/html/vicidial/admin.php on line 1932

Last edited by paruchurup on Fri Jul 26, 2013 2:49 am, edited 1 time in total.
astguiclient: 2.7-370c BUILD: 130508-2255 | Asterisk 1.4.44 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | XLite | RedHat Linux |Scratch Install - http://astguiclient.sourceforge.net/scr ... stall.html |
paruchurup
 
Posts: 69
Joined: Thu May 30, 2013 8:33 am

Re: vicidail web pages giving warning

Postby paruchurup » Wed Jul 24, 2013 4:19 am

If I look at the corresponding php files, I see that those variables(use_slave_server , dial_status..)which it is saying undefined variable, are not seen defined anywhere in the PHP files. How come it is possible.....

they are defined globally in some php ....?

Can anyone tell me how it is coded.
astguiclient: 2.7-370c BUILD: 130508-2255 | Asterisk 1.4.44 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | XLite | RedHat Linux |Scratch Install - http://astguiclient.sourceforge.net/scr ... stall.html |
paruchurup
 
Posts: 69
Joined: Thu May 30, 2013 8:33 am

Re: vicidail web pages giving warning

Postby paruchurup » Fri Jul 26, 2013 2:49 am

It is solved. There was small syntax error which I made while editing php.ini file. After correcting that it worked.
I was able to fidn out this by typing $php -v then it displayed the error.

But still I need to understand where these (use_slave_server , dial_status..) variables are defined in the admin.php, I see that they are directly using these vairable, I hope these are not PHP system environment variable....I am not sure...
astguiclient: 2.7-370c BUILD: 130508-2255 | Asterisk 1.4.44 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | XLite | RedHat Linux |Scratch Install - http://astguiclient.sourceforge.net/scr ... stall.html |
paruchurup
 
Posts: 69
Joined: Thu May 30, 2013 8:33 am


Return to Support

Who is online

Users browsing this forum: No registered users and 122 guests