Warning: Cannot modify header information

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
mirage
Posts: 24
Joined: Fri Feb 18, 2011 7:20 am

Warning: Cannot modify header information

Post by mirage »

Hi, I have a problem when setting the plug Thold.

Notice: Undefined index: keys in /usr/local/share/cacti/lib/plugins.php on line 174

Notice: Undefined index: keys in /usr/local/share/cacti/lib/plugins.php on line 174

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/cacti/lib/plugins.php:174) in /usr/local/share/cacti/plugins.php on line 71


same problem here. But the decision did not help me.

Yesterday downloaded the new version of the plugin
http://forums.cacti.net/viewtopic.php?f ... 0&start=45
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Warning: Cannot modify header information

Post by gandalf »

This is which version of Cacti and especially PIA?
It reminds me of a bug in PIA, which always expects keys to be defined apart from a primary key. But we already soilved that in PIA, IMHO
R.
mirage
Posts: 24
Joined: Fri Feb 18, 2011 7:20 am

Re: Warning: Cannot modify header information

Post by mirage »

gandalf wrote:This is which version of Cacti and especially PIA?
It reminds me of a bug in PIA, which always expects keys to be defined apart from a primary key. But we already soilved that in PIA, IMHO
R.

Cacti Version 0.8.7g
Plugin Architecture Version: 2.9
PHP Version 5.3.8
FreeBSD 7.1-RELEASE
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Warning: Cannot modify header information

Post by TheWitness »

I know this was fixed in 3.0, but I thought it was fixed before then. It might benefit you to look into updating 'lib/plugins.php', or simply turn off 'display_errors' from Apaches php.ini file.

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?
mirage
Posts: 24
Joined: Fri Feb 18, 2011 7:20 am

Re: Warning: Cannot modify header information

Post by mirage »

Thank you, I ignored this error. I believe that this is not so important.

And can you help me here with this problem?

http://forums.cacti.net/viewtopic.php?f=17&t=45540
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests