Support

Admin Tools

#38239 UTF-8 Multibyte (utf8mb4)

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
3.10.11
PHP version
7.4.33
Admin Tools version
6.1.7

Latest post by nicholas on Thursday, 29 December 2022 08:54 CST

sillitoe

I have 4 websites running on the same Siteground subscription. I've already updated 3 of them to Joomla 4 and, in the process, did not get any error message from Extensions -> Manage -> Database. However, on this 4th one, whose upkeep I took over more recently, I am getting the message "The Joomla! Core database tables have not been converted yet to UTF-8 Multibyte (utf8mb4)." I tried running the Change Database Collation function of Akeeba Admin Tools Pro, but I still have the same error message.

I read in some previous support tickets that this might be because of the server environment, but I think the environment for this website is the same as that for the other 3 websites that do not give this error.

Do you have any idea as to in which direction I should look to comprehend and resolve this issue?

(I realise that PHP 7.4 is old, but I did the Joomla 4 upgrade with the other websites using this version and then switched to PHP 8.0. The website at https://uk.upf.org/joomla4 is still on Joomla 3 and is identical to the production site. It's a test site I'm using to prepare the upgrade.)

Thanks a lot,

Alan

nicholas
Akeeba Staff
Manager

All of the following prior to the upgrade to J4.

First, select Joomla on the Database page and click on Fix.

Then convert the tables to utf8mb4_unicode_ci using Admin Tools.

Ignore any messages complaining about tables not having been converted to UTF8MB4 β€” the detection code does NOT check the table structure, it checks the #__utf8_conversion table which is the wrong approach.

Upgrade to Joomla 4 and ignore any messages about the tables not being converted to UTF8MB4. As I said, the problem isn't that the tables have not been converted but that Joomla cannot detect it because its detection code is based on the false premise that all tables were plain old UTF8 and could have only possibly been upgraded to UTF8MB4 by Joomla itself during a CMS update which also resulted in #__utf8_conversion table entries being created. Most of these assumptions Joomla makes are wrong for a lot of sites, hence the inapplicable message on those sites. Can't do much about it, I'm afraid.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

sillitoe

Thank you very much, Nicholas, for your reassuring reply, which clarifies the whole thing.

nicholas
Akeeba Staff
Manager

You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!