[solved] PIA 2.4 won't show anything in Plugin Management

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
Christian
Posts: 46
Joined: Thu Feb 14, 2008 4:24 am
Location: Oelde/Gütersloh, NRW, Germany

[solved] PIA 2.4 won't show anything in Plugin Management

Post by Christian »


SOLVED: The problem was the UPTIME plugin, it is OBSOLETE


Hi,

I just installed PIA 2.4 on Cacti 0.8.7d. I didn't use the patch, I copied the files. My plugin management is empty. The plugins seem to work. What did go wrong?

global.php:

Code: Select all

$plugins = array();
//$plugins[] = 'thold';
$plugins[] = 'uptime';
$plugins[] = 'realtime';

/* Do not edit this line */
$config = array();

/*
   Edit this to point to the default URL of your Cacti install
   ex: if your cacti install as at http://serverip/cacti/ this
   would be set to /cacti/
*/

$config['url_path'] = '/cacti/';
The only error in the apache error log:

Code: Select all

[Fri Apr 17 13:09:12 2009] [error] [client 145.228.83.198] PHP Fatal error:  Call to undefined function uptime_version() in /srv/www/htdocs/cacti/plugins.php on line 219
Well I just found the error. The fatal error the uptime plugin is causing breaks the whole plugin management page. If I remove the uptime directory out of the plugins direcetory the plugin management page is working fine.
So now my question is: "Why isn't the uptime plugin working?"
Attachments
Screenshot of Plugin Management
Screenshot of Plugin Management
cacti-0.8.7d-pia-2.4.PNG (27.14 KiB) Viewed 4692 times
cacti: 0.8.7g
spine: 0.8.7g
plugins:
specs: 2xIntel Xeon @ 2.40GHz | 6GiB RAM | CentOS 5.5 | PHP 5.1.6 | MySQL 5.0.77 | RRDTool 1.4.4 | Apache/2.2.3
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

In the future, please reply to your post, as well as adding 'SOLVED'. This makes it easier for admins who use the 'unanswered posts' filter.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests