Hi everyone,
We had a Zabbix 2.0.6 installation that I upgraded to 2.2.2. The upgrade seemed to go well and the database upgraded, but now none of the graphs are rendering. I tried backing off to Zabbix 2.2.0 but no help. When I look at the console in Chrome it appears the Javascript thinks that it has some undefined variables:
The lines of Javascript that seem to be throwing the errors are:
Any ideas?
We had a Zabbix 2.0.6 installation that I upgraded to 2.2.2. The upgrade seemed to go well and the database upgraded, but now none of the graphs are rendering. I tried backing off to Zabbix 2.2.0 but no help. When I look at the console in Chrome it appears the Javascript thinks that it has some undefined variables:
Code:
body.scrollTop is deprecated in strict mode. Please use 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if in quirks mode. body.scrollLeft is deprecated in strict mode. Please use 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only if in quirks mode. Uncaught ReferenceError: timeControl is not defined charts.php?sid=7cf0453ce58c4aab&form_refresh=1&fullscreen=0&groupid=0&hostid=10084&graphid=528:29 Uncaught TypeError: Cannot call method 'add' of undefined charts.php?sid=7cf0453ce58c4aab&form_refresh=1&fullscreen=0&groupid=0&hostid=10084&graphid=528:34 event.returnValue is deprecated. Please use the standard event.preventDefault() instead. Calling LP_setval from A onloadwff.js:78
Code:
frontends/php/include/classes/screens/CScreenBase.php: zbx_add_post_js('window.flickerfreeScreen.add('.zbx_jsvalue($jsData).');');
frontends/php/include/classes/screens/CScreenBuilder.php: zbx_add_post_js('timeControl.addObject("scrollbar", '.zbx_jsvalue($options['timeline']).', '.zbx_jsvalue($timeControlData).');');
Comment