Lost in permissions

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
J.H.S.
Posts: 2
Joined: Thu Aug 19, 2010 2:55 am
Location: New Zealand
Contact:

Lost in permissions

Post by J.H.S. »

Hi,
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:
Notice: Undefined variable: policy in /var/www/cacti/user_admin.php on line 530,
588, 648, 707 for Device, Template and Tree respectively.
line 530 of user_admin.php:

Code: Select all

<?php form_dropdown("policy_graphs",$graph_policy_array,"","",$policy["policy_graphs"],"",""); ?>
When I try to >save< the user Management page of an existing user I get the error
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
line 457 of user_admin.php:

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.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Lost in permissions

Post by gandalf »

This is which version of cacti, please? With or without PIA?
R.
J.H.S.
Posts: 2
Joined: Thu Aug 19, 2010 2:55 am
Location: New Zealand
Contact:

Re: Lost in permissions

Post by J.H.S. »

Hi, sorry - its
Version 0.8.7g and
Plugin Architecture Version: 2.8

and installed plugins are Weathermap, Monitor, Thold and settings.

cheers,
J.H.S.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests