2017/07/23 16:56:28 - ERROR PHP COMPILE_ERROR in Plugin 'thold': Cannot redeclare png2jpeg() (previously declared in /usr/share/cacti/site/lib/reports.php:1244) in file: /usr/share/cacti/site/plugins/thold/thold_functions.php on line: 3054
2017/07/23 16:56:28 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold'
THOLD redeclares png2jpg
Moderators: Developers, Moderators
THOLD redeclares png2jpg
We're attempting to migrate from 0.8.8h to 1.1.13. When we installed the THOLD plugin (v 0.5), we get the following error.
---------
The Glue Guy
The Glue Guy
Re: THOLD redeclares png2jpg
So I commented out that redundant function. I am now getting hung up on an undeclared function split() coming from thold/includes/polling.php
2017/07/23 19:44:14 - ERROR PHP ERROR in Plugin 'thold': Uncaught Error: Call to undefined function split() in /usr/share/cacti/site/plugins/thold/includes/polling.php:28
2017/07/23 19:37:44 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'thold'
---------
The Glue Guy
The Glue Guy
Re: THOLD redeclares png2jpg
OK. Replaced split() with explode() per some bug reports I saw on the web regarding issues with Debian and PHP 7.
THOLD now seems to be working. Do this:
THOLD now seems to be working. Do this:
- Comment out png2jpg
- Replace split() with explode()
---------
The Glue Guy
The Glue Guy
Re: THOLD redeclares png2jpg
If you are using the 1.X releases of Cacti, you need to be using the latest version of Thold.
https://github.com/Cacti/plugin_thold/
The old version 0.5 isn't compatible with the latest Cacti, not sure how you even got past the Plugin Management page to install it, as it shouldn't have let you.
https://github.com/Cacti/plugin_thold/
The old version 0.5 isn't compatible with the latest Cacti, not sure how you even got past the Plugin Management page to install it, as it shouldn't have let you.
Re: THOLD redeclares png2jpg
Sheesh. I must have missed the memo on this. I will say that I had to do some editing of THOLD to get it to run.
It fell on its face again after I wrote my last entry on this. I'll D/L the new THOLD and see how it goes.
Thanks Jimmy!
It fell on its face again after I wrote my last entry on this. I'll D/L the new THOLD and see how it goes.
Thanks Jimmy!
---------
The Glue Guy
The Glue Guy
Who is online
Users browsing this forum: No registered users and 2 guests