Cacti / plugin_syslog

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

php error when enter a value in Program filter and click go #81

Closed yingbaiibm closed 5 years ago

yingbaiibm commented 5 years ago

1) Go to Syslog page 2) Enter a value in Program filter and click go 3) Error exist

2019/05/16 14:41:16 - CMDPHP SQL Backtrace: (/plugins/syslog/syslog.php[42]:get_ajax_programs(), /plugins/syslog/syslog.php[1734]:syslog_db_fetch_assoc(), /plugins/syslog/database.php[106]:db_fetch_assoc(), /lib/database.php[448]:db_fetch_assoc_prepared(), /lib/database.php[462]:db_execute_prepared()) 2019/05/16 14:41:16 - CMDPHP ERROR: A DB Row Failed!, Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIKE '%cron%' ORDER BY program LIMIT 20' at line 1

yingbaiibm commented 5 years ago

passed retest