<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Need help with an upgrade</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Tue, 12 May 2026 11:52:49 -0000</pubDate>

		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	That worked and I received a msg saying succesfull upgrade. However sorry to be a pain I now get this error.</p>
<p>
	2011-12-05 07:59</p>
<p>
	Fatal error: Default theme not found.</p>
<pre>
#0  cot_diefatal(Default theme not found.) called at [/hermes/web01/b2155/as.mysite/public_html/system/common.php:521]
#1  require_once(/hermes/web01/b2155/as.mysite/public_html/system/common.php) called at [/hermes/web01/b2155/as.mysite/public_html/index.php:37]
-----------------------------
my config looks like this
$cfg['defaulttheme'] = 'nemesis';    // Default theme code. Be SURE it's pointing to a valid folder in ./themes/... !!
and I have nemesis uploaded to themes folder

Nevermind I fixed it. thanks to everyone  for all the help


</pre>
]]></description>
			<pubDate>Mon, 05 Dec 2011 08:01:53 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31895]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	Yes, this is the cause. Disable maintenance mode in Admin panel before upgrading.</p>
]]></description>
			<pubDate>Mon, 05 Dec 2011 06:40:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31894]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	ah yes I did, is this causing me the problems? if so how may I fix it</p>
]]></description>
			<pubDate>Sun, 04 Dec 2011 22:50:06 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31889]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	Hmm, did you put your site into maintenance mode before upgrading?</p>
]]></description>
			<pubDate>Sun, 04 Dec 2011 15:58:49 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31865]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	Yes I run Install but it seems to jump straight to login.php.</p>
<p>
	This is everything I have done</p>
<p>
	#1 I had 0.6.5 install I was told to update to 6.20 which I did without problems, then I was told to update to Siena, and just run install.php. This gave me problems as described above</p>
<p>
	The main problem was my database was sed_ .... not cot_.. so I changed the value of $db_x from 'cot_' to 'sed_'.  and I set <strong><code class="php variable">$cfg</code><code class="php plain">[</code><code class="php string">'new_install'</code><code class="php plain">] = FALSE;</code></strong></p>
<p>
	<code class="php plain">Now I get th<span style="font-family:sans-serif;">e error I pasted above</span></code></p>
<p>
	To answer your second question, no my DB doesn't have  a sed_updates table. I don't think any of my DB backups has this table</p>
]]></description>
			<pubDate>Sun, 04 Dec 2011 14:21:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31862]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	Are you sure that you run install.php, not login.php? The error message #4 tells that login.php is being run.</p>
<p>
	Another question: do you rollback your database before trying to upgrade again? Did your genoa database have sed_updates table?</p>
]]></description>
			<pubDate>Sun, 04 Dec 2011 11:05:25 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31853]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	Yes and this is the msg that it gives me</p>
<p>
	Fatal error: SQL error 42S22: Column not found: 1054 Unknown column 'c_realm' in 'where clause'<br /><br />
	#0  cot_diefatal(SQL error 42S22: Column not found: 1054 Unknown column 'c_realm' in 'where clause') called at [/hermes/web01/b2155/as.mysite/public_html/system/database.php:436]<br />
	#1  CotDB-&gt;query(SELECT c_name, c_value FROM `sed_cache` WHERE c_auto=1 AND c_realm IN('system','cot','users')) called at [/hermes/web01/b2155/as.mysite/public_html/system/cache.php:724]<br />
	#2  MySQL_cache-&gt;get_all(Array ([0] =&gt; system,[1] =&gt; cot,[2] =&gt; users)) called at [/hermes/web01/b2155/as.mysite/public_html/system/cache.php:1238]<br />
	#3  Cache-&gt;init() called at [/hermes/web01/b2155/as.mysite/public_html/system/common.php:90]<br />
	#4  require_once(/hermes/web01/b2155/as.mysite/public_html/system/common.php) called at [/hermes/web01/b2155/as.mysite/public_html/login.php:22</p>
<p><strong>Added 12 hours later:</strong></p><p>
	I just checked my sed_cache on myphp and it seems to be empty with no records at all.</p>
]]></description>
			<pubDate>Sat, 03 Dec 2011 11:27:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31798]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[<p>
	Did you run install.php again?</p>
]]></description>
			<pubDate>Sat, 03 Dec 2011 10:43:47 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31794]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<div class="container">
	<div class="line number1 index0 alt2">
		<strong><code class="php variable">Did this $cfg</code><code class="php plain">[</code><code class="php string">'new_install'</code><code class="php plain">] = FALSE;</code></strong></div>
	<div class="line number1 index0 alt2">
		<strong>and this $db_x  'cot_' now =  'sed_'.</strong></div>
</div>
<p>
	Now I get this</p>
<p>
	2011-12-02 02:39</p>
<p>
	<br />
	Fatal error: SQL error 42S22: Column not found: 1054 Unknown column 'c_realm' in 'where clause'<br /><br />
	#0  cot_diefatal(SQL error 42S22: Column not found: 1054 Unknown column 'c_realm' in 'where clause') called at [/hermes/web01/b2155/as.mysite/public_html/system/database.php:436]<br />
	#1  CotDB-&gt;query(SELECT c_name, c_value FROM `sed_cache` WHERE c_auto=1 AND c_realm IN('system','cot','users')) called at [/hermes/web01/b2155/as.mysite/public_html/system/cache.php:724]<br />
	#2  MySQL_cache-&gt;get_all(Array ([0] =&gt; system,[1] =&gt; cot,[2] =&gt; users)) called at [/hermes/web01/b2155/as.mysite/public_html/system/cache.php:1238]<br />
	#3  Cache-&gt;init() called at [/hermes/web01/b2155/as.mysite/public_html/system/common.php:90]<br />
	#4  require_once(/hermes/web01/b2155/as.mysite/public_html/system/common.php) called at [/hermes/web01/b2155/as.mysite/public_html/login.php:22</p>
<p><strong>Added 1 day later:</strong></p><p>
	Desperate for help. anybody ?</p>
]]></description>
			<pubDate>Fri, 02 Dec 2011 02:38:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31766]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[<p>
	Apparently the installer believes it's a fresh install rather than an upgrade. In datas/config.php set $cfg['new_install'] to FALSE. If it doesn't exist, create it as follows:</p>
<pre class="brush:php;">
$cfg['new_install'] = FALSE;</pre>
]]></description>
			<pubDate>Fri, 02 Dec 2011 02:17:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31765]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	I changed config to sed then I goto install.php</p>
<p>
	STEP #1</p>
<p>
	This script will setup the basic Cotonti installation and configuration for you.</p>
<ul class="step_1"><li class="title">
		Server Info</li>
	<li>
		<strong class="php">PHP</strong> <span class="valid">5.2.17 — valid!</span></li>
	<li>
		<strong class="mbstring">mbstring</strong> <span class="valid">Available</span></li>
	<li>
		<strong class="mbstring">hash</strong> <span class="valid">Available</span></li>
	<li>
		<strong class="mysql">MySQL</strong> <span class="valid">Available</span></li>
</ul><p>
	It is recommended to copy datas/config-sample.php to datas/config.php and set CHMOD 666 on datas/config.php before running this script.</p>
<ul class="step_1"><li class="title">
		File/Folder Permissions</li>
	<li>
		<strong class="file" title="File">./datas/config.php</strong> <span class="valid">Writable</span></li>
	<li>
		<strong class="file" title="File">./datas/config-sample.php</strong> <span class="valid">Found</span></li>
	<li>
		<strong class="file" title="File">./setup/install.sql</strong> <span class="valid">Found</span></li>
	<li>
		<strong class="folder" title="Folder">datas/avatars</strong> <span class="valid">Writable</span></li>
	<li>
		<strong class="folder" title="Folder">datas/cache</strong> <span class="valid">Writable</span></li>
	<li>
		<strong class="folder" title="Folder">datas/exflds</strong> <span class="valid">Writable</span></li>
	<li>
		<strong class="folder" title="Folder">datas/users</strong> <span class="valid">Writable</span></li>
	<li>
		<strong class="folder" title="Folder">datas/photos</strong> <span class="valid">Writable</span></li>
	<li>
		<strong class="folder" title="Folder">datas/thumbs</strong> <span class="valid">Writable</span></li>
</ul><p>
	Cotonti Web Installer ver. 0.9.4 Step 2 of 4<br /><br />
	    MySQL Database Settings  xxxx<br />
	    Database host  xxxx<br />
	    Database user xxxx<br />
	    Database password xxxx<br />
	    Database name xxxx<br />
	    Table prefix xxxx<br /><br />
	First you need to create a blank database with the above name on your server, if this user has no permission to create new databases.<br />
	2011-12-01 19:47</p>
<p>
	Then this................</p>
<p>
	Fatal error: SQL error 42S01: Base table or view already exists: 1050 Table 'sed_auth' already exists</p>
<pre>
#0  cot_diefatal(SQL error 42S01: Base table or view already exists: 1050 Table 'sed_auth' already exists) called a ect...... big list of stuff</pre>
]]></description>
			<pubDate>Fri, 02 Dec 2011 00:47:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31764]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[<p>
	Sorry about that, I forgot about the database prefix which is different between Genoa and Siena. This is the reason why your database now contains both cot_* and sed_* tables.</p>
<p>
	Before you run install.php open datas/config.php and change the value of $db_x from 'cot_' to 'sed_'.</p>
<p>
	You can remove all tables starting with cot_. Those were created when you ran install.php so most of them will be empty. It's easiest to just continue using sed_* tables, it doesn't make any difference for the system. The goal is to let install.php use your existing database tables instead of having it create new tables. For this it will have to know the right prefix, otherwise it won't detect your existing tables.</p>
]]></description>
			<pubDate>Thu, 01 Dec 2011 09:51:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31738]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	Ok thanks I am going to go from 0.6.5 &gt; 0.6.20 first. then onto the latest version</p>
<p>
	Wish me luck :P</p>
<p>
	<strong>Added 1 hour later:</strong></p>
<p>
	UPDATE:</p>
<p>
	0.6.5 &gt; 0.6.20 worked withour problems</p>
<p>
	 </p>
<p>
	install.php &gt; oh no!!! It did a<strong> fresh</strong> install and now my site is empty PLEASE HELP!!!</p>
<p><strong>Added 3 minutes later:</strong></p><p>
	my database now has 2 sets inside</p>
<p>
	set one goes like this cot_groups ect.......</p>
<p>
	set 2 goes like this sed_groups ect..... (original site 0.6.5)</p>
<p><strong>Added 3 hours later:</strong></p><p>
	busy day for me. I restored my original back up and I am now at step 2</p>
<p>
	This is my current working version.</p>
<p>
	Version (Revision) / Database 0.6.20(r1041) / 0.6.20</p>
<p>
	The last time I was here I used the method <a href="https://www.cotonti.com/users/GHengeveld">GHengeveld</a> suggested but it installed a fresh install. How may I proceed without it doing this</p>
<p>
	Thanks</p>
]]></description>
			<pubDate>Thu, 01 Dec 2011 01:29:48 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31736]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	I would recommend updating from 0.6.5 to 0.6.20 first. This procedure includes:</p>
<ol><li>
		Download 0.6.20 package, upload the files to the server, overwriting old files.</li>
	<li>
		Enter phpMyAdmin and apply there SQL patches found in 'sql' subfolder: </li>
</ol><ul><li>
		patch-0.6.3-0.6.9.sql</li>
	<li>
		patch-0.6.9-0.6.12.sql</li>
	<li>
		patch-0.6.12-0.6.14.sql</li>
</ul><p>
	After updating to the latest 0.6.x you can safely leave it as it is or upgrade to 0.9.x like Gert described above.</p>
]]></description>
			<pubDate>Wed, 30 Nov 2011 09:41:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31719]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[In Siena, the latest version, you no longer have to go through all those steps. You simply follow these steps:
<ol><li>Make a backup of your files and database.</li>
<li>Download the latest version of Cotonti and upload the files to the server, overwriting old files.</li>
<li>Set CHMOD 777 on /datas and subfolders/subfiles.</li>
<li>Visit yoursite.com/install.php and follow the install procedure.</li>
</ol>
See also: <a href="http://www.cotonti.com/docs/start/updating#ch_upgrade">Updating from Genoa</a>]]></description>
			<pubDate>Wed, 30 Nov 2011 08:34:21 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31717]]></link>
		</item>
		<item>
			<title>musashi9</title>
			<description><![CDATA[<p>
	Hi, I have been using Cotonti (V 0.6.5 ?? I think) for a while now and never saw much of a reason to upgrade any further. However it has been a while and I feel I have to do something to try and keep up, so here is my problem.</p>
<p>
	How do I upgrade from my current version to the latest Cotonti release?</p>
<p>
	I am not even sure I know what my current version is, I go to admin then cotonti and it says this: <strong>Version / Database 0.6.5 / 0.6.5</strong></p>
<p>
	Do I have to go through every upgrade one by one or is there just one package I can  update from.</p>
<p>
	Is there a step by step guide or can someone follow me through it in a safe way.</p>
<p>
	Thanks</p>
<p>
	 </p>
]]></description>
			<pubDate>Wed, 30 Nov 2011 03:49:17 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=6635&d=0#post31712]]></link>
		</item>
	</channel>
</rss>