Ad Widget

Collapse

beta7 issue #2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crs9
    Member
    • Feb 2006
    • 35

    #1

    beta7 issue #2

    I created a host using a template and everything was created fine. When I deleted the host I got errors of:
    Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']Error in query [select distinct c.actionid from conditions c, triggers t where c.conditiontype=CONDITION_TYPE_TRIGGER and c.value=t.triggerid] [Unknown column 'CONDITION_TYPE_TRIGGER' in 'where clause']

    Upon looking around the only issue I found was the graphs for that host were not removed, everything else appears to be gone. It shows the graphs there, but the host column is blank.

    Thanks
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    Good to hear i'm not the first one upgrading.

    I always get a load of surprises when upgrading.
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    • mconigliaro
      Senior Member
      • Jun 2005
      • 116

      #3
      i can confirm this problem.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Thanks for reporting this. In order to fix replace:

        " where c.conditiontype=CONDITION_TYPE_TRIGGER".

        by

        " where c.conditiontype=".CONDITION_TYPE_TRIGGER.


        in triggers.inc.php

        Fixed in CVS.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • crs9
          Member
          • Feb 2006
          • 35

          #5
          thanks for the quick fix. My question is I assume it fixes the error mesage, am I correct in assmuning the graph deleting is a different problem?

          Thanks

          Comment

          • Alexei
            Founder, CEO
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Sep 2004
            • 5654

            #6
            Removal of graphs is a different issue. I cannot confirm if it really exists yet.
            Alexei Vladishev
            Creator of Zabbix, Product manager
            New York | Tokyo | Riga
            My Twitter

            Comment

            • haxor
              Junior Member
              • Jul 2005
              • 11

              #7
              warning messages

              I did that fix which took care of the errors, but I still get a bunch of warnings that are all the same. they are:

              Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/localhost/htdocs/zabbix/include/db.inc.php on line 111

              and ideas?

              Comment

              Working...