/var/www/html/panel/op_server.pl ERROR

Hi All,

I’m getting this error on two installed FreePBX systems, does anyone know the solution to stop the errors from showing on the linux command line? It’s not causing any problems that I know of other than just annoying. Thanks

Use of uninitialized value in concatenation (.) or string at /var/www.html/panel/op_server.pl line 1924.

take a look at the script and figure out what it is reading/operating on. The value it is reading is blank and it should not be. That’s the place to start.

It looks very similair to problems gathered in this thread:
http://freepbx.org/forum/freepbx/installation/use-of-uninitialized-value-in-problem

It looks like the newest verison (probably some ealier version) has fixed this issue. To upgrade to the lastest fop panel do…

sudo amportal stop
cd /usr/src
sudo wget http://www.asternic.org/files/op_panel-0.30.tar.gz
sudo nano /usr/src/op_panel-0.30/op_server.cfg
set use_amportal_conf to use_amportal_conf=1; then Ctrl+O

sudo mv /usr/src/op_panel-0.30/ /$your.freepbx.path/panel/
sudo amportal start

No more perl debuging flooding my SSH terminal!

Thanks aramsey, that worked a treat.

I am adding some comments to the above directions because I am a noob and I had to do a lot to figure out what some of this meant:

sudo amportal stop
cd /usr/src
sudo wget http://www.asternic.org/files/op_panel-0.30.tar.gz
tar -zxvf /usr/src/op_panel-0.30.tar.gz
sudo nano /usr/src/op_panel-0.30/op_server.cfg
set use_amportal_conf to use_amportal_conf=1
set use_amportal_conf to use_amportal_conf=Ctrl+O
sudo mv /usr/src/op_panel-0.30/ /$your.freepbx.path/panel/ <–on my system (asteriskNow 1.7.1) the path was /var/www/html/panel/

sudo amportal start <–I had to reboot instead of this to get it to work