Validation error

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

Moderators: Developers, Moderators

Post Reply
islander667
Posts: 6
Joined: Tue Aug 13, 2013 12:11 pm

Validation error

Post by islander667 »

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,
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Validation error

Post by cigamit »

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"
islander667
Posts: 6
Joined: Tue Aug 13, 2013 12:11 pm

Re: Validation error

Post by islander667 »

Thanks a lot.
przemorx
Posts: 4
Joined: Mon Apr 22, 2013 7:29 am

Re: Validation error

Post by przemorx »

Can you explain how I can upgrade my current Cacti (from Centos repo) to fix this bug ?
zimmerit
Posts: 1
Joined: Thu Aug 07, 2014 9:16 am

Re: Validation error

Post by zimmerit »

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.
jessepdx
Posts: 1
Joined: Mon Aug 11, 2014 12:35 pm

Re: Validation error

Post by jessepdx »

cacti just upgraded to Version 0.8.8b and i get "Validation error." when i try to add graph to a tree
romuald
Posts: 1
Joined: Wed Feb 04, 2015 9:15 am

Re: Validation error

Post by romuald »

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
greenhorn78
Posts: 3
Joined: Tue Apr 19, 2011 12:19 pm

Re: Validation error

Post by greenhorn78 »

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..
woytazdruh
Posts: 5
Joined: Tue Aug 25, 2015 7:11 am

Re: Validation error

Post by woytazdruh »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests