Cactiusers.org


It is currently Thu May 17, 2012 9:23 am




Post new topic Reply to topic  [ 5 posts ] 
 enabling plugins stops access to cacti 
Author Message
New User

Joined: Thu Jan 05, 2006 4:56 pm
Posts: 9
Post enabling plugins stops access to cacti
Jimmy

I am trying to set up a new system and have a strange problem. I do the install and it all works. I then default the config.php and install the plugin architecture and thold plugin. I then modify the cacti password back on the config.php . It all still works. However when I comment in the thold plugin line in config.php evertything stops working. I am greeted with a completely blank screen when I type in the URL! I do not get a login screen. :(

If I then comment back out the thold plugin line in config.php (as in default install) cacti starts working again. :(

In summary I can install the architecture but if I try and enable any plugin cacti stops working. I also have another completely working system to check and I can't see where I am going wrong.

Any help greatly appreciated.


Wed Jan 25, 2006 6:18 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: enabling plugins stops access to cacti
kramsay wrote:
Jimmy

I am trying to set up a new system and have a strange problem. I do the install and it all works. I then default the config.php and install the plugin architecture and thold plugin. I then modify the cacti password back on the config.php . It all still works. However when I comment in the thold plugin line in config.php evertything stops working. I am greeted with a completely blank screen when I type in the URL! I do not get a login screen. :(

If I then comment back out the thold plugin line in config.php (as in default install) cacti starts working again. :(

In summary I can install the architecture but if I try and enable any plugin cacti stops working. I also have another completely working system to check and I can't see where I am going wrong.

Any help greatly appreciated.


A blank screen usually indicates PHP errors. Can you enable the display php errors option in php.ini and set error reporting to E_ALL, and then restart the web service? This should then show you the specific errors.

If you don't want to do that, you can ofcourse turn the PHP error logging on, and then check the file you specify.


Wed Jan 25, 2006 6:51 pm
New User

Joined: Thu Jan 05, 2006 4:56 pm
Posts: 9
Post 
Will do, as soon as I get back to the machine tomorrow.
thanks


Wed Jan 25, 2006 10:31 pm
New User

Joined: Thu Jan 05, 2006 4:56 pm
Posts: 9
Post 
Jimmy

I have some more info from the apache error_log.

[client 127.0.0.1] PHP Parse error: parse error, unexpected T_VARIABLE in /usr/local/bin/cacti-0.8.6h/include/config.php
on line 41
[Thu Jan 26 10:06:48 2006] [error] [client 127.0.0.1] File does not exist: /usr/local/bin/cacti-0.8.6h/favicon.ico
[root@localhost http_logs]#


Here is the relevant part of my config.php. Only two changes have been made - password and the addition of the plugin changes.

$plugins = array();
$plugins[] = 'thold'
#$plugins[] = 'monitor'
#$plugins[] = 'reports';

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


Thu Jan 26, 2006 11:59 am
New User

Joined: Thu Jan 05, 2006 4:56 pm
Posts: 9
Post 
OK my fault ( and a VERY basic one to !!!) My syntax is wrong - I missed out the terminating ';'

Sorry =8-{


Thu Jan 26, 2006 2:23 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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: