Problem in graph management - HELP

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

Moderators: Developers, Moderators

Post Reply
Marco C
Posts: 5
Joined: Wed Nov 19, 2008 6:11 am

Problem in graph management - HELP

Post by Marco C »

Hello to all,

I am with a problem in cacti, when I click in the Icon "graph management", and after I clik "add" in the select box appear:

"Undefined index: id in /var/www/cacti/lib/html.php on line 369 and
Undefined index: name in /var/www/cacti/lib/html.php on line 376".

I think the problem is in the function in graph.php:

function graph_edit() {
global $colors, $struct_graph, $image_types, $consolidation_functions, $graph_item_types, $struct_graph_item;

/* ================= input validation ================= */
input_validate_input_number(get_request_var("id"));
/* ==================================================== */

$use_graph_template = true;

if (!empty($_GET["id"])) {
......

When I do "echo ($_GET["id"]);" it comes empty with no id, Why????

Help will be appreciated.

Regards,

Marco C.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is which version of cacti, please?
Reinhard
Marco C
Posts: 5
Joined: Wed Nov 19, 2008 6:11 am

Post by Marco C »

Hello,

My cacti version is 0.8.7b.

Thanks in advanced,

Marco C
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest