Crafter 6 Report post Posted August 29, 2021 Hallo zusammen, nach dem Update unseres Shops von xt:Commerce 6.2.2 auf 6.3.3 kommt es bei der Produktsuche mit bestimmten Zeichen (wie z.B. ) zu folgenden SQL Fehlern: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'like'] in EXECUTE("SELECT COUNT(*) FROM xt_products p LEFT JOIN xt_products_description pd ON p.products_id = pd.products_id and pd.language_code = 'en' and pd.products_store_id = '1' left JOIN xt_products_permission group_permission ON (group_permission.pid = p.products_id and group_permission.pgroup = 'group_permission_1' ) LEFT JOIN xt_seo_url su ON (p.products_id = su.link_id and su.link_type='1' and su.store_id='1' and su.language_code = 'en' and su.store_id='1' ) WHERE p.products_id != '' and ((p.products_master_flag = 1) || ((p.products_master_flag is NULL || p.products_master_flag=0) && (p.products_master_model is NULL || p.products_master_model='') )) AND ( (pd.products_name LIKE '%Deutschland%' AND pd.products_name LIKE '%%') or (pd.products_keywords LIKE '%Deutschland%' AND pd.products_keywords LIKE '%%') or (p.products_model LIKE '%Deutschland%') ) and group_permission.permission IS NULL and p.products_status = '1' ") Die Tabelle xt_products_description hat wie die meisten anderen Tabellen auch die Kollation utf8_general_ci. Bei einer frischen neu Installierte xt 6.3.3. Version hat die Tabelle hingegen, anders als die meisten anderen Tabellen, die Kollation utf8mb4_general_ci. Können wir die Kollation unserer xt_products_description Tabelle bedenkenlos auf utf8mb4_general_ci abändern? Viele Grüße     Quote Share this post Link to post Share on other sites
NilsK 20 Report post Posted August 30, 2021 Hallo, bin mir nicht ganz sicher, aber ich würde mal auf "ja" tippen, da es bei dieser Einstellung meist um die Anzeige von Sonderzeichen, Umlaute, Smilies usw. geht. Hast Du es dem Helpdesk schon gemeldet, scheint ja, als ob es im Update einen Fehler oder so gibt? Herzliche Grüße Nils Quote Share this post Link to post Share on other sites
[email protected] 65 Report post Posted August 30, 2021 On 8/29/2021 at 4:27 PM, Crafter said: Können wir die Kollation unserer xt_products_description Tabelle bedenkenlos auf utf8mb4_general_ci abändern?  Vermutlich ja, aber kommt auf den Inhalt an, daher schwer zu sagen. (Halt mal ein Backup machen, dann ändern und danach ausführlich die Inhalte prüfen.) Quote Share this post Link to post Share on other sites
Klocke-Verlag 10 Report post Posted June 5 Hallo ! Ich habe nach dem Update gestern von 6.3.3. auf 6.4.3 genau diese Meldung auch: mysqli error: [1267: Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_general_ci,IMPLICIT) for operation '='] in EXECUTE("SELECT IFNULL( (SELECT p2.products_id FROM xt_products p1        INNER JOIN xt_products p2 ON p2.products_model = p1.products_master_model        WHERE p1.products_master_model > '' AND p1.products_id = NULL), 0) ")  Da ich nicht so erfahren bin, weiß ich leider nicht, wo ich da was ändern soll oder muss. Kann mir da jemand etwas näheres zu sagen ? Besten Dank im Voraus.  Gunter  Quote Share this post Link to post Share on other sites