<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Migration from Seditio 121/125 to Cotonti 0.0.2</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 01 May 2026 02:31:01 -0000</pubDate>

		<item>
			<title>Kingsley</title>
			<description><![CDATA[ok, thx Lombi.. I'll wait for that then...]]></description>
			<pubDate>Vr, 13 Mrt 2009 04:35:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post9926]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[With one extra sql that needs to be imported - 002-003.sql<br />
<br />
Will be making a tutorial on encoding in case your database needs this (most do), as well as upgrading. Soon.]]></description>
			<pubDate>Vr, 13 Mrt 2009 03:08:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post9915]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[I presume this also will work on the 0.0.3 release?]]></description>
			<pubDate>Vr, 13 Mrt 2009 02:42:14 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post9914]]></link>
		</item>
		<item>
			<title>ruben</title>
			<description><![CDATA[is there a dutch language already? or can i use my dutch seditio language <br />
<br />
here a script to convert your databse to UTF8<br />
<br />
<pre class="code">
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Convert MySQL Database to UTF-8&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;?php
// Fill in your configuration below
$db_server      = 'localhost';
$db_user      = '';
$db_password   = '';
$db_name      = '';

// Do not change anything below this
set_time_limit(0);

$connection = mysql_connect($db_server, $db_user, $db_password) or die( mysql_error() );
$db = mysql_select_db($db_name) or die( mysql_error() );

$sql = 'SHOW TABLES';
if ( !($result = mysql_query($sql)) )
{
   print '&lt;span style=&quot;color: red;&quot;&gt;SQL Error: &lt;br&gt;' . mysql_error() . &quot;&lt;/span&gt;\n&quot;;
}

// Loop through all tables in this database
while ( $row = mysql_fetch_row($result) )
{
   $table = mysql_real_escape_string($row&#091;0&#093;);
   $sql2 = &quot;ALTER TABLE $table DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci&quot;;
   
   if ( !($result2 = mysql_query($sql2)) )
   {
      print '&lt;span style=&quot;color: red;&quot;&gt;SQL Error: &lt;br&gt;' . mysql_error() . &quot;&lt;/span&gt;\n&quot;;
      
      break;
   }
   
   print &quot;$table changed to UTF-8 successfully.&lt;br&gt;\n&quot;;

   // Now loop through all the fields within this table
   $sql3 = &quot;SHOW COLUMNS FROM $table&quot;;
   if ( !($result3 = mysql_query($sql3)) )
   {
      print '&lt;span style=&quot;color: red;&quot;&gt;SQL Error: &lt;br&gt;' . mysql_error() . &quot;&lt;/span&gt;\n&quot;;
      
      break;
   }

   while ( $row3 = mysql_fetch_row($result3) )
   {
      $field_name = $row3&#091;0&#093;;
      $field_type = $row3&#091;1&#093;;
      
      // Change text based fields
      $skipped_field_types = array('char', 'text', 'blob', 'enum', 'set');
      
      foreach ( $skipped_field_types as $type )
      {
         if ( strpos($field_type, $type) !== false )
         {
            $sql4 = &quot;ALTER TABLE $table CHANGE `$field_name` `$field_name` $field_type CHARACTER SET utf8 COLLATE utf8_bin&quot;;
            if ( !($result4 = mysql_query($sql4)) )
            {
               print '&lt;span style=&quot;color: red;&quot;&gt;SQL Error: &lt;br&gt;' . mysql_error() . &quot;&lt;/span&gt;\n&quot;;
               
               break 3;
            }
            print &quot;---- $field_name changed to UTF-8 successfully.&lt;br&gt;\n&quot;;
         }
      }
   }
   print &quot;&lt;hr&gt;\n&quot;;
}

mysql_close($connection);
?&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>]]></description>
			<pubDate>Wo, 11 Mrt 2009 05:03:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post9719]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[Now I strangely solved the problem setting-up UTF-8 only for markitup prevew, like this:<br />
in <strong>markitup.ajax.php</strong><br />
<div class="highlight"><pre class="php">header('Content-type: text/html; charset=UTF-8');</pre></div>
instead of the default<br />
<div class="highlight"><pre class="php">header('Content-type: text/html; charset='.$cfg&#091;'charset'&#093;);</pre></div>
<br />
So, now I have my website headers declaration set to ISO-8859-1, my MySql database with collation and charser set to unicode-utf8-ci, my database datas (I think) inserted with ISO-8859-1 format... <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/confused.gif" alt=":-/" /> but all seems to go well  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/surprised.gif" alt=":-O" /> <br />
<br />
The refresh problem has caused by an error (I think) in <strong>markitup.setup.php</strong>:<br />
<br />
Instead of<br />
<div class="highlight"><pre class="php">autorefresh=01:radio::0 preview auto-refresh</pre></div>
I put<br />
<div class="highlight"><pre class="php">autorefresh=01:select:true,false:false:Enable preview auto-refresh</pre></div>
<br />
Now, it seems to be in order...]]></description>
			<pubDate>Vr, 06 Feb 2009 20:37:29 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post7058]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[my Admin page now works after deleting all the system php files and re uploading them<br />
but i still can't click submit on anything without getting that fatal error.<br />
<br />
details from my host<br />
<br />
<span style="color:#EF2929">Platform </span><br />
Type Debian <br />
 <br />
<span style="color:#EF2929">MySQL Version </span><br />
MySQL Version 5.0.45 <br />
 <br />
<span style="color:#EF2929">Perl Version </span><br />
Perl 5.8.8 <br />
 <br />
<span style="color:#EF2929">PHP Version </span><br />
PHP 5.2.2<br />
<br />
I also noticed that on my pages with downloads. The download button says &quot;THIS DOWNLOAD IS ONLY AVAILABLE TO REGISTERED MEMBERS&quot;, even though I am logged in as Admin]]></description>
			<pubDate>Vr, 06 Feb 2009 16:59:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post7032]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<strong>donP</strong>, be careful. What you said should work if all your existing data is in ISO-8859-1. But mixing charsets would be quite dangerous.<br />
<br />
Generally we recommend moving to UTF-8 to add multilingual support. But in the end that is personal choice.<br />
<br />
<strong>musashi9</strong>, any details on your server? OS, MySQL and PHP version would be helpful.]]></description>
			<pubDate>Vr, 06 Feb 2009 14:18:51 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post7020]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[Cotonti sql-updater gives me an error and fails to work<br />
<br />
After I follow the other steps I get a site that looks like this cotoni site! but after I log in, the skin of my site changes back to my old skin. When I goto my profile to change it back to SED-LIGHT i get an error, this also happens when I try to edit or create new things<br />
<span style="color:#EF2929">2009-02-05 20:11<br />
Fatal error : Wrong parameter in the URL</span>.<br />
And if i try to access the Admin I just get a blank white page]]></description>
			<pubDate>Thu, 05 Feb 2009 13:21:55 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6836]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[So are you saying that if I'll set charset and collation in database to ISO-8859-1 (leaving untouched the datas that would be inserted in that charset by Server in these two years) and also headers in webpages to ISO-8859-1 all would go well?<br />
<br />
But some posts ago you told me:<br />
<blockquote><strong>Trustmaster:</strong><hr />You see AJAX uses UTF-8 by default, that's why previews are often messed. But sending correct header() with exact charset usually fixes the problem</blockquote>
<br />
I'm confused...  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/surprised.gif" alt=":-O" />]]></description>
			<pubDate>Thu, 05 Feb 2009 04:59:58 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6789]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Basically, mixing charsets is a very bad idea. So you have to decide using one charset and converting everything into it.]]></description>
			<pubDate>Thu, 05 Feb 2009 04:12:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6781]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[Ok, I'll do my best to complete the work quickly  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":-)" /> ...but I'm still waiting for a solution to my charset problem  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/sad.gif" alt=":-(" />]]></description>
			<pubDate>Thu, 05 Feb 2009 03:58:17 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6780]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[The translation would be great, thanks.]]></description>
			<pubDate>Wo, 04 Feb 2009 15:17:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6680]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[I've tried markitup in localhost and online, with the latest version from author's website... problems remain... strange characters (also in local, where I can set what I want) and no autorefresh in preview...<br />
<br />
<strong>P.S.</strong> I'm doing <span style="text-decoration:underline">Italian translation</span> of main.lang and other lang files... I hope it will be usefull and nobody was already doing that...]]></description>
			<pubDate>Wo, 04 Feb 2009 08:25:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6658]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[I think you could try contacting your hosting support, probably they can do something on default encoding of webserver output. I don't really want to force everybody moving to utf-8.<br />
<br />
Autorefresh is disabled here. But I don't exclude the possibility of bugged autorefresh in current markItUp! version if you say so. Just needs a bit testing on localhost.]]></description>
			<pubDate>Wo, 04 Feb 2009 06:47:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6655]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[1. So do I have to convert my database in UTF-8? I'm worring about the missing of italians characters...<br />
<br />
1. Also here on cotonti.com automatic refresh doesn't go well... it's disabled or you're having the same problem as me?]]></description>
			<pubDate>Wo, 04 Feb 2009 06:09:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6653]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[You see AJAX uses UTF-8 by default, that's why previews are often messed. But sending correct header() with exact charset usually fixes the problem. But seems like not in your case.]]></description>
			<pubDate>Wo, 04 Feb 2009 05:59:33 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6649]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[In Admin/Skin config I've set <strong>ISO-8859-1 / Western Europe</strong>, and <strong>ISO-8859-1</strong> in datas/config.php...<br />
In addiction, I have no problems in preview if I use <strong>fckeditor</strong> instead of markitup...<br />
<br />
Another problem with markitup: <span style="text-decoration:underline">no automatic refresh in preview</span> (despite the fact I set that value in plugin configuration)...]]></description>
			<pubDate>Wo, 04 Feb 2009 05:21:21 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6641]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=6503#6503">#</a> <strong>donP :</strong>
My database actually has <strong>utf8_unicode_ci collation</strong> but <a href="http://www.sangelo.net" rel="nofollow">my seditio 121 website</a> always had setted-up to <strong>ISO-8859-1 charset</strong>.<br />
Now, after migration to Cotonti (in local), all goes fine except markitup preview that shows strange characters instead of italian accented letters (àèéìòù).<br />
TExtboxer also had that problem but I solved changing the preview code in js like I explained <a href="http://www.neocrome.net/forums.php?m=posts&amp;p=111550#111550" rel="nofollow">in this Neocrome Forum</a>...<br />
What can I do with markitup preview?<br />
Please, help me...  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/sad.gif" alt=":-(" /><br />
</blockquote>
Make sure you have chosen correct charset in site configuration. Usually the problem is connected with default charset in PHP output, or your webserver's default charset.]]></description>
			<pubDate>Di, 03 Feb 2009 18:24:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6512]]></link>
		</item>
		<item>
			<title>donP</title>
			<description><![CDATA[<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=6213#6213">#</a> <strong>Trustmaster :</strong>
Sorry, that note was for people who are switching to UTF-8. Traditional charsets should work just fine.<br />
</blockquote>
<br />
My database actually has <strong>utf8_unicode_ci collation</strong> but <a href="http://www.sangelo.net" rel="nofollow">my seditio 121 website</a> always had setted-up to <strong>ISO-8859-1 charset</strong>.<br />
Now, after migration to Cotonti (in local), all goes fine except markitup preview that shows strange characters instead of italian accented letters (àèéìòù).<br />
TExtboxer also had that problem but I solved changing the preview code in js like I explained <a href="http://www.neocrome.net/forums.php?m=posts&amp;p=111550#111550" rel="nofollow">in this Neocrome Forum</a>...<br />
What can I do with markitup preview?<br />
Please, help me...  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/sad.gif" alt=":-(" />]]></description>
			<pubDate>Di, 03 Feb 2009 16:49:54 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6503]]></link>
		</item>
		<item>
			<title>foxhound</title>
			<description><![CDATA[First let me thank all involved in this great project for their hard work. I have been reading the forums and some documentation tonight about Cotonti and as far as I can tell now this will be the next thing to do to improve my website. :D<br />
<br />
However, I am a bit confused by the install instructions in the first post (updating from seditio).<br />
<br />
<blockquote><a href="https://www.cotonti.com/forums.php?m=posts&amp;p=6078#6078">#</a> <strong>medar :</strong>
1. Unzip Cotonti 0.0.2 release in some folder.</blockquote>
<br />
So.......cotonti does not need to be installed in the root public_html (where seditio is installed now)? Well, it has to be in there I guess but it can be in a subfolder?<br />
<br />
<blockquote>
2. Copy to this folder from Seditio folder:<br />
/datas/ all folders but not files</blockquote>
<br />
This means I will loose all files my users and I have uploaded when changing to Cotonti? <br />
<br />
<blockquote>
Migration complete.<br />
</blockquote>
<br />
I understand all following steps (sql etc) although I cant understand how it will work from within a subfolder.<br />
I did read we can move to Cotonti without loosing anything.....so thats why I am confused reading the first post.<br />
Sorry if I am just missing something obvious.<br />
<br />
<br />
<br />
[edit]<br />
Ahummm<br />
Just ignore me (should not be a problem here though). This is all for setting up a test site............<br />
Remind me to not ask questions after a busy day of work.]]></description>
			<pubDate>Di, 03 Feb 2009 07:12:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6458]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Normally it is in Admin =&gt; Skins =&gt; HTML Charset. That setting in config.php is optional, if problems with MySQL encountered.]]></description>
			<pubDate>Ma, 02 Feb 2009 17:41:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6235]]></link>
		</item>
		<item>
			<title>m_ogz</title>
			<description><![CDATA[But charset must be set on config.php, right?]]></description>
			<pubDate>Ma, 02 Feb 2009 17:36:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6233]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Sorry, that note was for people who are switching to UTF-8. Traditional charsets should work just fine.]]></description>
			<pubDate>Ma, 02 Feb 2009 16:08:05 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6213]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[I think you can use others. Just its better to use UTF-8, we actually wasn't on UTF-8 for a while on this site. Though I can't make any that maybe something might go wrong.]]></description>
			<pubDate>Ma, 02 Feb 2009 11:20:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6196]]></link>
		</item>
		<item>
			<title>n0fx</title>
			<description><![CDATA[I know utf-8 is universal for all language but I wondered latin5 is unsupported cotonti. <br />
<br />
I understand, Thanks.]]></description>
			<pubDate>Ma, 02 Feb 2009 08:27:07 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6180]]></link>
		</item>
		<item>
			<title>esclkm</title>
			<description><![CDATA[UTF-8 is universal for all languages, you can try to use latin 5. But I think you will have only errors/ Convert db in utf -8 is really easy]]></description>
			<pubDate>Ma, 02 Feb 2009 08:21:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6179]]></link>
		</item>
		<item>
			<title>n0fx</title>
			<description><![CDATA[why must i convert my database to utf-8? Can't i use latin5 for cotonti?]]></description>
			<pubDate>Ma, 02 Feb 2009 08:17:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6177]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[If you are going to migrate to Unicode, the database <strong>must</strong> be converted to UTF-8 <strong>before</strong> migrating to Cotonti. You must make a backup first. Then you can try something like <a href="http://en.gentoo-wiki.com/wiki/TIP_Convert_latin1_to_UTF-8_in_MySQL" rel="nofollow">this</a>.]]></description>
			<pubDate>Ma, 02 Feb 2009 02:59:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6121]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[Actually no, migration is far from complete. We still need a UTF encoder for the &quot;special character people&quot; here. I'm not sure about russian characters, but all characters from eastern/southern europe are all messed up.]]></description>
			<pubDate>Ma, 02 Feb 2009 02:25:41 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6112]]></link>
		</item>
		<item>
			<title>medar</title>
			<description><![CDATA[1. Unzip Cotonti 0.0.2 release in some testing folder.<br />
<br />
2. Copy to this folder from Seditio folder:<br />
/datas/ all folders but not files<br />
/plugins/ necessary <br />
/skins/ necessary <br />
<br />
3. Updating database.<br />
<br />
There is two way to convert database.<br />
<br />
<strong>UPD</strong> <br />
Autoconvert<br />
3.1.1 Use <a href="http://www.cotonti.com/datas/users/updater_45.rar">Seditio - Cotonti sql-updater</a>. Unzip folder &quot;updater&quot; to Cotonti folder, set to folder rights 777, and launch updater/index.php .<br />
3.1.2 Create in phpmyadmin database for future Cotonti database. Complete fields in updater and press Start.<br />
All plugins will be deinstalled, <strong>all config values will be reset</strong> to default. Will set sed-light as default skin for admin.<br />
<br />
OR<br />
<br />
Manual convert.<br />
3.1.1 Create in phpmyadmin copy of your seditio database and and follow these steps with this copy.<br />
3.1.2 <strong>Convert database to utf-8</strong>. Instructions: <a href="http://en.gentoo-wiki.com/wiki/TIP_Convert_latin1_to_UTF-8_in_MySQL" rel="nofollow">eng</a>, <a href="http://dull.ru/2008/11/06/konvertirovat_bazu_v_utf8/" rel="nofollow">rus with ssh</a>, <a href="http://www.nikiza.ru/page.php?al=c_cp1251_na_utf8" rel="nofollow">rus without ssh</a>.<br />
3.1.3 Execute sql-update: <a href="http://www.cotonti.com/datas/users/sql_update_45.rar">http://www.cotonti.com/datas/users/sql_update_45.rar</a> (one, for sed121 or sed125). <br />
All plugins will be deinstalled, <strong>all config values will be reset</strong> to default. Will set sed-light as default skin for admin.<br />
3.1.4 <strong>UPD</strong> install autoupdater from the previous step and execute &quot;Postinstall correction&quot;.<br />
<br />
4. Enter in admin area in your site and reinstall plugin Markitup.<br />
<br />
5. Change config of site and install all necessary plugins.<br />
<br />
6. Add in your skin new tags if necessary (see sed-light skin for details), Copy to your skin new tpl-files from sed-light skin.<br />
<br />
7. Move Cotonti from testing folder to basic place instead Seditio.<br />
<br />
Migration complete.]]></description>
			<pubDate>Zo, 01 Feb 2009 17:07:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=1803&d=0#post6078]]></link>
		</item>
	</channel>
</rss>