[Skip to main content](#vessel-content)

#   Illegal mix of collations

##

- **[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")**
- [![sl1200mk2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile") Topic Author
- [ Offline](/forum/user/44915-sl1200mk2)

Less More

- Posts: 51
- Thank you received: 8
-
-

1 year 8 months ago [\#366110](#366110) by [sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")  *[Illegal mix of collations](/forum/58-hikasubscription/909239-illegal-mix-of-collations#366110 "-- HikaShop version -- : 5.1.5 -- HikaSerial version -- : 5.0.0 -- Joomla version -- : 5.2.4 -- PHP version -- : 8.2.27 -- Browser(s) name and version -- : Brave  Bonjour, j'utilise HikaSubscription et j'ai cette erreur: Illegal mix of collations (latin1&#95;swedish&#95;ci,IMPLICIT) and (utf8mb4&#95;general&#95;ci,COERCIBLE) for operation 'like'  j'ai fait une recherche sur un n° de série de mon produit.  Cordialement, Nicolas")* was created by *[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")*

-- HikaShop version -- : 5.1.5
-- HikaSerial version -- : 5.0.0
-- Joomla version -- : 5.2.4
-- PHP version -- : 8.2.27
-- Browser(s) name and version -- : Brave

Bonjour,
j'utilise HikaSubscription et j'ai cette erreur:
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'like'

j'ai fait une recherche sur un n° de série de mon produit.

Cordialement,
Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTA5MjM5LWlsbGVnYWwtbWl4LW9mLWNvbGxhdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

1 year 8 months ago [\#366111](#366111) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Illegal mix of collations](/forum/58-hikasubscription/909239-illegal-mix-of-collations#366111 "-- HikaShop version -- : 5.1.5 -- HikaSerial version -- : 5.0.0 -- Joomla version -- : 5.2.4 -- PHP version -- : 8.2.27 -- Browser(s) name and version -- : Brave  Bonjour, j'utilise HikaSubscription et j'ai cette erreur: Illegal mix of collations (latin1&#95;swedish&#95;ci,IMPLICIT) and (utf8mb4&#95;general&#95;ci,COERCIBLE) for operation 'like'  j'ai fait une recherche sur un n° de série de mon produit.  Cordialement, Nicolas")*

Bonjour,

Pourriez-vous activer l'option "debug" de la configuration Joomla et essayer à nouveau ? Vous devriez avoir un message d'erreur plus complet qui devrait nous permettre de vous dire quoi faire.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTA5MjM5LWlsbGVnYWwtbWl4LW9mLWNvbGxhdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")**
- [![sl1200mk2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile") Topic Author
- [ Offline](/forum/user/44915-sl1200mk2)

Less More

- Posts: 51
- Thank you received: 8
-
-

1 year 8 months ago -  1 year 8 months ago [\#366131](#366131) by [sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")  Replied by *[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")* on topic *[Illegal mix of collations](/forum/58-hikasubscription/909239-illegal-mix-of-collations#366131 "-- HikaShop version -- : 5.1.5 -- HikaSerial version -- : 5.0.0 -- Joomla version -- : 5.2.4 -- PHP version -- : 8.2.27 -- Browser(s) name and version -- : Brave  Bonjour, j'utilise HikaSubscription et j'ai cette erreur: Illegal mix of collations (latin1&#95;swedish&#95;ci,IMPLICIT) and (utf8mb4&#95;general&#95;ci,COERCIBLE) for operation 'like'  j'ai fait une recherche sur un n° de série de mon produit.  Cordialement, Nicolas")*

Bonjour,
voici ce que dit le mode debug: Code:

An error has occurred. 1267 Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'like' Call Stack # Function Location 1 () JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:411 2 Joomla\Database\Mysqli\MysqliStatement-&gt;execute() JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:651 3 Joomla\Database\DatabaseDriver-&gt;execute() JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:1336 4 Joomla\Database\DatabaseDriver-&gt;loadResult() JROOT/administrator/components/com_hikaserial/helpers/helper.php:868 5 hikaserialView-&gt;getPageInfoTotal() JROOT/administrator/components/com_hikaserial/views/subscription/view.html.php:82 6 subscriptionViewSubscription-&gt;listing() JROOT/administrator/components/com_hikaserial/views/subscription/view.html.php:21 7 subscriptionViewSubscription-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:697 8 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikaserial/helpers/helper.php:696 9 hikaserialController-&gt;display() JROOT/administrator/components/com_hikaserial/helpers/helper.php:608 10 hikaserialController-&gt;listing() JROOT/libraries/src/MVC/Controller/BaseController.php:730 11 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikaserial/helpers/helper.php:725 12 hikaserialController-&gt;execute() JROOT/administrator/components/com_hikaserial/hikaserial.php:50 13 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 15 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 16 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150 17 Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:205 18 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:306 19 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:58 20 require_once() JROOT/administrator/index.php:32 Previous Error Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation 'like' Call Stack # Function Location 1 () JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:407 2 mysqli_stmt-&gt;execute() JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:407 3 Joomla\Database\Mysqli\MysqliStatement-&gt;execute() JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:651 4 Joomla\Database\DatabaseDriver-&gt;execute() JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:1336 5 Joomla\Database\DatabaseDriver-&gt;loadResult() JROOT/administrator/components/com_hikaserial/helpers/helper.php:868 6 hikaserialView-&gt;getPageInfoTotal() JROOT/administrator/components/com_hikaserial/views/subscription/view.html.php:82 7 subscriptionViewSubscription-&gt;listing() JROOT/administrator/components/com_hikaserial/views/subscription/view.html.php:21 8 subscriptionViewSubscription-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:697 9 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikaserial/helpers/helper.php:696 10 hikaserialController-&gt;display() JROOT/administrator/components/com_hikaserial/helpers/helper.php:608 11 hikaserialController-&gt;listing() JROOT/libraries/src/MVC/Controller/BaseController.php:730 12 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikaserial/helpers/helper.php:725 13 hikaserialController-&gt;execute() JROOT/administrator/components/com_hikaserial/hikaserial.php:50 14 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 15 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73 16 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361 17 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150 18 Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:205 19 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:306 20 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:58 21 require_once() JROOT/administrator/index.php:32

ça ne fait le pb que lorsque j'inscris une numéro de série dans la recherche (genre Y6GG-KNRT, etc...). si j'inscris un email, pas de pb

Nicolas

Last edit: 1 year 8 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] tag is nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTA5MjM5LWlsbGVnYWwtbWl4LW9mLWNvbGxhdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

1 year 8 months ago [\#366157](#366157) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Illegal mix of collations](/forum/58-hikasubscription/909239-illegal-mix-of-collations#366157 "-- HikaShop version -- : 5.1.5 -- HikaSerial version -- : 5.0.0 -- Joomla version -- : 5.2.4 -- PHP version -- : 8.2.27 -- Browser(s) name and version -- : Brave  Bonjour, j'utilise HikaSubscription et j'ai cette erreur: Illegal mix of collations (latin1&#95;swedish&#95;ci,IMPLICIT) and (utf8mb4&#95;general&#95;ci,COERCIBLE) for operation 'like'  j'ai fait une recherche sur un n° de série de mon produit.  Cordialement, Nicolas")*

Bonjour,

Merci pour ces informations de debug.

Avez-vous fait des "fresh install" de Joomla 5, HikaShop et HikaSubscription où s'agit-il d'un site ayant eu différentes mises à jour majeurs ?

Dans le fichier "administrator/component/com_hikaserial/views/subscription/view.html.php" vous aller trouver le code suivant : Code:

$searchMap = array( 'subscription.subscription_id', 'subscription.subscription_data', 'hk_user.user_email', 'j_users.username', 'j_users.name', );

Il va définir les différents champs dans lequel est il est possible d'effectuer une recherche.
L'erreur de "collation" indique que dans une de ces trois tables, votre base de donnée utilise l'encodage "latin1_swedish_ci" et non "utf8mb4_general_ci".

Si vous avez un accès à votre base de données avec un "PhpMyAdmin", il sera intéressant d'aller regarder si vos tables (hikaserial_subscription, hikashop_user et joomla_users) sont bien en collation "utf8mb4_general_ci".

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTA5MjM5LWlsbGVnYWwtbWl4LW9mLWNvbGxhdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")**
- [![sl1200mk2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile") Topic Author
- [ Offline](/forum/user/44915-sl1200mk2)

Less More

- Posts: 51
- Thank you received: 8
-
-

1 year 8 months ago [\#366160](#366160) by [sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")  Replied by *[sl1200mk2](/forum/user/44915-sl1200mk2 "View sl1200mk2's Profile")* on topic *[Illegal mix of collations](/forum/58-hikasubscription/909239-illegal-mix-of-collations#366160 "-- HikaShop version -- : 5.1.5 -- HikaSerial version -- : 5.0.0 -- Joomla version -- : 5.2.4 -- PHP version -- : 8.2.27 -- Browser(s) name and version -- : Brave  Bonjour, j'utilise HikaSubscription et j'ai cette erreur: Illegal mix of collations (latin1&#95;swedish&#95;ci,IMPLICIT) and (utf8mb4&#95;general&#95;ci,COERCIBLE) for operation 'like'  j'ai fait une recherche sur un n° de série de mon produit.  Cordialement, Nicolas")*

bonjour,
merci pour votre retour,
jnew_hikaserial_subscription et certaines autres tables sont effectivement en latin1_swedish_ci.
le site est la suite de mise à jours.... pas de fresh install.

est-ce que dans PhpMyAdmin je peux les changer sans risques?

++
Nicolas

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTA5MjM5LWlsbGVnYWwtbWl4LW9mLWNvbGxhdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

1 year 8 months ago [\#366192](#366192) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Illegal mix of collations](/forum/58-hikasubscription/909239-illegal-mix-of-collations#366192 "-- HikaShop version -- : 5.1.5 -- HikaSerial version -- : 5.0.0 -- Joomla version -- : 5.2.4 -- PHP version -- : 8.2.27 -- Browser(s) name and version -- : Brave  Bonjour, j'utilise HikaSubscription et j'ai cette erreur: Illegal mix of collations (latin1&#95;swedish&#95;ci,IMPLICIT) and (utf8mb4&#95;general&#95;ci,COERCIBLE) for operation 'like'  j'ai fait une recherche sur un n° de série de mon produit.  Cordialement, Nicolas")*

Bonjour,

Merci de votre message.
Le script d'installation d'HikaSubscription créant les tables en UTF8, il doit y avoir un manquement de spécification de la collation dans un processus de mise à jour. Je vais investiguer là dessus.

Vous pouvez modifier dans PhpMyAdmin sans risque, surtout sur une migration vers UTF8.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vOTA5MjM5LWlsbGVnYWwtbWl4LW9mLWNvbGxhdGlvbnM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
