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.
[Mon Oct 17 02:55:59 2011] [error] [client 192.168.1.142] PHP Fatal error: Call to undefined function api_plugin_hook() in /var/www/cacti/include/global_arrays.php on line 698
Your global.php needs to be updated to the correct load order. Take the vanilla global.php from the PIA and install it. With Cacti 0.8.7g+ you should not have to touch global.php anyway. All the changes are in config.php.
TheWitness
True understanding begins only when we realize how little we truly understand...
Need more information. Can you start logging php to /tmp/php.log. Edit the php.ini file for both Apache and CLI. The setting is 'error_log=/tmp/php.log'. Restart apache afterwards. There needs to be some other error as I have not issues on Debian (Ubuntu), which is where I do most of my testing. RHEL6/CentOS6 is newer, but generally fine.
True understanding begins only when we realize how little we truly understand...
tail -f /var/log/httpd/error_log
[Tue Oct 25 17:21:17 2011] [error] [client 192.168.1.2] PHP Fatal error: Call to undefined function api_plugin_hook() in /var/www/html/cacti/include/global_arrays.php on line 698, referer: http://192.168.1.1/cacti/graphs.php?action=graph_edit&id=6
Some packets:
httpd-2.2.15-9.0.1.el6.x86_64
php-5.3.3-3.el6.x86_64