Host: Localhost Fatal error: Call to undefined function
Moderators: Developers, Moderators
Host: Localhost Fatal error: Call to undefined function
Hi,
I'm trying install cacti on my system.
I'm using gentoo linux with apache-2.0.54-r7 mysql-4.0.24 and cacti-0.8.6e
I make configurations mencioned in the web documentation and the login section, settings, System Utilities works fine but section like DEVICE and GRAPH dosn't work. The follow message is showed when i click on DEVICE:
Fatal error: Call to undefined function: input_validate_input_number() in /var/www/localhost/htdocs/cacti/host.php on line 658
Somebody knows i can ?
I'm trying install cacti on my system.
I'm using gentoo linux with apache-2.0.54-r7 mysql-4.0.24 and cacti-0.8.6e
I make configurations mencioned in the web documentation and the login section, settings, System Utilities works fine but section like DEVICE and GRAPH dosn't work. The follow message is showed when i click on DEVICE:
Fatal error: Call to undefined function: input_validate_input_number() in /var/www/localhost/htdocs/cacti/host.php on line 658
Somebody knows i can ?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Um....
Sounds like gentoo package might be broken...
I will email the maintainer.
Sounds like gentoo package might be broken...
I will email the maintainer.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Can you please file a bug on bugs.gentoo.org and assign it to the netmon@gentoo.org address? I'll see if I can troubleshoot this later tonight.
Any ideas whats wrong?
Any ideas whats wrong?
Ok, I found out that the tarball I have digested for 0.8.6e isn't the same as the site. Somehow that got changed when we moved it up. I did a diff on the two tarballs and didn't see anything. The only thing that was different was that the tarball we have is a few bytes smaller than the official one.
I just committed new digests and uploaded a new tarball for the mirrors. Give that about 4-6 hours to catch up (Or just manually grab the tarball from the cacti site), and see if that fixes your problem.
Cheers-
I just committed new digests and uploaded a new tarball for the mirrors. Give that about 4-6 hours to catch up (Or just manually grab the tarball from the cacti site), and see if that fixes your problem.
Cheers-
-
- Posts: 1
- Joined: Wed Jul 06, 2005 8:33 am
Solution
Greetings,
I had this same problem and just found the following problem/solution:
The gentoo update does not overwrite your include/config.php file because it includes your database login info.
Unfortunately, it also has another change that adds an include for lib/html_validate.php, which is where the input_validate_blah_blah function is. I copied the version of config.php out of the tarball, then re-added my db login info, and all was right with the world.
-- - keith
I had this same problem and just found the following problem/solution:
The gentoo update does not overwrite your include/config.php file because it includes your database login info.
Unfortunately, it also has another change that adds an include for lib/html_validate.php, which is where the input_validate_blah_blah function is. I copied the version of config.php out of the tarball, then re-added my db login info, and all was right with the world.
-- - keith
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Did you rename the include/config.php.dist to include/config.php and reconfigure your database settings again. Does this solve the problem?
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Solution
This is what fixed it for me as wellkeithpiepho wrote:Greetings,
I copied the version of config.php out of the tarball, then re-added my db login info, and all was right with the world.
Re: Host: Localhost Fatal error: Call to undefined funct
Gessy wrote:Hi,
I'm trying install cacti on my system.
I'm using gentoo linux with apache-2.0.54-r7 mysql-4.0.24 and cacti-0.8.6e
I make configurations mencioned in the web documentation and the login section, settings, System Utilities works fine but section like DEVICE and GRAPH dosn't work. The follow message is showed when i click on DEVICE:
Fatal error: Call to undefined function: input_validate_input_number() in /var/www/localhost/htdocs/cacti/host.php on line 658
Somebody knows i can ?
Hi, sorry for my English, I m just french (lol)
I have the same problem as you. But for resolve it, i modify /etc/cacti.conf. In the include path, i add include_once($config["library_path"] . "/html_validate.php");
After Cacti run normally
Bye, guy
Who is online
Users browsing this forum: No registered users and 1 guest