<?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>Daily Gadgets, Computer, and Electronics News &#187; bug</title>
	<atom:link href="http://www.funponsel.com/blog/tag/bug/feed" rel="self" type="application/rss+xml" />
	<link>http://www.funponsel.com/blog</link>
	<description>Daily Gadgets, Computer, and Electronics News</description>
	<lastBuildDate>Sun, 22 Nov 2009 11:02:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How To Fix Wordpress 2.6 Missing Categories Almost Instantly</title>
		<link>http://www.funponsel.com/blog/wordpress/how-to-fix-wordpress-26-missing-categories-almost-instantly.html</link>
		<comments>http://www.funponsel.com/blog/wordpress/how-to-fix-wordpress-26-missing-categories-almost-instantly.html#comments</comments>
		<pubDate>Wed, 06 Aug 2008 01:35:26 +0000</pubDate>
		<dc:creator>cosa</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[2.6]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[missing]]></category>

		<guid isPermaLink="false">http://www.funponsel.com/blog/?p=6006</guid>
		<description><![CDATA[I usually wait a month or two before upgrading my blogs to the new version of Wordpress, but I kinda hook with the cool Turbo function, and so upgraded some of mine to Wordpress 2.6. And that was a big mistake! Apparently, Wordpress 2.6 comes with a very annoying bug &#8212; it can make your [...]]]></description>
			<content:encoded><![CDATA[<p>I usually wait a month or two before upgrading my blogs to the new version of Wordpress, but I kinda hook with the cool Turbo function, and so upgraded some of mine to Wordpress 2.6. And that was a big mistake! Apparently, Wordpress 2.6 comes with a very annoying bug &#8212; it can make your whole categories and tags AWOL. They are still there, but you just can&#8217;t see them. Pretty cool bug, isn&#8217;t it?</p>
<p><span id="more-6006"></span>Thankfully, David Chumps already has the solution for this. You can read his detail instruction for fixing the bugs <a href="http://blog.cumps.be/wordpress-26-upgrade-fix-missing-categories/">over here</a>. However, the first step which involved editing database using PHPMyAdmin is kinda tedious, so I tried to figure out the right SQL query to do the job. And here it goes:</p>
<p><code>UPDATE wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description = wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id</code></p>
<p>This query will automatically fill the description field in wp_term_taxonomy with the right content from wp_terms table. It does save a LOT of time, especially if you have a LOT of categories and tags (I have over a hundred in one of my blog).</p>
<p>Note that in some condition, the content of wp_term table is also messed up, so you won&#8217;t be able to use the query above and you must modify wp_term_taxonomy manually like suggested by David. In my case, 20% of the affected blogs have the table messed up.</p>
<p>Hope it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.funponsel.com/blog/wordpress/how-to-fix-wordpress-26-missing-categories-almost-instantly.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
