GUI Blank after recent update

I updated recently Freepbx Distro to latest verision and lost GUI access.

ipaddress//admin/config.php is blank page
ipaddresss/recordings is blank page

I used the CLI command to upgrade again:
sudo -u asterisk /var/lib/asterisk/bin/module_admin upgradeall

Phones are working fine.

After waiting a week hoping for a new patch, but still no luck and unable to see the GUI, please assist.

Please help us help you and provide version numbers of freepbx. Don’t leave us in the dark.

Sorry, it is
1.8.1.3-1

I checked and looks like i have to upgrade my system, but these files are not found anywhere now:
http://upgrades.freepbxdistro.org/stable/1.8.1.3/upgrade-1.8.1.3-2.sh

What will be a safer version that I can upgrade to?

The 1.8.x.x scripts have been deprecated and are no longer available. To bring a version this old up to date will take hours and may not be successful. The recommendation would be to migrate to a new clean install and keep it updated.

What version of FreePBX are you on.

Sorry, it is
1.8.1.3-1

If I can get few updated files would be appreciated to get GUI up and I can then do a new clean install.

Let me know if anyone can assist.

So easy, iterate updating your current machine (module admin) to FreePBX 2.11 (and a version of asterisk that supports it if necessary), make a backup, restore it to your new machine. For “Belt and braces” thinking, image your old machine first .

You really don’t know much about your system. You provided me the wrong information twice. You are not helping us to help you as you are providing the most minimal information possible. Who does that hurt in the end?

The number you provided twice (1.8.1.3-1) is the distro version which hasn’t been updated in years (as we are on 5.x now) so it’s baffling that you say “recent” updates. Furthermore we are all speculating that you are on FreePBX 2.10 but who knows you could be on 2.9 or 2.11? I have no idea. I am shooting in the dark here. Your assumption that there would be a patch for something that is clearly over a year old is also baffling and the fact that you can’t provide more information other than “1.8.1.3-1” just further frustrates all of us. What did you update? What broke it? You talk about running updates but you don’t mention if those updates are distro updates or gui updates? We don’t even know what version of FreePBX you are running to provide you with any sort of “files”. I digress.

Run this from the command line:

amportal a dbug

Go refresh the browser window. Post the errors here. Be through please.

Also run

amportal a ma list

That will give you all the version numbers of every module. post that here as well.

trying to run as user asterisk:

[FPBXDBUGDISABLE] already set to [0]

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

2014-Jun-21 16:55:54	/var/lib/asterisk/agi-bin/enc/vmnotify-newvm.php:0
[WARNING]: License check failed!

2014-Jun-21 17: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_optimizer.license_path is properly configured in php.ini!

2014-Jun-21 17: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 <==
[Fri Jun 20 13:16:44 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 13:16:48 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 13:16:50 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 13:26:10 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 15:51:26 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:17 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:20 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:21 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:22 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:23 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0

==> /var/log/asterisk/freepbx_dbug <==
2014-Jun-21 17:05: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_optimizer.license_path is properly configured in php.ini!

2014-Jun-21 17:05:01	/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0
[WARNING]: License check failed!


Please wait...

trying to run as user asterisk:

[FPBXDBUGDISABLE] already set to [0]

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

2014-Jun-21 16:55:54	/var/lib/asterisk/agi-bin/enc/vmnotify-newvm.php:0
[WARNING]: License check failed!

2014-Jun-21 17: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_optimizer.license_path is properly configured in php.ini!

2014-Jun-21 17: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 <==
[Fri Jun 20 13:16:44 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 13:16:48 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 13:16:50 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 13:26:10 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 15:51:26 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:17 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:20 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:21 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:22 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0
[Fri Jun 20 16:17:23 2014] [error] [client 172.248.131.0] PHP Fatal error:  Class 'CXPest_ClientError' not found in /var/www/html/admin/modules/cxpanel/lib/CXPest.php on line 0

==> /var/log/asterisk/freepbx_dbug <==
2014-Jun-21 17:05: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_optimizer.license_path is properly configured in php.ini!

2014-Jun-21 17:05:01	/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0
[WARNING]: License check failed!

amportal a ma list

Please wait...

no repos specified, using: [standard,extended,unsupported,commercial] from last GUI settings

Module              Version           Status
------------------- ----------------- ------------------- 
accountcodepreserve 2.11.0.0          Enabled
announcement        2.11.0.4          Enabled
areminder           2.10.1.4          Broken
asterisk-cli        2.11.0.3          Enabled
asteriskinfo        2.11.0.89         Enabled
backup              2.11.0.18         Enabled
blacklist           2.11.0.5          Enabled
broadcast           2.9.0.7           Enabled
builtin                               Enabled
bulkdids            2.11.1.2          Enabled
bulkextensions      2.11.0.7          Enabled
callback            2.11.0.3          Enabled
callerid            2.10.0.5          Enabled
callforward         2.11.5            Enabled
callrecording       2.11.0.8          Enabled
callwaiting         2.11.0.4          Enabled
campon              2.11.0.2          Enabled
cdr                 2.11.0.11         Enabled
cidlookup           2.11.1.10         Enabled
conferences         2.11.0.5          Enabled
contactdir          2.11.0.1          Enabled
core                2.11.0.30         Enabled
customappsreg       2.11.0.2          Enabled
customcontexts      2.11.0.1          Enabled
cxpanel             3.1.3             Enabled
dahdiconfig         2.9.0.1           Disabled; Pending upgrade to 2.11.45
dashboard           2.11.0.5          Enabled
daynight            2.11.0.4          Enabled
dictate             2.11.0.3          Enabled
digium_phones       2.11.1.0          Enabled
digiumaddoninstaller2.11.0.4          Enabled
directory           2.11.0.5          Enabled
directorypro        2.9.0.13          Enabled
disa                2.11.0.5          Enabled
donotdisturb        2.11.0.3          Enabled
dundicheck          2.11.0.3          Enabled
endpointman         2.11.5.3          Enabled
extensionsettings   2.11.0.2          Enabled
fax                 2.11.0.9          Enabled
faxpro              2.9.0.18          Enabled
featurecodeadmin    2.11.0.2          Enabled
findmefollow        2.11.0.6          Enabled
framework           2.11.0.37         Enabled
fw_ari              2.11.0.7          Enabled
fw_fop              2.10.0.3          Disabled
fw_langpacks        2.11.0.0          Enabled
hotelwakeup         2.11.3            Enabled
iaxsettings         2.11.0.3          Enabled
infoservices        2.11.0.3          Enabled
irc                 2.11.0.4          Enabled
ivr                 2.11.0.6          Enabled
javassh             2.11.1            Enabled
languages           2.11.0.2          Enabled
languagestatus      2.10.0.0          Enabled
logfiles            2.11.1.3          Enabled
manager             2.11.0.3          Enabled
miscapps            2.11.0.2          Enabled
miscdests           2.11.0.2          Enabled
music               2.11.0.3          Enabled
outboundnotification2.9.1.2           Enabled
outroutemsg         2.11.0.2          Enabled
paging              2.11.0.9          Enabled
parking             2.11.0.15         Enabled
pbdirectory         2.11.0.1          Enabled
phonebook           2.11.0.2          Enabled
phpagiconf          2.11.0.0          Enabled
phpinfo             2.11.0.1          Enabled
pinsets             2.11.0.4          Enabled
printextensions     2.11.0.1          Enabled
queueprio           2.11.0.2          Enabled
queues              2.11.0.22         Enabled
qxact_reports       2.9.0.9           Enabled
recordings          3.4.0.3           Enabled
restart             2.11.0.1          Enabled
ringgroups          2.11.0.5          Enabled
setcid              2.11.0.4          Enabled
sipsettings         2.11.0.9          Enabled
sipstation          2.11.1.6          Enabled
sng_mcu             2.11.0.3          Enabled
speeddial           2.11.0.1          Enabled
superfecta          2.11.12           Enabled
sysadmin            2.9.0.19          Enabled
timeconditions      2.11.0.9          Enabled
tts                 2.11.0.9          Enabled
ttsengines          2.11.0.3          Enabled
userpaneltab        2.11.0.1          Enabled
vmblast             2.11.0.2          Enabled
vmnotify            2.9.1.8           Enabled
voicemail           2.11.1.6          Enabled
weakpasswords       2.11.0.1          Enabled
webcallback         2.9.0.8           Enabled

rm -Rf /var/www/html/admin/modules/cxpanel

You guys are the best!!

We got it up and running and back on track!!

Please suggest what should we do moving ahead.

Thanks a lot!!

I moved a post to an existing topic: Gui blank after

In an effort to not get flamed (again) for posting something, I figured I’d just throw something out here on the internet for anyone that happens to run by this.

Ran a FreePBX upgrade this morning that bricked my amportal. Was getting:

PHP Fatal error: Call to undefined function setup_userman() in /var/www/html/admin/modules/cxpanel/lib/PHPMailer/class.phpmailer.php on line 0

After running an strace on module admin I found this:
lstat("/var/www/html/admin/modules/cxpanel/lib/PHPMailer/class.phpmailer.php", {st_mode=S_IFREG|0664, st_size=117475, …}) = 0

So I went into cxpanel/functions.inc.php and deleted the userman check… (lines 45-63)
//Setup userman hooks
if(!function_exists(‘setup_userman’)){
global $amp_conf;
$um = module_getinfo(‘userman’, MODULE_STATUS_ENABLED);
if(file_exists($amp_conf[‘AMPWEBROOT’].’/admin/modules/userman/functions.inc.php’) && (isset($um[‘userman’][‘status’]) && $um[‘userman’][‘status’] === MODULE_STATUS_ENABLED)) {
include_once($amp_conf[‘AMPWEBROOT’].’/admin/modules/userman/functions.inc.php’);
} else {
//dont do anymore work, we need userman and it needs to be enabled
}
if(function_exists(‘setup_userman’)) {
try {
$userman = setup_userman();
$userman->registerHook(‘addUser’,‘cxpanel_userman_add’);
$userman->registerHook(‘updateUser’,‘cxpanel_userman_update’);
} catch(\Exception $e) {
//dont do anymore work, we need userman and it needs to be enabled
}
}
}

– Reran the upgrade script and it worked fine. Just an FYI for anyone that sees this.

Where did you get flamed? This has been posted many times but deleting the cxpanel directory and then re-downloading it through module admin will solve the issue as well