Longtime lurker, we’ve been using Debian + FreePBX for awhile - works great.
Today, I decided to give the FreePBX Distro on one of our development machines. For some reason when I try to access 127.0.0.1/recordings/ it returns a blank page. When I looked at the Apache logs this error came up:
[error] [client 127.0.0.1] PHP Fatal error: Cannot use object of type DB_Error as array in /var/www/html/recordings/modules/followme.module on line 0
This is a fresh installation of the Distro (Stable-5.211.65-13 (64 Bit w/ Asterisk 11).
Unfortunately, there isn’t any output - just the recording errors.
==> /var/log/httpd/error_log <==
[Fri Jun 13 18:13:09 2014] [error] [client 127.0.0.1] File does not exist: /var/www/html/myadmin
[Fri Jun 13 18:18:50 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function restapi_user_get_user_tokens() in /var/www/html/recordings/modules/followme.module on line 0, referer: hxxp://127.0.0.1/recordings/index.php?m=Settings&f=display
[Fri Jun 13 18:24:47 2014] [notice] caught SIGTERM, shutting down
[Fri Jun 13 18:24:47 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Jun 13 18:24:47 2014] [notice] Digest: generating secret for digest authentication ...
[Fri Jun 13 18:24:47 2014] [notice] Digest: done
[Fri Jun 13 18:24:47 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Fri Jun 13 19:36:12 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function restapi_user_get_user_tokens() in /var/www/html/recordings/modules/followme.module on line 0, referer: hxxp://127.0.0.1/recordings/index.php?m=Callmonitor&q=&sort=desc&order=calldate&duration_filter=&start=0
[Fri Jun 13 19:36:16 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function restapi_user_get_user_tokens() in /var/www/html/recordings/modules/followme.module on line 0, referer: hxxp://127.0.0.1/recordings/index.php?m=Callmonitor&q=&sort=desc&order=calldate&duration_filter=&start=0
[Fri Jun 13 19:38:24 2014] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function restapi_user_get_user_tokens() in /var/www/html/recordings/modules/followme.module on line 0, referer: hxxp://127.0.0.1/recordings/index.php
I can get into the recordings fine, but there isn’t any output for the AJAX error for some reason for the second error I mentioned above when saying anything that needs the checkmark clicked on in Advance Settings.