Validation error
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Tue Aug 13, 2013 12:11 pm
Validation error
My cacti was working great, i think this happened after centos upgrade, and now when i want to move a graph to a tree, it shows Validation error on a blank page.
Any help ? what could be wrong here ? this is the first time i am seeing this error.
cacti 8.8.b, cent OS 6.5 final.
Thanks,
Any help ? what could be wrong here ? this is the first time i am seeing this error.
cacti 8.8.b, cent OS 6.5 final.
Thanks,
Re: Validation error
SVN has been patched for this already. The Centos package manager will need to update the packages.
You should still be able to add a graph to the tree by going through "Graph Trees" instead of "Graph Management" or "Host Management"
You should still be able to add a graph to the tree by going through "Graph Trees" instead of "Graph Management" or "Host Management"
Re: Validation error
Can you explain how I can upgrade my current Cacti (from Centos repo) to fix this bug ?
Re: Validation error
I'm having a very similar issue. When I try to place a device on a tree I get the validation error on a blank page.
This is Cacti version 0.8.8b on CentOS 6.5, and placing a device on a tree used to be possible.
This is Cacti version 0.8.8b on CentOS 6.5, and placing a device on a tree used to be possible.
Re: Validation error
cacti just upgraded to Version 0.8.8b and i get "Validation error." when i try to add graph to a tree
Re: Validation error
I faced the same issue on CentOS 7 installation of cacti from epel. Replacing /usr/share/cacti/graphs.php file with the one found on the following link
http://svn.cacti.net/viewvc/cacti/branc ... threv=7458
didn't work for me. However replacing
input_validate_input_number(get_request_var_post('drp_action'));
string in graphs.php with this:
input_validate_input_regex(get_request_var_post('drp_action'), "^([a-zA-Z0-9_]+)$");
Worked for me.
Good luck
http://svn.cacti.net/viewvc/cacti/branc ... threv=7458
didn't work for me. However replacing
input_validate_input_number(get_request_var_post('drp_action'));
string in graphs.php with this:
input_validate_input_regex(get_request_var_post('drp_action'), "^([a-zA-Z0-9_]+)$");
Worked for me.
Good luck
-
- Posts: 3
- Joined: Tue Apr 19, 2011 12:19 pm
Re: Validation error
romuald wrote:I faced the same issue on CentOS 7 installation of cacti from epel. Replacing /usr/share/cacti/graphs.php file with the one found on the following link
http://svn.cacti.net/viewvc/cacti/branc ... threv=7458
didn't work for me. However replacing
input_validate_input_number(get_request_var_post('drp_action'));
string in graphs.php with this:
input_validate_input_regex(get_request_var_post('drp_action'), "^([a-zA-Z0-9_]+)$");
Worked for me.
Good luck
Hi romuald,
thank you very much for your post. I've been it the same situation (CentOS7 + Cacti 0.8.8b from EPEL) and your solution instantly helped me. Great! I'm using (not entirely of my will) CentOS for a new Cacti server, and I'm a bit disappointed by Cacti support of it's package maintainers, especially in comparation with OpenSUSE I've been using before..
-
- Posts: 5
- Joined: Tue Aug 25, 2015 7:11 am
Re: Validation error
Hello,
I had similar problem, but I wanted to apply tresholds from device menu.
And romuald advice really helped me a lot, but instead graphs.php I modify host.php file and after that everything goes smoothly.
Thank you
I had similar problem, but I wanted to apply tresholds from device menu.
And romuald advice really helped me a lot, but instead graphs.php I modify host.php file and after that everything goes smoothly.
Thank you
Who is online
Users browsing this forum: No registered users and 2 guests