When I try to ‘add’ objects on the Graph Permissions for any user under user Management I get an error and the page for creating a user [new] is displayed, with these errors added:
588, 648, 707 for Device, Template and Tree respectively.Notice: Undefined variable: policy in /var/www/cacti/user_admin.php on line 530,
line 530 of user_admin.php:
Code: Select all
<?php form_dropdown("policy_graphs",$graph_policy_array,"","",$policy["policy_graphs"],"",""); ?>
line 457 of user_admin.php:Notice: Undefined index: id in /var/www/cacti/user_admin.php on line 457
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cacti/user_admin.php:457) in /var/www/cacti/user_admin.php on line 457
Code: Select all
header("Location: user_admin.php?action=user_edit&id=" . (empty($user_id) ? $_POST["id"] : $user_id));
I never had a problem like this before with cacti and don’t know if it is my setup, something I did or something actually not quite right. The problem is, I can’t pinpoint the error to a time when I changed something. I have deactivated all plugins and the only thing changed from default is LDAP authentication (which works, well I cant edit permissions, but the user is created and I can log in).
Any help, even if it is pointing to the right direction would be highly appreciated.