Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Support / SQL error 22001: String data, right truncated

aiwass
#44441 2019-11-03 19:26

Workaround:
Fast workaround try to extend online_ip field in cot_online table to 45 char length as follows

ALTER TABLE `cot_online` CHANGE `online_ip` `online_ip` VARCHAR(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '';
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com