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

PHP and SQL errors on the dashboard and screens

    Details

      Description

      Dashboard -> System status

      Undefined variable: item [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolverGeneral->getItemMacros() in include/classes/macros/CMacrosResolverGeneral.php:680]
      Argument 2 passed to CMacrosResolverGeneral::getItemLastValueMacro() must be of the type array, null given, called in include/classes/macros/CMacrosResolverGeneral.php on line 680 and defined [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolverGeneral->getItemMacros() ? CMacrosResolverGeneral->getItemLastValueMacro() in include/classes/macros/CMacrosResolverGeneral.php:563]
      Argument 2 passed to formatHistoryValue() must be of the type array, null given, called in include/classes/macros/CMacrosResolverGeneral.php on line 564 and defined [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolverGeneral->getItemMacros() ? CMacrosResolverGeneral->getItemLastValueMacro() ? formatHistoryValue() in include/items.inc.php:873]
      

      Dashboard -> Last 20 issues

      Undefined variable: item [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_latest_issues() ? CMacrosResolverHelper::resolveEventDescription() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolverGeneral->getItemMacros() in include/classes/macros/CMacrosResolverGeneral.php:673]
      Undefined index: [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_latest_issues() ? CMacrosResolverHelper::resolveEventDescription() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolverGeneral->getItemMacros() ? item_get_history() ? CHistoryManager::getTableName() in include/classes/api/managers/CHistoryManager.php:72]
      Error in query [SELECT value FROM WHERE itemid='' AND clock='1397646122' AND ns='999999999' LIMIT 1 OFFSET 0] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemid='' AND clock='1397646122' AND ns='999999999' LIMIT 1 OFFSET 0' at line 1]
      Error in query [SELECT DISTINCT clock FROM WHERE itemid='' AND clock='1397646122' AND ns<'999999999'] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemid='' AND clock='1397646122' AND ns<'999999999'' at line 1]
      Error in query [SELECT MAX(clock) AS clock FROM WHERE itemid='' AND clock<'1397646122'] [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemid='' AND clock<'1397646122'' at line 1]
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sasha Alexander Vladishev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: