<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : EXTRA Fields BUG</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 24 Apr 2026 13:35:26 -0000</pubDate>

		<item>
			<title>KillerSneak</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=14942#14942">#</a> <strong>Trustmaster :</strong>
Your config.php is missing $db_x variable. Please compare to config-sample.php.<br />
</blockquote> Okey ill look into that and report back, but it can't be missing as it's based on the 0.0.6 and the rest of the site works fine?<br /><br /><b>Added 8 minutes later:</b><br /><br />Thanks, fixed it now]]></description>
			<pubDate>Вт, 28 Лип 2009 19:26:11 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post14968]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Your config.php is missing $db_x variable. Please compare to config-sample.php.]]></description>
			<pubDate>Пн, 27 Лип 2009 21:54:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post14942]]></link>
		</item>
		<item>
			<title>KillerSneak</title>
			<description><![CDATA[Same problem here when i try to update / make a new extra user field<br />
<br />
Fatal error : SQL error : Table 'donotarg_test.users' doesn't exist<br />
<br />
table should be<br />
<br />
donotarg_test.sed_users .. Why doesn't the extra userfileds tab see the .sed_users ??]]></description>
			<pubDate>Пн, 27 Лип 2009 21:30:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post14941]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[All done now in trunk. Changes will be included in beta2.]]></description>
			<pubDate>Пт, 10 Лип 2009 02:59:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post13985]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Also on top of that, you should add support so old field (created before we had extra fields) could be added, so they can be changed and supported by this feature. So that it doesn't cause the fields being emptied or anything.<br />
<br />
Likely a simple checkbox can handle this, so it adds the field, but doesn't create it in the table.]]></description>
			<pubDate>Пт, 10 Лип 2009 00:55:04 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post13978]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[I have created <a href="http://trac.cotonti.com/ticket/327">ticket #327</a>. The first thing I want to do is to prevent existing fields from being duplicated.]]></description>
			<pubDate>Thu, 09 Лип 2009 23:47:29 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post13967]]></link>
		</item>
		<item>
			<title>Macik</title>
			<description><![CDATA[Location:  admin.php?m=users&amp;s=extrafields<br />
<br />
When user try to type in FIELDNAME name already exists in database we get an Error while updating:<br />
Fatal error : SQL error : Duplicate column name 'user_name'<br />
<br />
(In case I try to specify Extra field named `NAME`).<br />
There are no check at update routine I guess. <br />
<br />
So, next time I fix it name to `firstname` and successfully update the value - I get an error at USERS page (users.php):<br />
<br />
Fatal error : SQL error : Unknown column 'user_name' in 'order clause'<br />
<br />
It seems the names of fields in databese `sed_users` are changed!   <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/surprised.gif" alt=":-O" />  <br />
-------------------------------------------------------------------------------------------<br />
In russian:<br />
<br />
Т.к. с английским не супер, пишу тоже самое на русском:<br />
<br />
Суть проблемы: при попытке указать в качества Экстра поля имя имеющееся в базе данных sed_users получаем ошибку (например при вводе поля NAME):<br />
Fatal error : SQL error : Duplicate column name 'user_name'<br />
Как я понял это проимходит из-за того, что при апдейте нет проверки на корректность имени поля.<br />
<br />
Дальше больше, вернувшись назад к странице настройки экстра полей я изменил имя поля на другое (firstname) и успешно обносил данные кнопкой &quot;Обновить&quot;. Все вроде ОК. <br />
Однако при попытке обращения к странице списка пользователей я получаю ошибку:<br />
Fatal error : SQL error : Unknown column 'user_name' in 'order clause'<br />
<br />
Полез в базу смотреть что не так, оказалось при последнем апдейте были изменены! имена полей таблицы sed_users, в частности поле user_name было переименовано в user_FIRSTNAME и соответственно все попытки системы обратиться к этой таблице заканчиваются ошибкой.<br />
 Полный аут. :)]]></description>
			<pubDate>Thu, 09 Лип 2009 21:53:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=2944&d=0#post13950]]></link>
		</item>
	</channel>
</rss>