← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package zabbix - 1:2.4.7+dfsg-2ubuntu2.1

---------------
zabbix (1:2.4.7+dfsg-2ubuntu2.1) xenial; urgency=medium

  * d/control: add dependencies on split-out PHP7 packages (bcmath,
    mbstring, xml) needed by web frontend (LP: #1571534, .
  * debian/patches/always_populate_raw_post_data_not_in_php7.patch:
    Backport '[ZBX-9659] changed setup condition for checking
    always_populate_raw_post_data'.  Closes LP: #1572841.

 -- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx>  Mon, 27 Jun
2016 17:03:29 -0700

** Changed in: zabbix (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
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:
  Fix Released

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