PHP-MBSTRING is a requirement of PHP SysInfo. System Statistics are disabled until that package is installed.
This can be resolved by installing the ‘php-mbstring’ package on most distributions, and then restarting Apache
The resolution is pointed out within. Install php-mbstring, then restart apache. The distro won’t do it until the next updates for the distro are sent out. Modules can’t install system level packages*.
Until the next upgrade comes out for the distro simply install the package manually. It will take you all of 20 seconds.
Why are they sending out updates the distro can’t handle? Shouldn’t they update the distro before pushing modules that require pieces the distro doesn’t have?
I just checked again and a new distro was released about an hour ago, after I posted my problem. Better late than never I suppose.
Sometimes things happen. That is all I can really say without going into a ton of details. The fact remains that this update was purely cosmetic. If it was something that would have broken your ability to use the system then it would have not been pushed out but because it was visual only it was not pulled back.
Also remember we can only control the FreePBX Distro so any other Distro would have to also have this package installed. It was suppose to be installed all along and it got missed and when a change was made for some localization settings it caused your error.
I had this php-mbstring error too today. Tried to use yum to install and it said it was already installed. Now the message is gone but I have no system stats and “Asterisk Interface Manager (astman) failure.”
Then I tried “yum reinstall php-mbstring” and it reinstalled. Still the same problem. “service httpd restart” doesn’t give any error messages. Everything seems to have blown up today.
Running FreePBX 12.0.45/AsteriskNOW distro.
[2015-Mar-20 14:05:21] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 31
[2015-Mar-20 14:05:21] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 24
[2015-Mar-20 14:05:21] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 21
[2015-Mar-20 14:05:22] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 24
[2015-Mar-20 14:05:22] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 22
[2015-Mar-20 14:05:22] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 29
[2015-Mar-20 14:05:22] [PHP-DEPRECATION_WARNING] (/var/www/html/admin/libraries/BMO/GPG.class.php:510) - Comments starting with ‘#’ are deprecated in Unknown on line 23
[2015-Mar-20 14:06:05] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:06:05] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:06] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:06:06] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:06] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:06:06] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:06] [PHP-WARNING] (/var/www/html/admin/libraries/php-asmanager.php:345) - fsockopen(): unable to connect to localhost:5038 (Connection refused)
[2015-Mar-20 14:06:06] [CRITICAL] (admin/bootstrap.php:139) - Connection attmempt to AMI failed
[2015-Mar-20 14:06:06] [PHP-WARNING] (/var/www/html/admin/modules/cxpanel/brand.php:3) - file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
[2015-Mar-20 14:06:06] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-Mar-20 14:06:09] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:06:09] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:13] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:06:13] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:22] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:06:22] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:22] [PHP-WARNING] (/var/www/html/admin/modules/cxpanel/brand.php:3) - file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
[2015-Mar-20 14:06:22] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-Mar-20 14:06:35] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:35] [PHP-WARNING] (/var/www/html/admin/modules/cxpanel/brand.php:3) - file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
[2015-Mar-20 14:06:35] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-Mar-20 14:06:35] [PHP-WARNING] (/var/www/html/admin/libraries/BMO/GuiHooks.class.php:243) - in_array() expects parameter 2 to be array, boolean given
[2015-Mar-20 14:06:35] [PHP-WARNING] (/var/www/html/admin/libraries/BMO/GuiHooks.class.php:40) - Invalid argument supplied for foreach()
[2015-Mar-20 14:06:35] [PHP-WARNING] (/var/www/html/admin/libraries/BMO/GuiHooks.class.php:40) - Invalid argument supplied for foreach()
[2015-Mar-20 14:06:35] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:47] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:06:47] [PHP-WARNING] (/var/www/html/admin/modules/cxpanel/brand.php:3) - file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
[2015-Mar-20 14:06:47] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48
[2015-Mar-20 14:06:47] [PHP-WARNING] (/var/www/html/admin/libraries/BMO/GuiHooks.class.php:243) - in_array() expects parameter 2 to be array, boolean given
[2015-Mar-20 14:06:47] [PHP-WARNING] (/var/www/html/admin/libraries/BMO/GuiHooks.class.php:40) - Invalid argument supplied for foreach()
[2015-Mar-20 14:06:47] [PHP-WARNING] (/var/www/html/admin/libraries/BMO/GuiHooks.class.php:40) - Invalid argument supplied for foreach()
[2015-Mar-20 14:06:47] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:07:00] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:07:00] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:07:02] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:07:02] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:08:00] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:08:00] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:08:01] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:08:01] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:08:30] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:54) - Undefined variable: amp_conf
[2015-Mar-20 14:08:30] [PHP-NOTICE] (/var/www/html/admin/libraries/view.functions.php:61) - Undefined variable: amp_conf
[2015-Mar-20 14:08:30] [PHP-WARNING] (/var/www/html/admin/modules/cxpanel/brand.php:3) - file_get_contents(/etc/schmooze/operator-panel-brand): failed to open stream: No such file or directory
[2015-Mar-20 14:08:30] [WARNING] (libraries/modulefunctions.legacy.php:7) - Depreciated Function module_getinfo detected in /var/www/html/admin/modules/cxpanel/functions.inc.php on line 48