<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Schlaflos in Mainz &#187; software</title>
	<atom:link href="http://www.schlaflos-in-mainz.de/tag/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.schlaflos-in-mainz.de</link>
	<description></description>
	<lastBuildDate>Wed, 14 Apr 2010 21:01:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Liberation Fonts vs. Microsoft Fonts</title>
		<link>http://www.schlaflos-in-mainz.de/2009/11/22/liberation-fonts-vs-microsoft-fonts/</link>
		<comments>http://www.schlaflos-in-mainz.de/2009/11/22/liberation-fonts-vs-microsoft-fonts/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 15:29:31 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[bla...]]></category>
		<category><![CDATA[Fonts]]></category>
		<category><![CDATA[KCL]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.schlaflos-in-mainz.de/?p=430</guid>
		<description><![CDATA[In einer Diskussion über Open Source vs. Proprietäre Software ist, denke ich, klar wo ich stehe.
Da bei mir an der Uni wirklich alles ziemlich laut Microsoft schreit, war es früher oder später abzusehen, dass sowas kommen würde.
Und zwar die Guidelines für einen Labreport.
Report should be produced using a suitable office package (Word, Excel, Powerpoint)

Okay, soweit [...]]]></description>
			<content:encoded><![CDATA[<p>In einer Diskussion über Open Source vs. Proprietäre Software ist, denke ich, klar wo ich stehe.</p>
<p>Da bei mir an der Uni wirklich alles ziemlich laut Microsoft schreit, war es früher oder später abzusehen, dass sowas kommen würde.<br />
Und zwar die Guidelines für einen Labreport.</p>
<p><em>Report should be produced using a suitable office package (Word, Excel, Powerpoint)<br />
</em></p>
<p>Okay, soweit noch kein Problem, dafür gibts ja <a href="http://www.openoffice.org">OpenOffice.org</a> .</p>
<p>Aber damit ist es noch nicht getan:</p>
<p><em>Text in Times New Roman, 1.5 line spacing, fully justified, margin ca. 2 cm sides, 3 cm on top and bottom.</em></p>
<p>Damit wird es dann doch schon hakeliger. &#8220;Times New Roman&#8221; klingt schon ganz stark nach M$. Und natürlich ist unter OOo unter Linux TNR so erstmal nicht verfügbar. Um dieses Problem zu lösen hat RedHat die &#8220;Liberation Fonts&#8221; entwickelt. Diese sind OpenSource und sollen möglichst nahe an die MS Fonts herankommen.</p>
<p>Aber, was ich auch nicht wusste, offenbar hat Microsoft die Core Web fonts mal als OpenSource, oder zumindest freeware, veröffentlicht. <a href="http://corefonts.sourceforge.net/">Microsoft&#8217;s TrueType core fonts on Linux</a></p>
<p>Also kann man dieses Problem nochmal umschiffen. Wirklich, wirklich interessant wird die Diskussion (auf die ich mich jetzt schon freue, die Uni ist wirklich M$ durch und durch :)  ), wenn die neuen Fonts von Office 2007 verlangt werden.<br />
Denn ein freies Äquivalent gibt es noch nicht, und diese Aussage von M$ klingt schon sehr restriktiv:</p>
<blockquote><p>
You may use the fonts that accompany the PowerPoint Viewer only to display and print content from a device running a Microsoft Windows operating system.
</p></blockquote>
<p>Ins Detail geht hier der <a href="http://www.oooninja.com">oooninja</a>:</p>
<p><a href="http://www.oooninja.com/2008/02/metrical-equivalent-fonts-and-font.html">Metric Equivalent Fonts and Font Substitution</a></p>
<p><a href="http://www.oooninja.com/2008/01/calibri-linux-vista-fonts-download.html">Install Free Office 2007 Fonts for Linux and XP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2009/11/22/liberation-fonts-vs-microsoft-fonts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ASM-Gefrickel, gescripte, debugfs</title>
		<link>http://www.schlaflos-in-mainz.de/2009/06/01/asm-gefrickel-gescripte-debugfs/</link>
		<comments>http://www.schlaflos-in-mainz.de/2009/06/01/asm-gefrickel-gescripte-debugfs/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 17:08:05 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bla...]]></category>
		<category><![CDATA[Cracking]]></category>
		<category><![CDATA[Ext3]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://schlaflos-in-mainz.de/?p=304</guid>
		<description><![CDATA[Da schaffe ich es doch tatsächlich, nach einem ohnehin schon recht komischen Wochenende, meine Arbeit von heute (gute 6 Stunden) mal eben zu löschen.
Aber der Reihe nach. 
Zunächst habe ich mich die Tage doch tatsächlich mal am Patchen (man sollte hier vielleicht eher cracken sagen, aber das klingt für mein &#8216;Können&#8217; zu hochtrabend) eines Programmes [...]]]></description>
			<content:encoded><![CDATA[<p>Da schaffe ich es doch tatsächlich, nach einem ohnehin schon recht komischen Wochenende, meine Arbeit von heute (gute 6 Stunden) mal eben zu löschen.</p>
<p>Aber der Reihe nach. </p>
<p>Zunächst habe ich mich die Tage doch tatsächlich mal am Patchen (man sollte hier vielleicht eher cracken sagen, aber das klingt für mein &#8216;Können&#8217; zu hochtrabend) eines Programmes versucht. Nein, nicht weil ich es nicht kaufen will und auch nicht um den Patch zu veröffentlichen. (Was ich ganz sicher nicht tun werde&#8230;)<br />
Mir waren nur Diskussionen aufgefallen, dass für die neue Version des Programms sogar der Patch/Crack/WasAuchImmer verkauft wird und es sonst keinen gäbe. Das hat mich dann doch dazu verleitet, mir einfach mal anzuschauen, ob das tatsächlich so schwer ist.<br />
Ein (sehr gutes!) Flash-Tutorial zum Umgang mit OllyDBG und einige Stunden später war es dann geschafft, und es funktioniert sogar. Mehr schlecht als recht, da ich an einigen Stellen mehr auf gut Glück modifiziert habe&#8230; Es scheinen aber die richtigen Stellen gewesen zu sein.</p>
<p>So, dann gab es noch ein kleines Script um automatisiert (HTTP) POST-Requests zu fahren, in PHP. Auch das tut mittlerweile seinen Dienst.</p>
<p>Wenn ich dann nicht gerade eben meine Hausübung (es war etwas knifflig, mehrere Stunden Arbeit) <strong>gelöscht</strong> hätte, wäre soweit alles gut. Jetzt sitze ich hier von einer Gentoo Live-CD und krame mit debugfs in Inode-Tabellen rum. Die &#8220;DiskInternals Linux Recovery&#8221; bekommt aber auch mal eine Chance, ist vielleicht komfortabler als das Händische&#8230;sowas ärgert maßlos!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2009/06/01/asm-gefrickel-gescripte-debugfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/home finally RAID-protected</title>
		<link>http://www.schlaflos-in-mainz.de/2009/02/03/home-finally-raid-protected/</link>
		<comments>http://www.schlaflos-in-mainz.de/2009/02/03/home-finally-raid-protected/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 11:28:14 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bla...]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[Raid]]></category>
		<category><![CDATA[Seagate]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://schlaflos-in-mainz.de/?p=269</guid>
		<description><![CDATA[I finally found the time to protect at least some partitions by a RAID1 array.

debian:/home/max# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sda7[2] sdb7[1]
      50395776 blocks [2/1] [_U]
      [=======>.............]  recovery = 36.1% (18207488/50395776) finish=6.5min speed=82215K/sec
unused devices: 

Why [...]]]></description>
			<content:encoded><![CDATA[<p>I finally found the time to protect at least some partitions by a RAID1 array.</p>
<blockquote><p>
debian:/home/max# cat /proc/mdstat<br />
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]<br />
md2 : active raid1 sda7[2] sdb7[1]<br />
      50395776 blocks [2/1] [_U]<br />
      [=======>.............]  recovery = 36.1% (18207488/50395776) finish=6.5min speed=82215K/sec</p>
<p>unused devices: <none><br />
</none></p></blockquote>
<p>Why not the whole disk? Well, for my root partition I, at least for now, prefer backing up my data manually. As RAID1 protects my data from a failing harddrive, it does NOT protect it from a failing user (i.e. me). So if I accidently delete something important (who knows), I can at least restore it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2009/02/03/home-finally-raid-protected/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Iphone Software 2.1</title>
		<link>http://www.schlaflos-in-mainz.de/2008/09/20/iphone-software-21/</link>
		<comments>http://www.schlaflos-in-mainz.de/2008/09/20/iphone-software-21/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 13:59:39 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[bla...]]></category>
		<category><![CDATA[Hacking & Cracking]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://schlaflos-in-mainz.de/?p=187</guid>
		<description><![CDATA[Jetzt wo QuickPWN für Windows für 2.1 da ist, habe ich doch direkt mal aktualisiert.
Ich bin begeistert. Firmware 2.0.2 hatte mein phone komplett ausgebremst. Gemessene !!! 12 Sekunden !!! brauchte es um die Kontakte zu öffnen.
Seit 2.1 geht wieder alles wie gewohnt in unter einer Sekunde! Wundervoll :)
Meine Einstellungen von meiner gepwnten 2.0.2 konnte ich [...]]]></description>
			<content:encoded><![CDATA[<p>Jetzt wo QuickPWN für Windows für 2.1 da ist, habe ich doch direkt mal aktualisiert.</p>
<p>Ich bin begeistert. Firmware 2.0.2 hatte mein phone komplett ausgebremst. Gemessene !!! 12 Sekunden !!! brauchte es um die Kontakte zu öffnen.</p>
<p>Seit 2.1 geht wieder alles wie gewohnt in unter einer Sekunde! Wundervoll :)</p>
<p>Meine Einstellungen von meiner gepwnten 2.0.2 konnte ich leider nicht wiederherstellen, damit startet das phone nicht mehr komplett. Was aber höchstwahrscheinlich daran liegt, dass ich unter 2.0.2 an so ziemlich allem rumgespielt hatte, an dem man (inoffiziell) rumspielen kann. Daher ist das vielleicht ganz gut so ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2008/09/20/iphone-software-21/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RBL against Spam &#8211; Still working?</title>
		<link>http://www.schlaflos-in-mainz.de/2008/03/11/rbl-against-spam-still-working/</link>
		<comments>http://www.schlaflos-in-mainz.de/2008/03/11/rbl-against-spam-still-working/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 13:19:39 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[bla...]]></category>
		<category><![CDATA[Greylisting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[RBL]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://schlaflos-in-mainz.de/2008/03/11/rbl-against-spam-still-working/</guid>
		<description><![CDATA[As you may have read over the last few days on several internet news services such as eg. Tecchannel, Realtime Blackhole Lists like eg. Spamhaus are seeming to become less effective against spam.
What I read is that spammers have started to change their IPs very fast, which results in spam mails being more likely to [...]]]></description>
			<content:encoded><![CDATA[<p>As you may have read over the last few days on several internet news services such as eg. <a href="http://www.tecchannel.de">Tecchannel</a>, <a href="http://de.wikipedia.org/wiki/Realtime_Blackhole_List">Realtime Blackhole Lists</a> like eg. <a href="http://www.spamhaus.org">Spamhaus</a> are seeming to become less effective against spam.</p>
<p>What I read is that spammers have started to change their IPs very fast, which results in spam mails being more likely to falsely pass RBL Filters.</p>
<p>So what to do about it? There are several possibilitys. One is to use a tool like Spamassassin that can check the mailbody (and the links in it) against databases on the internet and/or their internal (learning) filter.</p>
<p>But I&#8217;m not quite convinced yet to use such a system. It&#8217;s not just the configuration that might be a little more complicated than eg. RBLs. What also scares me off a little is the maintaining effort. A system like that is very likely to have at least a few false positives, that have to be marked as such, so that the system can &#8216;learn&#8217; from it. I don&#8217;t know yet whether I like that kind of a solution.</p>
<p>But what else is there?</p>
<p>Is Greylisting an answer?<br />
How it works is basically that it at first refuses any email that someone is trying to send to your server with an error like a server misconfiguration error. The sender&#8217;s IP is stored then, and after a little while (say, something like 5 minutes), when (and if) the server tries to resend the message to you, it will be accepted and the sender will be added to a whitelist.</p>
<p>The hope in that is that spammers either won&#8217;t try to send the email again, or that those extra 5 minutes were enough for the spammers to be detected by services such as spamhaus.</p>
<p>The idea is good, and I think I will implement greylisting on my server and try it &#8211; also to see how many &#8216;real&#8217; mailservers and (free)mailservices there are that also do not try to resend an email after a failure (that would be a false positive then).</p>
<blockquote><p>
Attention: WEIRD!! To attract some spammers for testing purposes, I&#8217;m just publishing another emailaddress:</p>
<p>stest@klappspaten.info</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2008/03/11/rbl-against-spam-still-working/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Kernel 2.6.24-1 and Ralink WIFI</title>
		<link>http://www.schlaflos-in-mainz.de/2008/02/18/kernel-2624-1-amd64-and-ralink-wifi/</link>
		<comments>http://www.schlaflos-in-mainz.de/2008/02/18/kernel-2624-1-amd64-and-ralink-wifi/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 19:21:06 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bla...]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://schlaflos-in-mainz.de/2008/02/18/kernel-2624-1-amd64-and-ralink-wifi/</guid>
		<description><![CDATA[I ran into this issue about two weeks ago, but didn&#8217;t get through to writing about it.
The new (Debian) Kernel 2.6.24-1-amd64 no comes with &#8216;built in&#8217; drivers and firmware for various Ralink WIFI devices. E.g. there are drivers for both PCI and USB devices (rt2&#215;00 chipsets, including rt2500 (pci), rt2400) from rt2&#215;00.serialmonkey.com compiled as modules [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into this issue about two weeks ago, but didn&#8217;t get through to writing about it.</p>
<p>The new <strong>(Debian) Kernel 2.6.24-1-amd64</strong> no comes with &#8216;built in&#8217; drivers and firmware for various <a href="http://www.ralinktech.com"><strong>Ralink</strong></a> WIFI devices. E.g. there are drivers for both PCI and USB devices (rt2&#215;00 chipsets, including rt2500 (pci), rt2400) from <a href="http://rt2x00.serialmonkey.com">rt2&#215;00.serialmonkey.com</a> compiled as modules into the kernel.<br />
Unfortunately, those drivers really didn&#8217;t work out for me. My WIFI PCI Card has got a Ralink rt2500 chipset. I used to compile the module myself, using the rt2500 drivers from rt2&#215;00.serialmonke.com CVS.<br />
But with  kernel 2.6.24-1 various modules, such as rt2&#215;00, rt2&#215;00pci, rt2500, rt2500pci, were loaded automatically. But the result wasn&#8217;t what I had hoped for. Even though my WIFI card was recognized immediately and connecting to my WIFI was really easy, because of the new GNOME network manager that includes WIFI connections, the transferrate always went down to <em>1 Mbit/s</em>. </p>
<p>I could not manage to get it faster.</p>
<p>So the conclusion, I built the kernel again, manually, without any WIFI support included. Then I used those nice rt2500 CVS drivers from serialmonkeys.org and all works fine again :)</p>
<p>Currently I&#8217;m spending my very rare free time (I&#8217;m pretty busy with school right now) on getting my <a href="http://www.gentoo.org">gentoo</a> installation to work properly ;)</p>
<p>Edit: (Thanks <a href="http://adler-saffig.de">adlerweb</a>): Yeah I know I could&#8217;ve blacklisted the built-in modules, but I was in the mood (and found some time ;)  ) for some &#8216;handicrafts&#8217; </p>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2008/02/18/kernel-2624-1-amd64-and-ralink-wifi/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Updating wbb 1.2 to phpbb 2 / 3</title>
		<link>http://www.schlaflos-in-mainz.de/2007/09/02/updating-wbb-12-to-phpbb-2-3/</link>
		<comments>http://www.schlaflos-in-mainz.de/2007/09/02/updating-wbb-12-to-phpbb-2-3/#comments</comments>
		<pubDate>Sun, 02 Sep 2007 16:05:26 +0000</pubDate>
		<dc:creator>Max1</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bla...]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpBB]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[wbb]]></category>

		<guid isPermaLink="false">http://schlaflos-in-mainz.de/2007/09/02/updating-wbb-12-to-phpbb-2-3/</guid>
		<description><![CDATA[For my work I have merged Woltlab Burning Board (wbb) 1.2 to phpbb 2 (that of course can then be updated to phpbb 3).
My environment is PHP5 and MySQL 5. Some problems I&#8217;ve been facing could possibly be *not* apearing on older installations of PHP/MySQL.
What you need for that is:

The WBB 1.1.1 to phpbb 2.0.0 [...]]]></description>
			<content:encoded><![CDATA[<p>For my work I have merged Woltlab Burning Board (wbb) 1.2 to phpbb 2 (that of course can then be updated to phpbb 3).</p>
<p>My environment is PHP5 and MySQL 5. Some problems I&#8217;ve been facing could possibly be *not* apearing on older installations of PHP/MySQL.</p>
<p>What you need for that is:</p>
<ul>
<li><a href="http://www.essential-freebies.de/_share/wbb_to_phpbb_import05.zip">The WBB 1.1.1 to phpbb 2.0.0 Updater</a> | <a href="http://schlaflos-in-mainz.de/wp-content/uploads/2007/09/wbb_to_phpbb_import05.zip">MIRROR</a></li>
<li>Of course your old Installation of WBB 1.2</li>
<li><a href="http://ovh.dl.sourceforge.net/sourceforge/phpbb/phpBB-2.0.0.tar.gz">A NEW, PLAIN Installation of <strong>phpBB 2.0.0</strong></a>. You need 2.0.0, you can update that later to 2.X or 3.</li>
</ul>
<p>The phpBB 2.0.0 installation didn&#8217;t work correctly because I&#8217;m using MySQL 5 (the installation worked (during the setup just check MySQL 4.x when you&#8217;re asked) but I e.g. couldn&#8217;t log in) but I don&#8217;t think this is going to be a problem.</p>
<p>What you have to do first (after installing phpBB 2.0.0) is to make the images / avatars and images / smilies wirteable by the webserver (chmod 777/700 on suPHP servers).</p>
<p>Now we do the important change. Since the converter is natively made for WBB 1.1.X , you have to make the following changes:</p>
<blockquote><p><em>(Codechange #1)</em> Find every line that contains <strong>_data.inc.php</strong> in import.php and change it to <strong>admin/_data.inc.php</strong>.  There should only be two lines with that path, so not much to change.</p></blockquote>
<blockquote><p>
<em>(Codechange #2)</em> Then you have to edit the beginning of import.php and set the correct paths. Only edit this first 3-4 lines !</p></blockquote>
<p>Afterwards upload the files (import.php and import_db.php) to your WBB folder on the server.</p>
<p>Now go to yourdomain.com/yourwbbfolder/import.php in your browser.</p>
<p>If you are receiving this error right now: <strong>ERROR: Unable to find wBB global.php include.<br />
Check path defines.</strong> You either didn&#8217;t do Codechange 1 or 2.</p>
<p>Now click on Start Import.</p>
<p>Then do the next step.</p>
<p>If you receive any error like: &#8220;Forumname: All Forums need a category&#8221; which I did quite a few times, do that: </p>
<blockquote><p>
(Databasechange #1) You have to edit the WBB boards table (e.g. with phpmyadmin) in that way, that every forum has a parent.<br />
That means we need to edit the &#8220;boardparentid&#8221; for each board that is displayed to us in the error message (after you fixed one and refreshed the importer you might probably get that error again for another forum). For me it worked to just set &#8220;boardparentid&#8221; to 1 for every board. Of course that configuration is then wrong after the update, because not every board was having 1 as parent when we started, but we can change that later in the new forum.</p></blockquote>
<p>Then we go for the next step:</p>
<p>You will get an error: <strong>* Deleting existing users :: OK<br />
Fatal error: Cannot access empty property in &#8230;../webs/Max1/hwsboard/import_db.php on line 81</strong></p>
<blockquote><p>(Codechange #3) As this is a &#8220;normal&#8221; PHP parse error, we can simply fix this by finding the wrong code, which is the following in import_db.php :</p>
<p>                    <strong>$this->free_result($this->$query_id);</strong></p>
<p>This of course has to be:</p>
<p>                    <strong>$this->free_result($this->query_id);</strong></p>
<p>Reupload the files and you will get some further.</p></blockquote>
<p>After that I got: <strong>* Converting moderators ::<br />
Database error in WoltLab Burning Board: Invalid SQL: SELECT objectid, boardid FROM bb1_object2board WHERE mod = &#8216;1&#8242; </strong></p>
<p>Unfortunately I couldn&#8217;t really find a fix for that as this seems to be a problem because I&#8217;m using MySQL 5 and all the scripts are just old.<br />
The easiest way to get round this is to comment that part in import.php out.</p>
<p><strong>(Codechange #4)</strong></p>
<p>So put this: </p>
<blockquote><p>
// Moderators convert<br />
        print &#8221; * Converting moderators :: &#8220;;<br />
        flush();<br />
        $user_mods = array();<br />
        $moderators = $DB_site->query(&#8220;SELECT objectid, boardid FROM bb&#8221;.$n.&#8221;_object2board WHERE mod = &#8216;1&#8242;&#8221;) or die_nice(&#8220;Unable to get moderators&#8221;);<br />
        while (list($objectid,$forumid) = $DB_site->fetch_array($moderators)) {<br />
                $user_mods[] = $objectid;<br />
                $group_query = $db->sql_query(&#8220;SELECT group_id FROM &#8221; . USER_GROUP_TABLE . &#8221; WHERE user_id=&#8221;.$objectid) or die_nice(&#8220;Unable to get group_id for user&#8221;);<br />
                list($groupid) = $db->sql_fetchrow($group_query);<br />
                $db->sql_query(&#8220;INSERT INTO &#8221; . AUTH_ACCESS_TABLE . &#8221; (group_id, forum_id, auth_mod) VALUES ($groupid, $forumid, 1)&#8221;) or die_nice(&#8220;Unable to insert moderators&#8221;);<br />
        }<br />
        // Update user_level for users that are moderator<br />
        if (count($user_mods)) {<br />
                $sql = &#8220;UPDATE &#8221; . USERS_TABLE . &#8221;<br />
                SET user_level = &#8221; . MOD . &#8221;<br />
                WHERE user_id IN (&#8221; . implode(&#8220;, &#8220;, $user_mods) . &#8220;) AND user_level <> &#8221; . ADMIN;<br />
                $db->sql_query($sql) or die_nice(&#8220;Couldn&#8217;t update user levels to moderator&#8221;);<br />
        }
</p></blockquote>
<p>into /*   &#8230;.   */. This means that moderator information is not going to be updated and we have to reassign moderators manually afterwards.</p>
<p>The next step is topics. It worked just as is for me.</p>
<p>Then posts. Then polls.</p>
<p><strong>* Importing polls ::<br />
ERROR: Unable to insert poll options</strong></p>
<p>That again isn&#8217;t too difficult to fix.</p>
<p><strong>(Codechange #5)</strong></p>
<p>Find that part in import.php:</p>
<blockquote>
<p>while ($opt = $DB_site->fetch_array($opt_query))<br />
                    {<br />
                    $ins_opt_sql = &#8220;insert into phpbb_vote_results (vote_id, vote_option_text, vote_result) values (&#8221; . $poll[pollid] . &#8220;, &#8216;&#8221; . addslashes($opt['field']) . &#8220;&#8216;, &#8221; . $opt['votes'] . &#8220;)&#8221;;<br />
                    $db->sql_query($ins_opt_sql) or die_nice(&#8220;Unable to insert poll options&#8221;);<br />
                    } </p>
</blockquote>
<p>(Or simply search for <em>Unable to insert poll options</em> in import.php)</p>
<p>We can easily see that &#8220;Insert Into phpbb_vote_results &#8230;&#8221; can&#8217;t be correct. That query isn&#8217;t using our defined prefix for the phpBB DB but just the default. So change that default to your setting. E.g. if your prefix is phpbb2 change it to phpbb2_vote_results.</p>
<p>Next: pm.</p>
<p>Next: wordlist.</p>
<p>Next: end.</p>
<p>And that&#8217;s it (hopefully). How far all that is working with an update to phpBB 3 afterwards&#8230; we will see ;)</p>
<p>So long.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.schlaflos-in-mainz.de/2007/09/02/updating-wbb-12-to-phpbb-2-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
