Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 8Feb 8 Hi,Today at the test site I saw patch update, when thing start I got error, I did upload the files and tried manual upgrade, same thing.Thanks. Now the admincp is broke
February 8Feb 8 Community Expert What is the collation set to for your database? Can you go to the core_message_topics table in the database, click the Structure button and see what it says under the collation for the mt_title column?
February 9Feb 9 Author What is the collation set to for your database? Can you go to the core_message_topics table in the database, click the Structure button and see what it says under the collation for the mt_title column?Hi Miss_B,Here it is:Thanks.
February 9Feb 9 Author Here what I have at uploads\logs for this:Sat, 08 Feb 2025 15:35:30 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main}-------------Sat, 08 Feb 2025 15:38:04 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main}-------------Sat, 08 Feb 2025 15:40:15 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main}-------------Sat, 08 Feb 2025 15:40:20 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main}-------------Sat, 08 Feb 2025 15:56:35 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main}-------------Sat, 08 Feb 2025 16:15:06 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main}-------------Sat, 08 Feb 2025 16:15:13 +0000IPS\Db\Exception::1366Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192#0 /home/******/web/******/public_html/community/system/Db/Db.php(2224): IPS\Db->query()#1 /home/******/web/******/public_html/community/system/Application/Application.php(1765): IPS\Db->dropColumn()#2 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(565): IPS\Application->installDatabaseUpdates()#3 /home/******/web/******/public_html/community/applications/core/sources/Setup/Upgrade.php(369): IPS\core\Setup\Upgrade->step1()#4 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(60): IPS\core\Setup\Upgrade->process()#5 /home/******/web/******/public_html/community/system/Helpers/MultipleRedirect/MultipleRedirect.php(104): IPS\core\modules\setup\upgrade\upgrade->IPS\core\modules\setup\upgrade\{closure}()#6 /home/******/web/******/public_html/community/applications/core/modules/setup/upgrade/upgrade.php(45): IPS\Helpers\MultipleRedirect->__construct()#7 /home/******/web/******/public_html/community/system/Dispatcher/Controller.php(139): IPS\core\modules\setup\upgrade\upgrade->manage()#8 /home/******/web/******/public_html/community/system/Dispatcher/Setup.php(261): IPS\Dispatcher\Controller->execute()#9 /home/******/web/******/public_html/community/admin/upgrade/index.php(38): IPS\Dispatcher\Setup->run()#10 {main} Edited February 9Feb 9 by abobader
February 9Feb 9 Community Expert Incorrect string value: '\xED\xA0\xBD\xED\xB8\x82' for column 'mt_title' at row 14192That error usually happens when the MySQL is configured with the utf8 character set which only supports 3 bytes per character. The solution is to use the utf8mb4 character set for the whole database tables and all of their columns. This encoding allows storage of characters that occupy 4 bytes in UTF-8. You may also have to set the server property character_set_server to utf8mb4 in the MySQL configuration file. You can read more about this at the mysql site:https://dev.mysql.com/doc/connector-j/en/connector-j-reference-charsets.htmlLooking at your screenshot it's already using the utf8mb4 character set. Can you do a check to confirm that your whole database and their columns character set are all utf8mb4 to make really sure?If that will apear the case, there is something else that you can try. Changing the field type of the aforementioned filed to longtext and see if it will make any difference?What about the database type, what is it set to?
February 10Feb 10 Community Expert Yes, I would suggest going to support in the admin CP and ensuring you follow all recommendations in there. It will be showing to convert to UTF8MB4 in there
February 10Feb 10 Author Yes, I would suggest going to support in the admin CP and ensuring you follow all recommendations in there. It will be showing to convert to UTF8MB4 in thereThe DB is already UTF8MB4 from the IPS v4
February 10Feb 10 Community Expert You mention that this is a test site here. Is this a copy of your live data? I ask as the issue does look to be UTF8 data here
February 10Feb 10 Author You mention that this is a test site here. Is this a copy of your live data? I ask as the issue does look to be UTF8 data hereHi Marc,The live site still on 4.7.20.The test site I upgrade it from 4.7.20 to v5, thing was going fine till last patch "about paypal" or something did this issue.Yes, the test site is a copy from the live site from the past.You can login to the test site and see.Thanks.
February 10Feb 10 Community Expert Seeing as this is a test site, I would try to restore back and try to upgrade again. Before doing so, make sure all tables are in utf8mb4
February 14Feb 14 Author Hi Jim,Really, all tables are utf8mb4, but when I use this command:Where to fix this?Thanks
February 14Feb 14 Community Expert This is something you would need to take up with your hosting company. We are unable to assist with server related issues
February 14Feb 14 Community Expert Hi Jim,Really, all tables are utf8mb4, but when I use this command:Where to fix this?ThanksYou can read more about this at the MySql site:https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_character_set_filesystemhttps://dev.mysql.com/doc/refman/5.7/en/charset-server.html
February 14Feb 14 Community Expert Thanks Miss_B, you always give great help, will read that.Happy to help whenever I can. 😊