Code: Select all
top_dashboard.php
include "mysqlconecta.php";
include "mysqlexecuta.php";
Thanks
Moderators: Developers, Moderators
Code: Select all
top_dashboard.php
include "mysqlconecta.php";
include "mysqlexecuta.php";
Code: Select all
Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 37
Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 54
PHP Notice: Undefined index: dashboard_edit.php: in C:\cacti\lib\functions.php on line 1830 PHP Notice: Undefined index: dashboard_edit.php: in C:\cacti\lib\functions.php on line 1830 PHP Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 37 PHP Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 54 .
I fixed the errors above , I added an else statement for when the 'action' variable is null or empty!zoemu wrote:THANKS, that got rid of quiet bit off errors , but now i'm getting errors on dashboard_edit.php
Any insight please ???Code: Select all
Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 37 Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 54 PHP Notice: Undefined index: dashboard_edit.php: in C:\cacti\lib\functions.php on line 1830 PHP Notice: Undefined index: dashboard_edit.php: in C:\cacti\lib\functions.php on line 1830 PHP Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 37 PHP Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 54 .
Code: Select all
Notice: Undefined index: dashboard_edit.php:edit_dash in C:\cacti\lib\functions.php on line 1830
zoemu wrote:I fixed the errors above , I added an else statement for when the 'action' variable is null or empty!zoemu wrote:THANKS, that got rid of quiet bit off errors , but now i'm getting errors on dashboard_edit.php
Any insight please ???Code: Select all
Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 37 Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 54 PHP Notice: Undefined index: dashboard_edit.php: in C:\cacti\lib\functions.php on line 1830 PHP Notice: Undefined index: dashboard_edit.php: in C:\cacti\lib\functions.php on line 1830 PHP Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 37 PHP Notice: Undefined variable: action in C:\cacti\plugins\dashboard\dashboard_edit.php on line 54 .
but, now i'm getting
and also, shoudn't the graph list display the grpah name instead of whatever is displayinmg now ?? look at the attached file, you cannot make up which file name is whichCode: Select all
Notice: Undefined index: dashboard_edit.php:edit_dash in C:\cacti\lib\functions.php on line 1830
thanks again
Code: Select all
$nav["dashboard_edit.php:"] = array
(
"title" => "Dashboard Edit",
"mapping" => "index.php:",
"url" => "dashboard_exit.php",
"level" => "1"
);
$nav["dashboard_edit.php:edit_dash"] = array
(
"title" => "Dashboard Edit",
"mapping" => "index.php:",
"url" => "dashboard_exit.php",
"level" => "1"
);
Code: Select all
$SQL = "select g.local_graph_id, g.title, g.title_cache from graph_templates_graph g WHERE g.title_cache != '' order by g.title_cache";
cigamit wrote:Also, I changed the SQL query you posted to thisIt removes all those blank entries and sorts them properly in the list.Code: Select all
$SQL = "select g.local_graph_id, g.title, g.title_cache from graph_templates_graph g WHERE g.title_cache != '' order by g.title_cache";
Users browsing this forum: No registered users and 2 guests