Cacti / plugin_syslog

Syslog Plugin for Cacti
GNU General Public License v2.0
21 stars 16 forks source link

SQL error for syslog_report.php and database.php #68

Closed yingbaiibm closed 5 years ago

yingbaiibm commented 5 years ago

To Reproduce Steps to reproduce the behavior: 1) Add a syslog remove rule 2) Check syslog report rule page 3) Check log, error exist 2019/03/07 17:05:40 - CMDPHP PHP ERROR NOTICE Backtrace: (/var/www/html/cacti/plugins/syslog/syslog_reports.php[50]:syslog_report(), /var/www/html/cacti/plugins/syslog/syslog_reports.php[592]:CactiErrorHandler()) 2019/03/07 17:05:41 - ERROR PHP NOTICE in Plugin 'syslog': Undefined index: header in file: /var/www/html/cacti/plugins/syslog/syslog_reports.php on line: 592

Desktop (please complete the following information):

cigamit commented 5 years ago

I can not find where this error is found in syslog_reports.php. Can you please confirm that you are using the latest develop version?

yingbaiibm commented 5 years ago

check the syslog_reports.php has been updated in develop code. I will use the newest code and check again