Cacti / plugin_reportit

ReportIt Plugin for Cacti
GNU General Public License v2.0
7 stars 9 forks source link

Undefined function db_install_rename_table #31

Closed smiles1969 closed 6 years ago

smiles1969 commented 6 years ago

The plugin was installed and working, and even had some reports being created, however it errored and disabled itself. Upon trying to re-enable the plugin, this error is thrown to the apache error log:

PHP Fatal error: Call to undefined function db_install_rename_table() in /var/www/html/cacti/plugins/reportit/system/upgrade.php on line 44

Only place I could find that function was under cacti install so I added this to upgrade.php just to get plugin working again:

include_once('/var/www/html/cacti/install/functions.php');

browniebraun commented 6 years ago

Yep, that function has been moved in the meanwhile. Anyways, I will take care of that legacy version of ReportIt tonight and try to fix as much as I can before I start working again on its successor.

Regards -Andi

smiles1969 commented 6 years ago

Awesome! I have been hoping you would get some time to get it working..

It's the only thing keeping me from retiring our old cacti server running pre 1.0.

Please let me know if I can be of any assistance in this effort.

browniebraun commented 6 years ago

Fixed