J3 Issue ?
avatar joeforjoomla
joeforjoomla
26 Mar 2019

Steps to reproduce the issue

Try to copy/paste an utf8mb4 character such as ? into a whatever alias menu, articles, etc when the 'Unicode aliases' option is enabled

Expected result

The utf8mb4 character is stripped out and the link is working

Actual result

The utf8mb4 is still there and the link is broken causing a MySQL error:

1267 Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='

System information (as much as possible)

ALL Joomla versions

image

avatar joeforjoomla joeforjoomla - open - 26 Mar 2019
avatar joomla-cms-bot joomla-cms-bot - change - 26 Mar 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Mar 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Mar 2019
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Mar 2019
Category Router / SEF
avatar gkrn
gkrn - comment - 1 Apr 2019

I think you need to go to your PhpMyadmin and change the collation of the the tables from 'utf8_general_ci' to 'utf8mb4_unicode_ci'.
Here's an article I found that might help -https://www.joomlathat.com/support/music-collection/1267-illegal-mix-of-collations-utf8-general-ci-implicit-and-utf8mb4-general-ci-coercible-for-operation-like

avatar joeforjoomla
joeforjoomla - comment - 1 Apr 2019

@gkrn we are talking about Joomla core tables, not something to go and change through phpMyAdmin
Additionally, the 'alias' field for each table of Joomla is set to utf8mb4_bin

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 4 Apr 2019
avatar SharkyKZ
SharkyKZ - comment - 20 Jun 2019

@joeforjoomla please enable system debug in Global Configuration and post stack trace. Is this on a clean installation or updated? Do you have any extensions installed? Can you post a list of all your tables and their collations?

I can create the alias but I do not get the error. On a clean installation all tables should be utf8mb4.

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jun 2019
Status Discussion Information Required
avatar joeforjoomla
joeforjoomla - comment - 20 Jun 2019

@SharkyKZ closed as not a core issue.
Sorry for the delay.

avatar joeforjoomla joeforjoomla - change - 20 Jun 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-06-20 08:20:15
Closed_By joeforjoomla
avatar joeforjoomla joeforjoomla - close - 20 Jun 2019

Add a Comment

Login with GitHub to post a comment