Created attachment 326720 [details] diff from functions.php hi, there is a simple bug in cacti with PHP 5.4 it uses the session_unregister function and this is obsolete and removed in PHP5.4 here is a patch. please add the patch to the ebuild for working cacti and PHP 5.4 together. bye
We also have "Call to undefined function define_syslog_variables() in /var/www/localhost/htdocs/cacti/lib/functions.php on line 518" in poller.php.
OK i use cacti.log for logging. in this bugreport it is safe to simple remove this lines in php5.4 i think maybe it is smart to check the version before calling this function: if (PHP_VERSION_ID < 50300) { define_syslog_variables(); } so the function is only called if the version is lower than 5.3 this if clause around the function at all places should solve the problem and the deprecated errors in 5.3
Thank you, timtasse! Poller.php is alive again ;)
See also: http://bugs.cacti.net/view.php?id=2230
This patch was added to cacti-0.8.8a. New version bumped bug is fixed :) Thanks for report anyway.