I've modified the error message to show the SQL request done. Here it is below:
Code: Select all
SELECT CONVERT(GROUP_CONCAT(concat(t2.`rule_id`, ' [',t3.name, ']'),';\r\n' SEPARATOR '') USING UTF8) as rules_name,t1.*,host.description, host.host_template_id, host.id as device_id FROM (SELECT * FROM `cacti`.`plugin_camm_syslog` where `id`='60159' ) as t1 Left join host on (t1.`host`=`host`.`hostname` ) left join plugin_camm_keys as t2 on (t2.`krid`=t1.`id`) left join plugin_camm_rule as t3 on (t2.rule_id=t3.id) ;
Code: Select all
mysql> SELECT CONVERT(GROUP_CONCAT(concat(t2.`rule_id`, ' [',t3.name, ']'),';\r\n' SEPARATOR '') USING UTF8) as rules_name,t1.*,host.description, host.host_template_id, host.id as device_id FROM (SELECT * FROM `cacti`.`plugin_camm_syslog` where `id`='60159' ) as t1 Left join host on (t1.`host`=`host`.`hostname` ) left join plugin_camm_keys as t2 on (t2.`krid`=t1.`id`) left join plugin_camm_rule as t3 on (t2.rule_id=t3.id) ;
ERROR 1140 (42000): Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
mysql>
Potentially, the problem in CAMM 1.6.62 is in the file camm_db.php at lines 826 and 969.
Is somebody able to tell me if the mistake is from my side, or if it is not the case, is somebody able to provide a fix?
Thanks for your support.
KR.
[/code]