Skip to main content

Products down after update

More
3 hours ago #100000306 by Peter Kjeldsen
-- url of the page with the problem -- : nordicdental.dk/dental-shop/oralscanner/alliedstar-oralscannere
-- Browser(s) name and version -- : Chrome 156.0

Products down after update.
I need to reinstall my page now.
[color=rgba(255, 255, 255, 0.85)][color=rgba(255, 255, 255, 0.85)]En fejl opstod [/color] [/color]

[color=rgba(255, 255, 255, 0.85)]0 HY000, 1267, Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '=' [/color]

[color=rgba(255, 255, 255, 0.85)] [/color]
[color=rgba(255, 255, 255, 0.85)] [/color]

Please Log in or Create an account to join the conversation.

More
2 hours 7 minutes ago #100000308 by nicolas
Replied by nicolas on topic Products down after update
The error comes from the database update made by HikaShop 6.7.0/6.7.1: it moves the HikaShop tables to utf8mb4 so emojis can be saved. On your database some HikaShop tables were already in utf8mb4 with another collation (utf8mb4_general_ci vs utf8mb4_unicode_ci) and the update left them as they were. MySQL then refuses the queries that join these tables, which is why the product pages and the products listing of the backend fail. Your data is not damaged, so there is no need to reinstall anything.

We have corrected HikaShop so that the update and the "Check database" button put all the HikaShop tables on the same collation. Until that version is available, you can fix your site in two minutes:

1. Make a backup of your database.

2. Unzip the attached database.php.zip and upload the database.php file it contains to administrator/components/com_hikashop/helpers/ on your site, replacing the existing file.

3. In your backend, go to Components > HikaShop > System > Configuration and click the "Check database" button in the toolbar ( www.hikashop.com/support/documentation/54-hikashop-config.html ). It will report the tables it converted, and your product pages will work again.

If you prefer to do it directly in phpMyAdmin, the attached align-hikashop-collation.sql.txt file contains the queries to run, with the explanations.

Please Log in or Create an account to join the conversation.

More
1 hour 41 minutes ago #100000310 by Peter Kjeldsen
Hi Nicolas
Ok, I think it is working now:-)
Thank you.
The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum