I tried completing this howto again: viewtopic.php?t=31307
I seem to hit an error preventing adding Data Items (Add Data Items) to a newly created report. I think the plugin doesn't work at all in Cacti 1.2.21, as I have rather fresh installation and encountering multiple issues. Just in case i cloned newest version of reportit.
Main issue (page 12, almost at the very end;-))
Code: Select all
2022-06-09 21:16:49 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'reportit'
2022-06-09 21:16:49 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-06-09 21:16:49 - ERROR PHP ERROR in Plugin 'reportit': Uncaught Error: Call to undefined function get_graph_permissions_sql() in /var/www/html/plugins/reportit/items.php:175 Stack trace: #0 /var/www/html/plugins/reportit/items.php(51): standard() #1 {main} thrown in file: /var/www/html/plugins/reportit/items.php on line: 175
Code: Select all
[Thu Jun 09 21:18:52.717907 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Undefined index: ? in /var/www/html/lib/functions.php on line 3651, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.718234 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Trying to access array offset on value of type null in /var/www/html/lib/functions.php on line 3651, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.719149 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Undefined index: ? in /var/www/html/lib/functions.php on line 3653, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.719485 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Trying to access array offset on value of type null in /var/www/html/lib/functions.php on line 3653, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.755483 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Undefined index: ? in /var/www/html/lib/functions.php on line 3651, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.755950 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Trying to access array offset on value of type null in /var/www/html/lib/functions.php on line 3651, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.757383 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Undefined index: ? in /var/www/html/lib/functions.php on line 3653, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1
[Thu Jun 09 21:18:52.757858 2022] [php7:notice] [pid 575983] [client 192.168.1.23:40576] PHP Notice: Trying to access array offset on value of type null in /var/www/html/lib/functions.php on line 3653, referer: https://192.168.1.34/plugins/reportit/reports.php?action=report_edit&id=1