It is currently Sun Sep 05, 2010 4:34 am

All times are UTC - 7 hours [ DST ]




 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: Instructions for Module Inst/Upgrades on FreePBX
PostPosted: Fri Jun 25, 2010 4:16 pm 
Site Admin
User avatar

Joined: Fri Mar 14, 2008 3:22 pm
Posts: 205
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


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron