<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : SQL error 22001: String data, right truncated</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 04 May 2026 06:20:47 -0000</pubDate>

		<item>
			<title>aiwass</title>
			<description><![CDATA[<p>Workaround:<br />
Fast workaround try to extend <code>online_ip</code> field in <code>cot_online</code> table to 45 char length as follows</p>

<pre>
<span class="pl-k">ALTER</span> <span class="pl-k">TABLE</span> <span class="pl-s"><span class="pl-pds">`</span>cot_online<span class="pl-pds">`</span></span> CHANGE <span class="pl-s"><span class="pl-pds">`</span>online_ip<span class="pl-pds">`</span></span> <span class="pl-s"><span class="pl-pds">`</span>online_ip<span class="pl-pds">`</span></span> <span class="pl-k">VARCHAR</span>(<span class="pl-c1">45</span>) CHARACTER <span class="pl-k">SET</span> utf8 COLLATE utf8_unicode_ci <span class="pl-k">NOT NULL</span> DEFAULT <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>;</pre>
]]></description>
			<pubDate>So, 03 Nov 2019 19:26:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=8884&d=0#post44441]]></link>
		</item>
		<item>
			<title>foxhound</title>
			<description><![CDATA[<p><a href="https://github.com/Cotonti/Cotonti/issues/1634#issuecomment-489830360" rel="nofollow">https://github.com/Cotonti/Cotonti/issues/1634#issuecomment-489830360</a></p>

<p> </p>

<p>Uhm, I guess that is your ticket :)</p>
]]></description>
			<pubDate>Mi, 15 Mai 2019 19:37:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=8884&d=0#post44284]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[<p style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium;">Does anybody has an idea how to solve this?</p>

<p style="color:rgb(0,0,0);font-family:'Times New Roman';font-size:medium;">SQL error 22001: String data, right truncated: 1406 Data too long for column 'online_ip' at row 1</p>

<pre style="color:rgb(0,0,0);">
#0  cot_diefatal(SQL error 22001: String data, right truncated: 1406 Data too long for column 'online_ip' at row 1) called at [/customers/6/4/a/xxxxxxxx/httpd.www/system/database.php:451]
#1  CotDB-&gt;insert(cot_online, Array ([online_ip] =&gt; 2a02:1810:1d33:9700:ddca:e0f4:feb9:b41,[online_name] =&gt; v,[online_lastseen] =&gt; 1556694430,[online_location] =&gt; home,[online_subloc] =&gt; ,[online_userid] =&gt; -1,[online_shield] =&gt; 0,[online_hammer] =&gt; 0)) called at [/customers/6/4/a/xxxxxx/httpd.www/plugins/whosonline/whosonline.header.main.php:62]
#2  include(/customers/6/4/a/xxxxx/httpd.www/plugins/whosonline/whosonline.header.main.php) called at [/customers/6/4/a/xxxxxx/httpd.www/system/header.php:87]
#3  require_once(/customers/6/4/a/xxxxx/httpd.www/system/header.php) called at [/customers/6/4/a/xxxxx/httpd.www/modules/index/index.php:44]
#4  require_once(/customers/6/4/a/xxxxxx/httpd.www/modules/index/index.php) called at [/customers/6/4/a/xxxxxx/httpd.www/index.php:176]</pre>
]]></description>
			<pubDate>Mi, 01 Mai 2019 07:12:17 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=8884&d=0#post44278]]></link>
		</item>
	</channel>
</rss>