FOP2 blank phonebook
Ive gone through all the related posts I could find, but haven't seen anything that addresses my issue.
I'm building an Elastix 2.4 server and have installed FOP2 demo through the Elastix Add-Ons module. It took a little head scratching, but I think everything is up and working, except the phonebook, whichs drops down as a blank window.
I read a post where the person was asked if the phonebook works if accessed directly from a browser. I tried it and it worked. There were no entries, which, according to the documentation, should automatically be created. I was able to add entries.
After adding a couple of entries, there was no change in the Elastix portal. I made sure that my user has phonebook permission. I did a cat /var/log/httpd/ssl_error_log and here is the output:
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined index: speeddial in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 123, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined index: speeddial in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 130, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 156, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:56:12 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/miscdests/page.miscdests.php on line 128, referer: https://192.168.177.23/admin/config.php ... =phonebook
[Mon Dec 30 14:57:02 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/miscdests/page.miscdests.php on line 128, referer: https://192.168.177.23/admin/config.php ... =miscdests
[Mon Dec 30 15:00:11 2013] [error] [client 192.168.177.30] script '/var/www/html/admin/phonebook.php' not found or unable to stat
[Mon Dec 30 15:00:20 2013] [error] [client 192.168.177.30] script '/var/www/html/phonebook.php' not found or unable to stat
[Mon Dec 30 15:00:28 2013] [error] [client 192.168.177.30] File does not exist: /var/www/html/phonebook
[Mon Dec 30 15:05:38 2013] [error] [client 192.168.177.30] File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt, referer: https://192.168.177.23/fop2/fop2.html
[Mon Dec 30 15:05:46 2013] [error] [client 192.168.177.30] PHP Fatal error: Cannot pass parameter 2 by reference in /var/www/html/indexfop2.php on line 54, referer: https://192.168.177.23/fop2/fop2.html
Any one have an idea what the problem is, or more specifically, how to fix it?
I'm building an Elastix 2.4 server and have installed FOP2 demo through the Elastix Add-Ons module. It took a little head scratching, but I think everything is up and working, except the phonebook, whichs drops down as a blank window.
I read a post where the person was asked if the phonebook works if accessed directly from a browser. I tried it and it worked. There were no entries, which, according to the documentation, should automatically be created. I was able to add entries.
After adding a couple of entries, there was no change in the Elastix portal. I made sure that my user has phonebook permission. I did a cat /var/log/httpd/ssl_error_log and here is the output:
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined index: speeddial in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 123, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined index: speeddial in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 130, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:53:48 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/phonebook/page.phonebook.php on line 156, referer: https://192.168.177.23/admin/config.php
[Mon Dec 30 14:56:12 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/miscdests/page.miscdests.php on line 128, referer: https://192.168.177.23/admin/config.php ... =phonebook
[Mon Dec 30 14:57:02 2013] [error] [client 192.168.177.30] PHP Notice: Undefined variable: tabindex in /var/www/html/admin/modules/miscdests/page.miscdests.php on line 128, referer: https://192.168.177.23/admin/config.php ... =miscdests
[Mon Dec 30 15:00:11 2013] [error] [client 192.168.177.30] script '/var/www/html/admin/phonebook.php' not found or unable to stat
[Mon Dec 30 15:00:20 2013] [error] [client 192.168.177.30] script '/var/www/html/phonebook.php' not found or unable to stat
[Mon Dec 30 15:00:28 2013] [error] [client 192.168.177.30] File does not exist: /var/www/html/phonebook
[Mon Dec 30 15:05:38 2013] [error] [client 192.168.177.30] File does not exist: /var/www/html/fop2/fop2-variablesGENERAL.txt, referer: https://192.168.177.23/fop2/fop2.html
[Mon Dec 30 15:05:46 2013] [error] [client 192.168.177.30] PHP Fatal error: Cannot pass parameter 2 by reference in /var/www/html/indexfop2.php on line 54, referer: https://192.168.177.23/fop2/fop2.html
Any one have an idea what the problem is, or more specifically, how to fix it?
Comments
It uses the phonebook from Elastix, and from it to appear you must log to Elastix first.
So, if you want the standard fop2 phonebook, you need to install FOP2 from tarball. You can download the tar.gz, extract, run make and then there are some additional steps specially for the Elastix market version:
cp /var/www/html/fop2/index.html /var/www/html/fop2/fop2.html
cp /usr/local/fop2/autoconfig* /etc/asterisk/fop2
Best regards,