Hi!
Many customers have ran into difficulties installing modules into their virtual server. This is due to an obscure URL length bug in FreePBX that causes mathopd to not parse long HTTP requests accurately. Here is a workaround a user sent us that involves the Safari web browser - which has the unique ability to show us broken URLs in its Activity Monitor, therefore giving us a workaround for installing modules when it fails. It may not work for everyone, but the workaround is as follows:
Install Safari 5
General settings - show menu bar
General settings/Preferences - show develop menu in menu bar
Develop - Show Error Console
Navigate to the FreePBX console page and log in
go to Module Administration; Check for updates online
Select desired modules to upgrade and/or enable
Click Process
Click Confirm
A very long URL will appear in the Safari Error Console box.
Right-click, Copy Link.
Open a Notepad or other editor box and paste in the URL.
Find and replace all hex codes %5B by [ (left square bracket)
Find and replace all hex codes %5D by ] (right square bracket)
Shorten the URL by removing all of the strings of the form:
&moduleaction[xxxxxxxx]=0
You should be left with something like this:
http://66.51.99.999/admin/config.php?ty ... duleaction[customappsreg]=enable&moduleaction[iaxsettings]=downloadinstall&moduleaction[manager]=update
Cut and paste into the main browser address window, hit enter. You
should see the details of the download, untarring, etc. of the new or
updated items.
Manually return to the main admin page e.g. type into the main browser
address window e.g.:
http://66.51.99.999/admin/ and hit enter.
Click Apply Configuration Changes.
Click Continue with Reload.
Note that, Disable and Uninstall options appear to work without manual
intervention.
Using the above I was able to upgrade to FreePBX 2.7.0 and activate
the desired modules.
Thanks very much to Norm Audrey for preparing and sending in this suggestion. Hopefully it is helpful to those who need modules in FreePBX that they currently don't have.
Regards,
Edward Ray
Link2VoIP