Fatal error: Call to undefined function session_unregister() in /usr/local/apache2/htdocs/cacti/lib/functions.php on line 410
修改/usr/local/apache2/htdocs/cacti/lib/functions.php文件.
原文件
function kill_session_var($var_name) {
/* register_global = off: reset local settings cache so the user sees the new settings */
session_unregister($var_name); /* register_global = on: reset local settings cache so the user sees the new settings */
unset($_SESSION[$var_name]);
}
修改为:
function kill_session_var($var_name) {
/* register_global = off: reset local settings cache so the user sees the new settings */
/*session_unregister($var_name);*/
unset($_SESSION[$var_name]);
/* register_global = on: reset local settings cache so the user sees the new settings */
unset($_SESSION[$var_name]);
}