Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15931

http 500 error on triggers.php

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 4.2.1rc1, 4.4.0alpha1, 4.4 (plan)
    • 4.2.0rc2
    • Frontend (F)
    • None
    • Linux centos-zabbix7 3.10.0-862.2.3.el7.x86_64
    • Sprint 51 (Apr 2019)
    • 0.125

      I use 4.2.0 release, but it not presented in list of affected versions.

       

      Steps to reproduce:

      1. Open triggers page http://zabbix.mydomain.ru/triggers.php
      2. Enter host in Hosts field and click Apply
      3. Get 500: HTTP/1.0 500 Internal Server Error
      4. See url in address bar http://zabbix.mydomain.ru/triggers.php?filter_hostids%5B%5D=10295&filter_name=&filter_state=-1&filter_status=-1&filter_value=-1&filter_evaltype=0&filter_tags%5B0%5D%5Btag%5D=&filter_tags%5B0%5D%5Boperator%5D=0&filter_tags%5B0%5D%5Bvalue%5D=&filter_inherited=-1&filter_discovered=-1&filter_dependent=-1&filter_set=1
      5. See error in /var/log/httpd/error_log [Wed Apr 03 14:21:25.480711 2019] [:error] [pid 29752] [client 91.213.109.28:36928] PHP Fatal error: Call to undefined function boolval() in /usr/share/zabb
        ix/triggers.php on line 751, referer: http://zabbix.mydomain.ru/triggers.php


      See screenshot....
      See attached patch file...

        1. image-2019-04-03-14-23-59-482.png
          130 kB
          Smirnov Dmitriy
        2. image-2019-04-03-14-27-11-146.png
          55 kB
          Smirnov Dmitriy

            talbergs Mārtiņš Tālbergs (Inactive)
            Dimasmir Smirnov Dmitriy
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: