Initially it appeared that libmyobdc has been removed from Ubuntu 16.04, however this isn’t really the case, but there are a number of version issues (see #12207 for details). The original point was to get FreePBX 13 to work with the current stable LTS release of Ubuntu.
When trying to do anything in the FreePBX WebGUI, there were warnings that “module SimpleXML is already loaded”.
Therefore, I commented out “extension=simplexml.so” from /etc/php/5.6/mods-available/simplexml.ini and restarted apache2. The Web GUI now works, until I try to “Reload Config” and then I get an error:
PHP Fatal error: Call to undefined function FreePBX simplexml_load_file() in /var/www/html/admin/libraries/BMO/Hooks.class.php on line 84
Whoops\Exception ErrorException: Call to undefined function FreePBX
simplexml_load_file() in file /var/www/html/admin/libraries/BMO/Hooks.class.php on line 84
Stack trace: 1. () /var/www/html/admin/libraries/BMO/Hooks.class.php:84
I suspect that extension=simplexml.so is in fact required, so the question is how to get rid of the warning (which obscures the whole GUI) that “module SimpleXML is already loaded”.
Here are 3 screenshots. The first is the initial symptom. In one case the red bar at the right disappeared and then the fuller error message in the second 2 screenshots appeared, with a mouse-over message “Ajax error”. The “Can not connect to Asterisk” is a new feature today! Asterisk is, however, running and I can connect to it with $ asterisk -R. Thanks for the help!
Thank you Andrew. I had already applied the fix in that link, i.e. I commented out extension=simplexml.so. As documented in the now-closed issue 12207: that fix cleans up this particular error and the GUI runs fine UNTIL I click “Apply Config” at which point it complains that simplexml.so isn’t loaded. Could you give me some hints on what happens with “Apply Config” that is different from the rest of the GUI?
Yes the distro is easier. So is XiVO. But we have several other Ubuntu 16.04 LTS systems in various roles and prefer to standardize. If your corporate policy is “the Distro way or the highway” that’s reasonable enough, the virtual appliance approach makes sense in terms of development and support cost and future revenue opportunities. However in fairness to the community you ought to enunciate that. Alternatively, make a serious effort to support the current LTS release of one of the most widely deployed Linux distributions in the world.
Ok that’s reassuring. Anyway - what’s different about clicking “Apply config” that might cause it to object that SimpleXML is not installed (when actually it’s compiled in to php)? Any ideas?