Internal Server Errors after Updating to RC 12

[root@rz156r2gw1nd2 ~]# amportal a ma upgrade framework

Fetching FreePBX settings with gen_amp_conf.php..

[root@rz156r2gw1nd2 ~]# amportal a r

Fetching FreePBX settings with gen_amp_conf.php..

[root@rz156r2gw1nd2 ~]# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.014 ms
^C
--- localhost ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1470ms
rtt min/avg/max/mdev = 0.014/0.023/0.032/0.009 ms


Still blank page after entering credentials on startpage:

http://<myip>/admin/config.php

white screen

log:

<accessip> - - [15/Sep/2014:19:11:22 +0200] "POST /admin/config.php HTTP/1.1" 500 - "http://<myip>/admin/config.php" "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0"

None of tips did work till now.

If you are getting a 500 error there will be an error in the http error log (/var/log/httpd/error_log) or from “amportal a dbug”

thats funny - I’ve check error log - but it’s empty.

Here it is the console output:

==> /var/log/asterisk/freepbx.log <==
[2014-Sep-15 19:15:08] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/functions.inc.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:15:08] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/functions.inc.php:0) - License check failed!
[2014-Sep-15 19:15:08] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/extensionroutes.extend.class.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:15:08] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/extensionroutes.extend.class.php:0) - License check failed!
[2014-Sep-15 19:20:02] [PHP-WARNING] (/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:20:02] [PHP-WARNING] (/var/www/html/admin/modules/qxact_reports/functions.inc/import_queue_data.php:0) - License check failed!
[2014-Sep-15 19:21:18] [INFO] (bin/freepbx_setting:39) - trying to run as user asterisk:
[2014-Sep-15 19:21:18] [INFO] (bin/freepbx_setting:40) -
[2014-Sep-15 19:21:18] [INFO] (bin/freepbx_setting:76) - [FPBXDBUGDISABLE] changed from previous value: [1] to new value: [0]
[2014-Sep-15 19:21:18] [INFO] (bin/freepbx_setting:77) -
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/areminder/functions.inc/functions.inc.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/areminder/functions.inc/functions.inc.php:0) - License check failed!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/callerid/functions.inc/functions.inc.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/callerid/functions.inc/functions.inc.php:0) - License check failed!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/calllimit/functions.inc/functions.inc.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/calllimit/functions.inc/functions.inc.php:0) - License check failed!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/conferencespro/functions.inc.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/conferencespro/functions.inc.php:0) - License check failed!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/cxpanel/brand.php:0) - file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/endpoint/functions.inc/functions_general.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/endpoint/functions.inc/functions_general.php:0) - License check failed!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/functions.inc.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/functions.inc.php:0) - License check failed!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/extensionroutes.extend.class.php:0) - No license for this product (PBXact) - make sure zend_loader.license_path is properly configured in your ini file!
[2014-Sep-15 19:21:31] [PHP-WARNING] (/var/www/html/admin/modules/extensionroutes/functions.inc/extensionroutes.extend.class.php:0) - License check failed!

Elfchen try this for fun, clear your browser’s cookies and try to access your freepbx. Not the /admin/config.php but the base url.

rm -Rf /var/www/html/admin/modules/extensionroutes && amportal a ma download extensionroutes && amportal a ma install extensionroutes

Hi all,

I tried to install the latest updates for my FreePBX yesterday and now my GUI access is broken. I get to the screen where I can select the admin or the user panel.

The User panel isn’t working and for the admin panel I’m stuck with a blank page when I enter my credentials.

Any help would be appreciated.

Best Regards.

already tried cookies - no luck. now trying console commands.

this worked for me:

[root@rz156r2gw1nd2 ~]# amportal a ma download extensionroutes

Fetching FreePBX settings with gen_amp_conf.php..

Downloading 31208 of 31208 (100%)

Untaring..Done
Module extensionroutes successfully downloaded

SETTING FILE PERMISSIONS..................chattr: Operation not supported while reading flags on /var/www/html/cxpanel
chattr: Operation not supported while reading flags on /var/www/html/ucp
chattr: Operation not supported while reading flags on /var/www/html/wcb.php
Done
Removing any dangling symlinks
Dangling symlinks removed
[root@rz156r2gw1nd2 ~]# amportal a ma install extensionroutes

Fetching FreePBX settings with gen_amp_conf.php..

extensionroutes table already exists, exiting
Module extensionroutes successfully installed

SETTING FILE PERMISSIONS..................chattr: Operation not supported while reading flags on /var/www/html/cxpanel
chattr: Operation not supported while reading flags on /var/www/html/ucp
chattr: Operation not supported while reading flags on /var/www/html/wcb.php
Done
Removing any dangling symlinks
Dangling symlinks removed
[root@rz156r2gw1nd2 ~]#

gui is loading and running.

thank you very much for your fast and great support.

1 Like

I fixed mine!

I tried PING localhost and it came back to 127.0.0.1
I tried amportal a s
I tried amportal a ma upgrade framework
I was getting the license error
I was getting the AMI credential failure
rm -Rf /var/www/html/admin/modules/extensionroutes && amportal a ma download extensionroutes && amportal a ma install extensionroutes

None of that worked.

I went nuclear… deleting the framework files and re-installing them.

rm -Rf /var/www/html/admin/modules/framework && amportal a ma install framework

/admin/config.php started working (no more blank white page).
Then I used module admin to download and update all of the modules to current.
All looks good here now…

(Your mileage may vary, void in Wisconsin…)

The last things I said to do were:

rm -Rf /var/www/html/admin/modules/extensionroutes
amportal a ma download extensionroutes
amportal a ma install extensionroutes

My main issue was that I had updated to 12.0.1rc19 and the admin panel quit working. /admin/config.php generated a blank/white page. No FreePBX admin for anything. Dead in the water.
I saw Andrew’s removal of the extensionroutes and that gave me the thought that I could trigger a new install for framework.

Thanks for your help, and guidance Andrew!

I confirm that Andrew’s instructions to delete and re-install extensionroutes solves the “Internal error…” problems.

Many thanks

I moved a post to an existing topic: FreePBX 12 Check Online Fails on RasPi

This particular issue is resolved and so to stop a downward spiral of issues that aren’t related I have broken the PI issues into a new thread. (see above)

This topic is now locked.