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

Martin Pitt martin.pitt at ubuntu.com
Thu Oct 13 14:08:49 UTC 2016


Hello Vitaliy, or anyone else affected,

Accepted zabbix into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/zabbix/1:2.4.7+dfsg-
2ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

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

** Tags added: verification-needed

-- 
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:
  Fix Committed

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