Couldn't load variables.txt?aldope=33179
Hi,
I'm using the current BETA version 2.3 and the operator panel in FreePBX doesn't work, I just get:
Couldn't load variables.txt?aldope=33179
It says on the download page to report problems, but no indication on where so I posted it here. :o)
In amportal.conf the FOP server is not enabled
That isnt neccessarily true -
Op_server.pl (the FOP panel script) may run but will terminate if it cannot load variables.txt
which by the by it creates on loading.....so usually amportal is running as user asterisk, however if your /var/www/panel directory or which ever director op_server.pl uis running from is Chmod'd to 775 and owned by root then user asterisk does not have write permission and the variables.txt file will not be created.... to check this
cd /var/www/panel/
as root run
./op_server.pl -d (the -d runs it as a daemon)
check its running
ps -A -F | grep panel
should appear on the process list
now reload the FreePBX panel page - also check the admin page and ensure FOP panel is actually running....
if this works you will need to create appropriate permissions for user asterisk to have write permission to /var/www/panel
We have a similar problem. We recently installed TrixboxCE with FreePBX 2.4.0. When we click on FOP, we get: Couldn't load variablesSUPPORT.txt?aldope=69564
The number changes with refresh. I followed notes from above post, but still does not work. I started panel as root, but error message still comes up. Here is the process listing:
ps -A -F|grep panel
asterisk 2157 2552 0 3057 8496 0 07:54 ? 00:00:00 /usr/bin/perl -w /var/www/html/panel/op_server.pl
asterisk 2551 1 0 1124 560 0 Jun18 ? 00:00:00 -bash -c cd /var/www/html/panel && /var/www/html/panel/safe_opserver &
asterisk 2552 2551 0 1112 1112 0 Jun18 ? 00:00:00 sh /var/www/html/panel/safe_opserver
root 2808 2039 0 973 672 0 08:06 pts/0 00:00:00 grep panel
Can anybody point us in the right direction? Thanks!
P.S. Adding to original post - we worked around the problem by creating a link from variablesSUPPORT.txt to variables.txt and that works for now.
I found that the variables.txt file didn't exist on my tb2.4 install. Kerry said to copy one from a good install, but that wasn't going to be too easy for me. Instead I just created a variables.txt file with Nano and rebooted the box. It looks to have rebuilt the file after it's manual creation, and FOP is up and running now.

Member Since:
2006-08-27