problem with nectar

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
chinaxx
Posts: 1
Joined: Thu Sep 08, 2011 1:10 am

problem with nectar

Post by chinaxx »

hi,all

i get follow info at apache errlog,when i click "create" in cacti's nectar,and have no photo by created in cacti's nectar plug.

[Thu Sep 08 16:37:21 2011] [error] [client 192.168.100.93] PHP Parse error: syntax error, unexpected T_STRING in /usr/local/apache/htdocs/cacti/lib/functions.php(316) : eval()'d code on line 1, referer: http://211.1.1.9/cacti/plugins/nectar/n ... =edit&id=0

[Thu Sep 08 16:37:21 2011] [error] [client 192.168.100.93] PHP Notice: Undefined variable: message in /usr/local/apache/htdocs/cacti/lib/functions.php on line 322, referer: http://211.1.1.9/cacti/plugins/nectar/n ... =edit&id=0

anyone can help me?

my server info:
cacti-0.8.7g
cacti-plugin-0.8.7g-PA-v2.9
cacti-spine-0.8.7g
PHP 5.3.6
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: problem with nectar

Post by gandalf »

Which version of nectar is used? Can you post a screenshot of the web page when error is thrown?
R.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: problem with nectar

Post by TheWitness »

I guess it's fixed now...
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?
halttos
Posts: 1
Joined: Fri Sep 02, 2011 3:03 am

Re: problem with nectar

Post by halttos »

Same problem in here. When I try to save the new report, Nectar report error messages:

Parse error: syntax error, unexpected T_STRING in /cacti/lib/functions.php(316) : eval()'d code on line 1

Notice: Undefined variable: message in /cacti/lib/functions.php on line 322


Cacti Version: 0.8.7g
Plugin Architecture Version: 2.8
Nectar Version: 0.32
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: problem with nectar

Post by TheWitness »

The latest PIA/trunk/lib/functions.php will resolve this issue.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests