<?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>the dojo psi &#187; Boring IT Stuff</title>
	<atom:link href="http://blog.dojopsi.com/go/boring-it-stuff/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.dojopsi.com</link>
	<description>Zen do Ryu Remote Viewing© with Palyne Gaenir</description>
	<lastBuildDate>Sat, 11 Jul 2009 07:32:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tech headaches</title>
		<link>http://blog.dojopsi.com/archives/87</link>
		<comments>http://blog.dojopsi.com/archives/87#comments</comments>
		<pubDate>Sun, 26 Aug 2007 14:45:10 +0000</pubDate>
		<dc:creator>PJ</dc:creator>
				<category><![CDATA[Boring IT Stuff]]></category>

		<guid isPermaLink="false">http://blog.dojopsi.com/2007/08/26/87/</guid>
		<description><![CDATA[It&#8217;s always something.  WordPress 2.2 is the latest version of my blog software and I installed it as part of setting up this blog. As it turns out, there are PhP errors in the default installation that were causing errors on my blog. My server support couldn&#8217;t help&#8230; the problem was not the server. [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s always something.  <a href="http://wordpress.org/">WordPress 2.2</a> is the latest version of my blog software and I installed it as part of setting up this blog. As it turns out, there are PhP errors in the default installation that were causing errors on my blog. My server support couldn&#8217;t help&#8230; the problem was not the server. </p>
<p>Now you might think that wading through lines of code is something nerds like me do in my sleep, but you would be overlooking two minor points:<br />
1 &#8211; I know nothing about wordpress, and<br />
2 &#8211; I know nothing about PhP, the code it&#8217;s written in.</p>
<p>Despite this, I actually managed to find two bugs in the source code, which is probably a no-brainer, but of which I&#8217;m unreasonably proud. Probably because of the amount of time it took me!  </p>
<p>So I&#8217;m putting it here so when some poor sap installs WordPress 2.2 (or a new theme later when still on 2.2) and goes searching for why his blog is broken, he might just find this post and it&#8217;ll help.</p>
<p><strong>found bug 1</strong><br />
Directory: wp-includes<br />
File: bookmark-template.php</p>
<p>line 331<br />
<code>'category_orderby' => 'name', 'category_order' => 'ASC', 'class' => 'linkcat',</code><br />
needs to be changed to<br />
<code>'category_orderby' => 'cat_name', 'category_order' => 'ASC', 'class' => 'linkcat',</code><br />
that resolves the problem of themes which call the bookmarks function such as<br />
<code>php wp_list_bookmarks();</code></p>
<p><strong>found bug 2</strong><br />
Directory: wp-includes<br />
File: bookmark-template.php<br />
line 293<br />
<code>function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'name', $limit = -1) {<br />
</code><br />
needs to be changed to<br />
<code>function get_linkobjectsbyname($cat_name = "noname" , $orderby = 'cat_name', $limit = -1) {<br />
</code><br />
that resolves the problem of themes which call the categories function such as<br />
<code>php wp_list_categories();</code></p>
<p>Mind you I also find &#8216;name&#8217; instead of &#8216;cat_name&#8217; issues in links.php(line526) and template_functions_category.php(line122) and category.php(line22) but it&#8217;s possible those are NOT bugs; changing them didn&#8217;t do anything for me, but if I run into more similar bugs I&#8217;ll know where to look.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dojopsi.com/archives/87/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
