White Screen

Support for the Plugin Architecture

Moderators: Developers, Moderators

Post Reply
zarahel
Posts: 33
Joined: Wed Feb 06, 2008 3:49 pm

White Screen

Post by zarahel »

Good afternoon to you all

I have a fresh installation of Cacti 0.8.7 d and Plugin Arq 2.4

But as soon as I add the lines in config.php, when I try to access my cacti page all I get is a white screen:

$config['url_path'] = "/cacti/";
$plugins = array();
$plugins[] = 'monitor';
$plugins[] = 'weathermap';
$plugins[] = 'syslog';
$plugins[] = 'settings';
$plugins[] = 'dataquery';
$plugins[] = 'reportit';


What´s wrong here?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Backout all your plugins and get that working first. Then, add them one at a time. Remember PIA 2.x plugins work differently.

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

Post by cigamit »

First of all, you should be adding that to global.php, not config.php. The location changed once 0.8.7 was released.
kbartoletta
Cacti User
Posts: 146
Joined: Tue Oct 04, 2005 4:20 pm
Location: suwanee, ga
Contact:

same problem

Post by kbartoletta »

I am having the same problem. Just upgraded to 8.7d (which went fine) I then tried to install the new PA (cacti-plugin-0.8.7d-PAv2.4-1.tar)... and I am getting the white screen. There were not installation instructions with the new PA so I followed the instructions on the documentation page...

I noticed in my httpd log the following errors....which make reference to a "functions.php" file with I dont even have in my include directory....

************************************************************

[Thu Apr 09 10:39:17 2009] [error] [client 129.75.22.121] PHP Warning: include_once(/usr/share/cacti/lib/functions.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /usr/share/cacti/include/global.php on line 218
[Thu Apr 09 10:39:17 2009] [error] [client 129.75.22.121] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/share/cacti/lib/functions.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/include/global.php on line 218
[Thu Apr 09 10:39:17 2009] [error] [client 129.75.22.121] PHP Warning: include_once(/usr/share/cacti/lib/plugins.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /usr/share/cacti/include/global.php on line 220
[Thu Apr 09 10:39:17 2009] [error] [client 129.75.22.121] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/share/cacti/lib/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/include/global.php on line 220
[Thu Apr 09 10:39:17 2009] [error] [client 129.75.22.121] PHP Fatal error: Call to undefined function api_plugin_hook() in /usr/share/cacti/include/global_arrays.php on line 649

********************************************************

I also see a bunch of posts about PA.sql and importing it into the database... but there were no .sql files as part of the PA installation package. I figured this to be an easy upgrade but alot of people seem to be having issues with it. I had a tough time just finding the tar.gz format of the PA... Are there any descent installation instructions with this new PA?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Permission denied
Thats your main issue.

There is a pa.sql file included in the Plugin Architecture download.
kbartoletta
Cacti User
Posts: 146
Joined: Tue Oct 04, 2005 4:20 pm
Location: suwanee, ga
Contact:

Post by kbartoletta »

Maybe that is part of the problem... Do you have a link to the .tar.gz PA installation files. All I could find on cactiusers.org was the .zip. I found reference to a .tar.gz version in another post but there was no .sql file in there.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

I didn't make a tar.gz version this time around. I re-downloaded and double checked the zip, and the pa.sql file is in there in the root where the patch itself is.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests