chCounter: MySQL error!
SQL query:
- SELECT
d.besucher_gesamt, d.besucher_heute, d.heute_timestamp, d.besucher_gestern,
d.`max_online:anzahl`, d.`max_online:timestamp`,
d.`max_besucher_pro_tag:anzahl`, d.`max_besucher_pro_tag:timestamp`,
d.`max_seitenaufrufe_pro_tag:anzahl`, d.`max_seitenaufrufe_pro_tag:timestamp`,
d.seitenaufrufe_gesamt, d.seitenaufrufe_heute, d.seitenaufrufe_gestern,
d.`durchschnittlich_pro_tag:timestamp`, d.`durchschnittlich_pro_tag:besucher`, d.`durchschnittlich_pro_tag:seitenaufrufe`,
d.`seitenaufrufe_pro_besucher:besucher`, d.`seitenaufrufe_pro_besucher:seitenaufrufe`,
d.js_aktiv, d.js_robots, d.js_alle,
d.timestamp_letztes_db_aufraeumen,
IF( p.id IS NOT NULL, p.id, -1 ) as diese_seite_id,
IF( c.nr IS NOT NULL, 1, 0 ) as counted, IF(c.nr IS NOT NULL, c.nr, 0) as besucher_nr, IF(c.seitenaufrufe IS NOT NULL, c.seitenaufrufe, 0) as besucher_seitenaufrufe,
IF(c.is_robot IS NOT NULL, c.is_robot, -1 ) as is_robot, IF( c.letzte_seite IS NOT NULL, c.letzte_seite, -1 ) as letzte_seite,
IF( online.id IS NOT NULL, online.id, 0) as online,
IF(i.tmp_blocked = 0, 1, 0) as ignored_user, IF( i.id IS NOT NULL, i.id, -1 ) as ignored_user_id
FROM `UTzonesql12`.`UTzoneCounter_data` AS d
LEFT JOIN `UTzonesql12`.`UTzoneCounter_pages` AS p
ON
p.wert = '/forum/video.php?s=83dd801b96018d5fbc0fd601f88bb989&do=viewtag&tag=★ung★'
AND p.homepage_id = 1
AND p.monat = 202501
LEFT JOIN `UTzonesql12`.`UTzoneCounter_counted_users` AS c
ON
( (c.ip = '18.97.14.85')
OR (c.ip LIKE '18.97.14%' AND c.user_agent = 'CCBot/2.0 (https://commoncrawl.org/faq/)')
)
AND c.timestamp >= 1736945260
LEFT JOIN `UTzonesql12`.`UTzoneCounter_online_users` as online
ON
c.nr = online.nr
AND online.timestamp_letzter_aufruf >= 1736945260
LEFT JOIN `UTzonesql12`.`UTzoneCounter_ignored_users` AS i
ON
( (i.ip = '18.97.14.85')
OR (i.ip LIKE '18.97.14%' AND i.user_agent = 'CCBot/2.0 (https://commoncrawl.org/faq/)')
)
AND i.timestamp >= 1736945260;
Error number: 1267
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='
Script stopped.