Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I installed the lastest Cacti today and Plugin Architecture (a few hours ago) and when i do "/usr/local/bin/php /usr/local/cacti/poller.php" i got errors.
Operation System: CentOS 4.6 Final - x86_64 PHP Version: PHP 5.2.5 MySQL Version: 5.0.41
The Errors
[root@xxxxx ~]# /usr/local/bin/php /usr/local/cacti/poller.php
PHP Warning: reset(): Passed variable is not an array or object in /usr/local/cacti/lib/functions.php on line 146
Warning: reset(): Passed variable is not an array or object in /usr/local/cacti/lib/functions.php on line 146
PHP Warning: Variable passed to each() is not an array or object in /usr/local/cacti/lib/functions.php on line 147
Warning: Variable passed to each() is not an array or object in /usr/local/cacti/lib/functions.php on line 147
PHP Warning: reset(): Passed variable is not an array or object in /usr/local/cacti/lib/functions.php on line 146
Warning: reset(): Passed variable is not an array or object in /usr/local/cacti/lib/functions.php on line 146
PHP Warning: Variable passed to each() is not an array or object in /usr/local/cacti/lib/functions.php on line 147
Warning: Variable passed to each() is not an array or object in /usr/local/cacti/lib/functions.php on line 147
Here are line 146 and 147 from the file /usr/local/cacti/lib/functions.php
Line 146: reset($settings); Line 147: while (list($tab_name, $tab_array) = each($settings)) {
Can somebody help me out with this problem? I'll hope it can be fixed soon, because now my graphs doesn't work
Policy of the Cacti Group is to deliver patches to correct issues. This way, we won't get mixed up by different code having the same version info. This is mentioned in the manuals linked by the 3rd link of my sig
Reinhard