<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : PHPBB Converter</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Fri, 01 May 2026 12:03:32 -0000</pubDate>

		<item>
			<title>Musashi</title>
			<description><![CDATA[I restored the two profix's by adding the // like it was before in config.php<br />
<br />
I edited index.php and replaced all entries of &quot;echo&quot; with &quot;$log_msg .=&quot;<br />
<br />
At the end of the file I added the line as show in the following fragment of the code:<br />
<pre class="code">
list($usec, $sec) = explode(&quot; &quot;, microtime());
	$time&#091;'end'&#093; = $usec + $sec;
	@$time&#091;'sqlavg'&#093; = $time&#091;'sqltotal'&#093; / $time&#091;'sqlqueries'&#093;;
	$log_msg .= '&lt;br /&gt;&lt;br /&gt;'.sprintf('Page created in %s seconds', round(($time&#091;'end'&#093; - $time&#091;'start'&#093;), 5)).'&lt;br /&gt;'.sprintf('Total SQL execution time %s seconds', round($time&#091;'sqltotal'&#093;, 5)).'&lt;br /&gt;'.sprintf('Average SQL execution time %s seconds', $time&#091;'sqlqueries'&#093;).'&lt;br /&gt;'.sprintf('SQL queries: %s', round($time&#091;'sqlavg'&#093;, 5));
	file_put_contents('log.txt', $log_msg);

</pre>
<br />
I have no feedback on the browser screen after these changes, however: log.txt is being created filled with HTML text containing the same line over and over for pretty much all my current PHPBB users:<br />
<br />
<em>sed_users Insert: Field 'user_text' doesn't have a default value</em><br />
<br />
When I make an error in the config.php I get the following screen output:<br />
<blockquote>
PHP Notice: Undefined variable: log_msg in C:\Inetpub\wwwroot\contest\phpbbconv\index.php on line 24 PHP Notice: Undefined index: sqltotal in C:\Inetpub\wwwroot\contest\phpbbconv\index.php on line 417 <br />
</blockquote>
<br />
...and the log.txt file (which I erased before retrying) contains a single line telling me there is a problem with accessing the SQL database.<br />
<br />
I looked up the sed_users table using Navicat, and the user_text field is a &quot;Text&quot; type. I noticed that the field didn't have &quot;Allow Null&quot; enabled, which I changed. <br />
<br />
Now the script is converting users without passwords (Crawler Bot users), but skipping all real users with the following error:<br />
<br />
<em>sed_users Insert: Data too long for column 'user_password' at row 1</em><br />
<br />
So I extended the varchar of the user_password to support 255 characters, which converted all user, but they passwords don't work on the Contonti system.<br />
<br />
No forum posts were converted after that. The log.txt file read:<br />
Forum Structure Conversion <br />
Structures Converted 0<br />
&quot;Conversion Stoped due to failure above&quot; (sic)]]></description>
			<pubDate>Cum, 28 Mayıs 2010 14:03:23 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post24746]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[The prefix's are not used in the code.<br />
<br />
It should always be outputting some data to see.<br />
<br />
try replacing all &quot;echo&quot; with &quot;$log_msg .=&quot;<br />
And then on the line before &quot;?&gt;&quot; at the end<br />
Put  &quot;file_put_contents('log.txt', $log_msg);&quot;<br />
<br />
And see what the file contains.]]></description>
			<pubDate>Per, 27 Mayıs 2010 10:53:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post24727]]></link>
		</item>
		<item>
			<title>Musashi</title>
			<description><![CDATA[Hi Kilandor, thanks for your reply.<br />
<br />
Sorry, I forgot to mention that indeed it would seem like I did something silly like enter the wrong URL, but this is not the case.<br />
When I edit the config.php and make an error on purpose, (misspelled the MySQL user name) I get feedback fron your script:<br />
<blockquote>
A Database Connection/Select Problem was encountered, please check your config<br />
Select Database Failed: Access denied for user 'ODBC'@'localhost' (using password: NO)<br />
Select Database Failed: Access denied for user 'ODBC'@'localhost' (using password: NO)<br />
<br />
<br />
Page created in 0.12418 seconds<br />
Total SQL execution time 0 seconds<br />
Average SQL execution time 0 seconds<br />
SQL queries: 0PHP Notice: Undefined index: sqltotal in C:\Inetpub\wwwroot\contest\phpbbconv\index.php on line 417 <br />
</blockquote>
<br />
I used the following config.php:<br />
<pre class="code">
&lt;?php

//Cotonti Database Information
$db_cot&#091;'host'&#093; = 'localhost';	//Database Hostname
$db_cot&#091;'user'&#093; = 'removed';	//Database Username
$db_cot&#091;'pass'&#093; = 'removed';	//Database Password
$db_cot&#091;'name'&#093; = 'cotonti';	//Database Name
$db_cot&#091;'pref'&#093; = 'sed_';	//Database Prefix

//PHPBB Database Information
$db_old&#091;'host'&#093; = 'localhost';	//Database Hostname
$db_old&#091;'user'&#093; = 'removed';	//Database Username
$db_old&#091;'pass'&#093; = 'removed';	//Database Password
$db_old&#091;'name'&#093; = 'phpbb3';	//Database Name
$db_old&#091;'pref'&#093; = 'phpbb_';	//Database Prefix

//This provides a simple warning the first time the script is ran to preven accidental run, and to provide a bit of info
//Incase readme was not read
$first_time_warning = TRUE;
?&gt;</pre>
(Username and password removed)<br />
When I correct the error I made in the username, there is a slight pause when I refresh the page, and I get the &quot;Page not found&quot; error.<br />
<br />
<strong>Edit:</strong> Orignally your script had the database prefix lines commented out with the //<br />
I changed that in the above example, no matter if I place it back or not, it doesn't change the outcome.<br />
<br />
It may also be worth noting that even though the script says &quot;access denied&quot;, it does wipe the sed_users table, locking me out of the clean Contonti database.]]></description>
			<pubDate>Sal, 25 Mayıs 2010 06:01:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post24702]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Page not found would mean the file your trying to access doesn't exist or something of that sort.]]></description>
			<pubDate>Pzt, 24 Mayıs 2010 21:30:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post24695]]></link>
		</item>
		<item>
			<title>Musashi</title>
			<description><![CDATA[Hi there,<br />
<br />
I have recently discovered Contonti, and I'm very impressed with the system. However, before I would migrate my current system, I would like to convert my PHPBB users and forum posts to Contonti.<br />
I cannot seem to get the the converter working build by Kilandor, found here: <a href="http://www.cotonti.com/forums.php?m=posts&amp;p=21042&amp;highlight=PHPBB#21042">http://www.cotonti.com/forums.php?m=posts&amp;p=21042&amp;highlight=PHPBB#21042</a><br />
The PHP script gives no feedback (Page not found) when I enter the correct details in the config.php<br />
<br />
I am using PHPBB 3.0.7 (PL1)<br />
<br />
Jason mentioned he would post his updated version of the converter, is there any news on that?]]></description>
			<pubDate>Paz, 23 Mayıs 2010 18:30:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post24679]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Ah cool, nice work. Yea I forget what version I made that converter for.]]></description>
			<pubDate>Per, 07 Oca 2010 18:00:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post22026]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[One dirty trick is described <a href="http://www.phpbb.com/community/viewtopic.php?f=71&amp;t=1383445#p8244695" rel="nofollow">here</a>, but it requires everybody to log in.<br />
<br />
Another option is hacking Cotonti to use phpbb_hash() instead of md5().]]></description>
			<pubDate>Per, 07 Oca 2010 17:04:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post22025]]></link>
		</item>
		<item>
			<title>jason</title>
			<description><![CDATA[I'm updating the converter to work with phpBB v3.06 and Cotonti 0.6.5<br />
<br />
The only problem I am having is the user passwords.<br />
Recent versions of phpBB use Portable PHP password hashing framework.<br />
<br />
Is there anyway to get the passwords to work properly in Cotonti?<br />
<br />
Or is the only solution that users must reset their passwords?<br />
<br />
<br />
Besides that, I'v updated the rest of the code and everything else is working great.<br />
Will test for another day and then post the updated converter.]]></description>
			<pubDate>Per, 07 Oca 2010 07:08:55 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5138&d=0#post22022]]></link>
		</item>
	</channel>
</rss>