Nector Save error
Moderators: Developers, Moderators
Nector Save error
Hi,
i am not able to save items in nector, what is missing.
i am not able to save items in nector, what is missing.
- Attachments
-
- nector.JPG (124.4 KiB) Viewed 4816 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please also post the error in your Cacti Log for the save. Looks to me that there is a problem with the plugin.
TheWitness
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?
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?
I'm getting the same error with version cacti 0.87g
firebug report an error when attempting to add a report
document.getElementById("cformat") is null
http://missnetmon/cacti/plugins/nectar/ ... ab=details
Line 87
The above would be located in file nectar_webapi.php
$save["cformat"] = (isset($_POST["cformat"]) ? "on" : "");
thxs
firebug report an error when attempting to add a report
document.getElementById("cformat") is null
http://missnetmon/cacti/plugins/nectar/ ... ab=details
Line 87
The above would be located in file nectar_webapi.php
$save["cformat"] = (isset($_POST["cformat"]) ? "on" : "");
thxs
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please try attached nectar 0.28 beta1
Please copy nectar/0.8.7g/html_utility.php to lib/html_utility.php. This patch will be included in next cacti087g
R.
Please copy nectar/0.8.7g/html_utility.php to lib/html_utility.php. This patch will be included in next cacti087g
R.
- Attachments
-
- nectar-028b1.tgz
- Please copy nectar/0.8.7g/html_utility.php to lib/html_utility.php
- (58.58 KiB) Downloaded 170 times
Hi I found a small glitch
in the code above the portion of version = '0.28 beta1' , if left as is, the plugin won't show up in the plugin management list, once I changed to 0.28 only it was visible again.
Thought you might want to know
Code: Select all
function nectar_version () {
return array(
'name' => 'nectar',
'version' => '0.28 beta1',
'longname' => 'Send Graphs via EMail',
'author' => 'Reinhard Scheck',
'homepage' => 'http://docs.cacti.net/plugin:nectar',
'email' => 'gandalf@cacti.net',
'url' => 'http://docs.cacti.net/plugin:nectar'
);
}
Thought you might want to know
I'm still getting the Field save error when I try to Add a new report
same error detected by firebug as above...
same error detected by firebug as above...
Code: Select all
document.getElementById("cformat") is null
http://cactiserver/cacti/plugins/nectar/nectar.php?action=edit&tab=details
Line 87
The above would be located in file nectar_webapi.php
$save["cformat"] = (isset($_POST["cformat"]) ? "on" : "");
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
When changing line 87 to
do things change? I honestly don't suppose so.
R.
Code: Select all
$save["cformat"] = (array_key_exists("cformat", $_POST) ? "on" : "");
R.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Next try: Change line 705 to read This first checks whether that element is available (and yes, for me it always is available)
R.
Code: Select all
if (document.getElementById('cformat') && document.getElementById('cformat').checked) {
R.
Who is online
Users browsing this forum: No registered users and 0 guests