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    


Custom time period and Validation Error

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: General
Author Message
kenth



Joined: 21 Sep 2004
Posts: 18

PostPosted: Mon Feb 26, 2007 3:01 pm    Post subject: Custom time period and Validation Error Reply with quote

We have three Cacti systems running, and on one of them any time you put in a custom time period you get just a blank page with "Validation error." on it. Has anyone see this? The one with the problem is 0.8.6i from a fresh install, the two that work were upgraded to 0.8.6i from previous versions.

Help?
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12635
Location: Muenster, Germany

PostPosted: Fri Mar 02, 2007 1:07 pm    Post subject: Reply with quote

This is a know issue. Please see the patches at cacti.net (make sure to download those for your version and not those for the current one)
Reinhard
Back to top
gwooden



Joined: 29 Dec 2006
Posts: 15

PostPosted: Wed Mar 07, 2007 9:30 am    Post subject: Reply with quote

Ever since I upgraded my RRDtool to 1.2.18 from 1.0.50, I am getting these as well. I running 0.8.6i, and it has the latest patches.

Thoughts?
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12635
Location: Muenster, Germany

PostPosted: Wed Mar 07, 2007 12:40 pm    Post subject: Reply with quote

Please try to change ./include/html/inc_timespan_settings.php to read:
Code:
...
/* ================= input validation ================= */
#input_validate_input_number(get_request_var_request("predefined_timespan"));
/* ==================================================== */
...
But this owuld be a security leak
Reinhard
Back to top
gwooden



Joined: 29 Dec 2006
Posts: 15

PostPosted: Mon Mar 12, 2007 9:42 am    Post subject: Reply with quote

Thanks I will try this. Just to let you know, this started happening after applying the official 0.8.6i patches.
Back to top
shadows142



Joined: 11 Oct 2008
Posts: 2

PostPosted: Sat Nov 15, 2008 4:45 am    Post subject: It Works Reply with quote

I had the same problem
Thank u gandalf it works now
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group