Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


0.8.3 Data Sources

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
smartinez



Joined: 13 Mar 2003
Posts: 21
Location: Austin, Texas

PostPosted: Tue Sep 02, 2003 2:41 pm    Post subject: 0.8.3 Data Sources Reply with quote

Just wondering if anyone else is seeing this and if I may be breaking something:

I'm creating new data sources manually and everytime I've completed a new source and click save I get sent back to the Data Sources screen. However, in addtion to the entry I created there is a new "blank" entry that only has the "Active" column filled with a "No" and the "Template Name" column with "None". I've been deleting these as they get created and now I'm wondering if I may be breaking something. I've not tested but will shortly.

Anyone else see this?

-Samson
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Wed Sep 03, 2003 11:56 pm    Post subject: Reply with quote

Surprisingly it looks like this issue may have existed for a few versions, yet no one noticed it (or said anything). Here is a do-it-yourself version of the fix:

data_sources.php:96
Code:
if ((isset($_POST["save_component_data_source_new"])) && (!empty($_POST["data_template_id"]))) {


graphs.php:133
Code:
if ((isset($_POST["save_component_graph_new"])) && (!empty($_POST["graph_template_id"]))) {


-Ian
Back to top
smartinez



Joined: 13 Mar 2003
Posts: 21
Location: Austin, Texas

PostPosted: Tue Sep 09, 2003 1:36 pm    Post subject: Reply with quote

Thanks! So far so good, the fix appears to be working.

-Samson
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group