Member
Last active 13 years ago
You're right, there are errors in the logs. Doh me for not checking first.
Here's what /var/log/httpd/error_log reports when I try to install fop2admin module:
[Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 500 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 501 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 502 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 503 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 504 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 500 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 501 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 502 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 503 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Notice: Undefined offset: 504 in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 427, referer: http://miniliz/admin/config.php [Fri Aug 12 13:03:13 2011] [error] [client 192.168.1.9] PHP Fatal error: Call to undefined function queues_list() in /var/www/html/admin/modules/fop2admin/functions.inc.php on line 1310, referer: http://miniliz/admin/config.php
These numbers, 500 to 504, represent Ring Groups I have defined.
A search for the queues_list function returns only one instance of it:
[root@ddnpbx html]# find /var/www/html | xargs grep queues_list /var/www/html/admin/modules/fop2admin/functions.inc.php: $results = queues_list(true); [root@ddnpbx html]#
I installed the Queues module and now the fop2admin module installs! Hum, so you may want to put a note in the documentation that the Queues module must be installed to install fop2admin module. This particular system doesnt have Queues, nor does a stock install of AsteriskNow include the Queues module.
This is Freepbx 2.7.0.10.
I just tried nuking the database entries along with reinstalling the tarball to start over. No luck. The fop2admin module wont get installed. I do have a valid voicemail entry.
Running autoconfig-users-freepbx.sh only returns a single line with buttonfile=autobuttons.cfg.
If it's associated, I havent been able to install the freepbx module. The module admin will upload the module, but when I try to install it, it just sits there with the orange box saying "Please wait while module actions are performed"
I have a freshly installed FOP2 setup on a Centos5.6+Asterisk1.8.5.0+FreePBX2.7.0.10 but I cannot get the clients to log in.
I've disabled FOP1 and the FOP2 servers starts up just fine with no noticeable error messages. But when I point a client browser to http://blah/fop2 and enter known extension credentials to log in, nothing happens and it prompts for credential again.
Here's the output when running fop2_server -X 15 and attempting to connect several times from another machine:
** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xa685260) ** CLEAN SOCKET flash client connection lost No flash clients connected 192.168.1.104 => <?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" secure="false" to-ports="4445" /> </cross-domain-policy> ** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0x84ca090) ** CLEAN SOCKET flash client connection lost No flash clients connected 192.168.1.104 <= <msg data="GENERAL|contexto|1|" /> 192.168.1.104 => { "btn": "0", "cmd": "key", "data": "lcfgME5Me2vwcjyGW", "slot": "" } 192.168.1.104 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" } 192.168.1.104 <= <msg data="1|auth|102|7ee91cb5d3cc01e6e858150b50de47bd" /> 192.168.1.104 => { "btn": "0", "cmd": "incorrect", "data": "0", "slot": "" } ** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xa68543c) ** CLEAN SOCKET flash client connection lost No flash clients connected 192.168.1.104 <= <msg data="GENERAL|contexto|1|" /> 192.168.1.104 => { "btn": "0", "cmd": "key", "data": "E5NqiQdHMOEbnCBLFD", "slot": "" } 192.168.1.104 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" } 192.168.1.104 <= <msg data="1|auth|102|eaf64aacb19a53dce9173091fa718b24" /> 192.168.1.104 => { "btn": "0", "cmd": "incorrect", "data": "0", "slot": "" } ** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xa3f51a4) ** CLEAN SOCKET flash client connection lost No flash clients connected 192.168.1.104 <= <msg data="GENERAL|contexto|1|" /> 192.168.1.104 => { "btn": "0", "cmd": "key", "data": "IBXsbkzggRGv96OgDOvKpkdP4RoEk7l", "slot": "" } 192.168.1.104 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" } 192.168.1.104 <= <msg data="1|auth|102|2cdb2205ef72b1560d55603bd5ac3d2f" /> 192.168.1.104 => { "btn": "0", "cmd": "incorrect", "data": "0", "slot": "" }
Any help/hints greatly appreciated!