FOP wont launch from FreePBX menu

If I click ‘panel’ from the FreePBX screen, which takes me to http://server/admin/panel.php then I get a page that shows the FreePBX headers and then just a blank with the message Couldn’t load variablesIT.txt?aldope=26633 in a large font.

If I go directly to the FOP at http://server/panel then it loads just fine.
Any ideas?

file a bug please, and here is the fix, the file is under /var/www/html/admin/views:

[code:1]Index: views/panel.php

— views/panel.php (revision 4514)
+++ views/panel.php (working copy)
@@ -3,7 +3,7 @@
$template[‘title’] = $title;
$template[‘content’] =

’.
  •   '<iframe width="97%" height="600" frameborder="0" align="top" src="../panel/index_amp.php?context='.$deptname.'"></iframe>'.
    
  •   '<iframe width="97%" height="600" frameborder="0" align="top" src="../../panel/index_amp.php?context='.$deptname.'"></iframe>'.
      '</div>';
    

showview(‘freepbx’, $template);
[/code:1]

Thanks for that, I also had to remove the .$deptname entry as it seemed to be set to ‘IT’ creating a filename of variablesIT.txt, which didnt exist anywhere, so I deleted it and it’s working fine.

As for logging a bug. Ok. um… can you tell me how to do that?
Cheers :wink:

click on the help tab on the beta - and make sure you have an account on the trac system as you will need one to log a bug.

Thanks.
Done.

I have the same problem and try this fix.

Now, if I click ‘panel’ from the Administration screen, which takes me to http://localhost/admin/panel.php then I get only a page that shows a blank

If I click “Flash Operator Panel (FOP)” from the httpd://localhost/ menu, I get the same page with the message Couldn’t load variablesIT.txt?aldope=xxxx in a large font.

any ideas?

Ok, I fix my problem in 4 steps:
(I sorry for the spanish)

1- Check el funcionamiento del amportal start, por defecto se crea en:
/usr/local/sbin/amportal start (verificar)

Si responde:

1-a:

**** WARNING: ERROR IN CONFIGURATION ****
astrundir in /etc/asterisk/asterisk.conf is set to /var/run THIS IS WRONG.

Modificar:

/etc/asterisk/asterisk.conf

Donde dice: astrundir => /var/run

Debe decir: astrundir => /etc/init.d (o donde tengais vuestro inicio de asterisk)

2- Crear el archivo variables.txt en /var/www/html/panel.

 Darle permisos de lectura y escritura a variables.txt

3- Reinstalar FreePBX:

cd /usr/src/freepbx-2.3.1

./install_amp --username=asteriskuser --password=SOMEPASSWORD

4- Iniciar amportal:

/usr/local/sbin/amportal start

Buena suerte!!!

Couldn’t load variablesIT.txt?aldope=7105
Hi I have read alot of this and still cannot get this to work everything says that it is running.
It was working fine and I reconfigured my firewall as I had no outside access and then the FOP panel will not load.
everything appears to be there.
the phones connect just fine internally as well as externally just no panel?
Any help is appreciated as I am new to freePBX.

variablesIT.txt?aldope=xxxx

because variablesIT.txt not found, go to directory:
[[email protected] panel]# cd /var/www/html/panel
then
[[email protected] panel]# ln variables.txt variablesIT.txt
please check FOP on your browser…