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

creating host with linked template cause: Undefined variable: rows [include/triggers.inc.php:301]

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0rc1
    • 1.9.9 (beta)
    • Frontend (F)
    • None

      I have migrated system from zabbix 1.8.10 to 1.9.9 in testing environment.

      I have one test template with one simple check item (key: icmpping) and one trigger (expression: sum(#2)=0).

      When I want to create host linked to the template error is generated:

      ERROR: Cannot add host

      Created: Application "ICMP" on "test".
      Created: Item "ICMP Ping" on "test".
      Created: Trigger "host unreachable (ICMP)" on "test".
      Deleted: Trigger "host unreachable (ICMP)" on "Template Ping".
      Deleted: Trigger "host unreachable (ICMP)" on "Template FCX648".
      Deleted: Trigger "host unreachable (ICMP)" on "Template VDX6720".
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      Undefined variable: rows [include/triggers.inc.php:301]
      mysql_real_escape_string() expects parameter 1 to be string, array given [include/db.inc.php:616]
      mysql_real_escape_string() expects parameter 1 to be string, array given [include/db.inc.php:616]
      Error in query [INSERT INTO auditlog_details (auditdetailid,auditid,table_name,field_name,oldvalue,newvalue) VALUES (1603327,5861884,'','hosts',Array,Array)] [Unknown column 'Array' in 'field list']
      Updated: Trigger "host unreachable (ICMP)" on "test".

            Unassigned Unassigned
            rob Robert Jerzak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: