Cactiusers.org


It is currently Tue Feb 07, 2012 5:48 pm




Post new topic Reply to topic  [ 3 posts ] 
 0.8.7e & 0.8.7e PA v2.6 - Plugin Management is blank 
Author Message
New User

Joined: Thu Apr 12, 2007 1:36 am
Posts: 5
Post 0.8.7e & 0.8.7e PA v2.6 - Plugin Management is blank
Hi,

I've just upgraded from 0.8.7b with PA 2.1 to 0.8.7e with PA 2.6

I've added the pa.sql file.

When I go to "Plugin Management" under "Configuration", the page is blank.

This has been discussed before:

topic1924.html

but running:

# php ./plugins/thold/extras/apply_realms.php

doesn't fix the blank page, all it does is add the "Configure Threshold Templates" option under Realm Permissions for the users.

Does anyone have any idea how I can get the Plugin Management page displaying?

My config is:

Quote:
Cacti Version - 0.8.7e
Plugin Architecture - 2.6
Poller Type - CMD.php
Server Info - Linux 2.6.18-164.11.1.el5xen
Web Server - Apache/2.2.3 (Scientific Linux)
PHP - 5.2.11
PHP Extensions - date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, gmp, session, iconv, posix, Reflection, standard, shmop, SimpleXML, SPL, sockets, exif, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, apache2handler, dbase, dom, gd, json, ldap, mbstring, mcrypt, mysqli, mysql, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, snmp, xmlreader, xmlrpc, xmlwriter, xsl, zip, XCache
MySQL - 5.0.77
RRDTool - 1.4.2
SNMP - 5.3.2.2
Plugins
    Documents (docs - v0.1)
    Host Info (hostinfo - v0.2)
    killspike (killspike - v0.1.0a)
    Device Monitoring (monitor - v0.8.2)
    rrdclean (RRD Cleaner - v1.2 (Hack Gilles Boulon))
    Global Plugin Settings (settings - v0.5)
    Network Tools (tools - v0.3)
    Update Checker (update - v0.4)
    uptime


Michael.


Fri Feb 26, 2010 2:20 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: 0.8.7e & 0.8.7e PA v2.6 - Plugin Management is blank
Can you enable php errors in your php.ini and restart apache?


Fri Feb 26, 2010 11:06 am
New User

Joined: Thu Apr 12, 2007 1:36 am
Posts: 5
Post Re: 0.8.7e & 0.8.7e PA v2.6 - Plugin Management is blank
Hi,

jimmy wrote:
Can you enable php errors in your php.ini and restart apache?


Hmm, good point, when I enter the Plugin Management console I get:

[Sat Feb 27 12:32:47 2010] [error] [client SPAM.SPAM.SPAM.SPAM] PHP Fatal error: Call to undefined function uptime_version() in /webpath/plugins.php on line 219, referer: http://SPAM.SPAM.SPAM.SPAM/

So I commented the line:

//$plugins[] = 'uptime';

in my config.php, restarted apache, went back into Plugin Management console and got:

[Sat Feb 27 12:34:03 2010] [error] [client SPAM.SPAM.SPAM.SPAM] PHP Fatal error: Call to undefined function uptime_version() in /webpath/plugins.php on line 219, referer: http://SPAM.SPAM.SPAM.SPAM/user_admin.php?a ... _edit&id=1

Hmm... so I then moved the ./plugins/uptime plugin out of the ./plugins directory, and then got:

[Sat Feb 27 12:39:07 2010] [error] [client SPAM.SPAM.SPAM.SPAM] PHP Fatal error: Cannot redeclare reportit_version() in /webpath/plugins/reportit/setup.php on line 176, referer: http://SPAM.SPAM.SPAM.SPAM/utilities.php

So I moved the reportit plugin out of ./plugins, after I did that the Plugin Management console displayed and I could see the plugins listed.

I also now see the thold plugin "install" link :) I clicked "install", then "enable" and all seems fine.

I then moved the "reportit" directory back into ./plugins, went back into the Plugin Management console, and the "Install" for the plugin showed up :)

Many thanks for the quick reply and tip. Hopefully this will also help people who end up with this problem and find this post.


Fri Feb 26, 2010 8:44 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: