Issues while trying to upgrade from version 2.11 to 12

Ran the upgrade tool to go from 2.11 to 12, updated the framework, which appeared to go ok but I believe that may be what had the fit and broke everything.

Running on Centos6.4 on freepbx distro 5.x

The webgui loads, has the older appearance but none of the buttons or menus work, if I try running any amportal commands i get the following:

Please wait…

PHP Fatal error: Class ‘module_functions’ not found in /usr/share/pear/Console/Getopt.php on line 0

the phones amazingly work for the moment but I can’t make any config changes via the gui, etc.

am able to run amportal dbug:

Please wait…

trying to run as user asterisk:

[FPBXDBUGDISABLE] changed from previous value: [1] to new value: [0]

==> /var/log/asterisk/freepbx_dbug <==

2017-Sep-25 08:00:01 /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php:37
[WARNING]: include_once(): Failed opening ‘/var/www/html/admin/modules/sysadmin/ functions.inc/Schmooze.class.php’ for inclusion (include_path=’.:/usr/share/pear :/usr/share/php’)

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_ path is properly configured in your ini file!

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: License check failed!

==> /var/log/httpd/error_log <==
[Mon Sep 25 05:24:04 2017] [notice] Digest: done
[Mon Sep 25 05:24:04 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configu red – resuming normal operations
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer 172.20.50.20/ admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: /172.20.5 0.20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: /172.20.50. 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer: admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: 172.20.5 0.20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php

==> /var/log/asterisk/freepbx.log <==
You should go to the module admin page to fix these.)
[2017-Sep-25 05:32:41] [CRITICAL] (libraries/module.functions.php:1766) - [NOTIF ICATION]-[freepbx]-[modules_broken] - You have a broken module (The following mo dules are disabled because they are broken:
sysadmin

You should go to the module admin page to fix these.)
[2017-Sep-25 07:59:02] [ERROR] (libraries/cronmanager.class.php:161) - [NOTIFICA TION]-[cron_manager]-[EXECFAIL] - Cronmanager encountered 1 Errors (The followin g commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255))
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:42) - trying to run as user a sterisk:
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:43) -
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:79) - [FPBXDBUGDISABLE] chang ed from previous value: [1] to new value: [0]
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:80) -
==> /var/log/asterisk/freepbx_dbug <==

2017-Sep-25 08:00:01 /var/lib/asterisk/agi-bin/LoadLicenseIfExists.php:37
[WARNING]: include_once(): Failed opening ‘/var/www/html/admin/modules/sysadmin/ functions.inc/Schmooze.class.php’ for inclusion (include_path=’.:/usr/share/pear :/usr/share/php’)

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: No license for this product (PBXact) - make sure zend_loader.license_ path is properly configured in your ini file!

2017-Sep-25 08:00:01 /var/www/html/admin/modules/qxact_reports/functions.inc/ import_queue_data.php:0
[WARNING]: License check failed!

==> /var/log/httpd/error_log <==
[Mon Sep 25 05:24:04 2017] [notice] Digest: done
[Mon Sep 25 05:24:04 2017] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configu red – resuming normal operations
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer: 172.20.50.20/ admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: 172.20.5 0.20/admin/config.php
[Mon Sep 25 05:24:11 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-1.11.1.min.js, referer: 172.20.50.20/ admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50. 20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/images/sangoma-horizontal_thumb.png, referer: 172.20.5 0.20/admin/config.php
[Mon Sep 25 05:32:43 2017] [error] [client 172.20.50.207] File does not exist: / var/www/html/admin/assets/js/jquery-ui-1.10.3.min.js, referer: 172.20.50.20/admin/config.php

==> /var/log/asterisk/freepbx.log <==
You should go to the module admin page to fix these.)
[2017-Sep-25 05:32:41] [CRITICAL] (libraries/module.functions.php:1766) - [NOTIF ICATION]-[freepbx]-[modules_broken] - You have a broken module (The following mo dules are disabled because they are broken:
sysadmin

You should go to the module admin page to fix these.)
[2017-Sep-25 07:59:02] [ERROR] (libraries/cronmanager.class.php:161) - [NOTIFICA TION]-[cron_manager]-[EXECFAIL] - Cronmanager encountered 1 Errors (The followin g commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255))
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:42) - trying to run as user a sterisk:
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:43) -
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:79) - [FPBXDBUGDISABLE] chang ed from previous value: [1] to new value: [0]
[2017-Sep-25 08:02:40] [INFO] (bin/freepbx_setting:80) -

I had a similar issue and broke the web gui entirely, I had to replace the files in /var/www/html from backup/a similar setup PBX to get it rolling again.

I’ll have to give that a try, Thanks!