[Bug 1571534] [NEW] PHP Fatal error in zabbix-frontend-php

Launchpad Bug Tracker 1571534 at bugs.launchpad.net
Wed Jun 29 01:05:08 UTC 2016


You have been subscribed to a public bug by Nish Aravamudan (nacc):

[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

** Affects: zabbix (Ubuntu)
     Importance: Low
     Assignee: Nish Aravamudan (nacc)
         Status: Fix Released

** Affects: zabbix (Ubuntu Xenial)
     Importance: Undecided
         Status: New


** Tags: php7
-- 
PHP Fatal error in zabbix-frontend-php
https://bugs.launchpad.net/bugs/1571534
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list