[Bug 1571534] Re: PHP Fatal error in zabbix-frontend-php
Mathew Hodson
mathew.hodson at gmail.com
Wed Aug 31 20:48:07 UTC 2016
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1571534
Title:
PHP Fatal error in zabbix-frontend-php
Status in zabbix package in Ubuntu:
Fix Released
Status in zabbix source package in Xenial:
In Progress
Bug description:
[Impact]
* zabbix PHP fronted fails to load after installation (zabbix-
frontend-php) due to fatal errors with loading mbstring (and then
others follow if that is fixed manually).
[Test Case]
`apt-get install zabbix-server-mysql zabbix-frontend-php`
Then follow
/usr/share/doc/zabbix-server-mysql/README.Debian
to populate the database.
Then follow
/usr/share/doc/zabbix-frontend-php/README.Debian
to configure the fronted. This document specifically mentions needing
to install an appropriate DB driver (e.g., php-mysql to use MySQL).
Attempt to proceed through all the screens at http://<ip of
container>/zabbix/setup.php, which will throw PHP errors if not fixed.
[Regression Potential]
* The version of the web frontend for zabbix in 16.04 does not
currently work at all. This update backports an upstream fix for a
ini-variable removal, and then updates the packaging to properly list
dependencies. The risk of regression is very low from these changes.
16.04 after php5->php7.0 I have blank page in frontend and php fatal error in apache2/error.log:
PHP Fatal error: Uncaught Error: Call to undefined function
mb_strlen() in
/usr/share/zabbix/include/classes/user/CProfile.php:330\nStack
trace:\n#0 /usr/share/zabbix/include/classes/user/CProfile.php(214):
CProfile::checkValueType('index.php', 3)\n#1
/usr/share/zabbix/include/menu.inc.php(351):
CProfile::update('web.menu.login....', 'index.php', 3)\n#2
/usr/share/zabbix/include/page_header.php(123):
zbx_construct_menu(Array, Array, Array)\n#3
/usr/share/zabbix/include/views/general.login.php(30):
require_once('/usr/share/zabb...')\n#4
/usr/share/zabbix/include/classes/core/CView.php(111):
include('/usr/share/zabb...')\n#5 /usr/share/zabbix/index.php(117):
CView->render()\n#6 {main}\n thrown in
/usr/share/zabbix/include/classes/user/CProfile.php on line 330
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zabbix/+bug/1571534/+subscriptions
More information about the Ubuntu-sponsors
mailing list