<?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>Entertaining Code &#187; php</title>
	<atom:link href="http://www.entertainingcode.com/tags/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.entertainingcode.com</link>
	<description>Coding and the games industry</description>
	<lastBuildDate>Mon, 28 Jun 2010 16:56:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wordpress image upload bug fixed</title>
		<link>http://www.entertainingcode.com/archives/wordpress-image-upload-bug-fixed/</link>
		<comments>http://www.entertainingcode.com/archives/wordpress-image-upload-bug-fixed/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 21:32:31 +0000</pubDate>
		<dc:creator>slicedlime</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.entertainingcode.com/?p=1021</guid>
		<description><![CDATA[When upgrading my blogs to wordpress 2.9, I found that  [...]]]></description>
			<content:encoded><![CDATA[<p>When upgrading my blogs to wordpress 2.9, I found that the image upload broke. After some fiddling around I managed to get a proper error message out of it, I managed to track down the error to the file wp-admin/includes/file.php, which used a ctype_ function that, for some reason, was disabled on my php version.</p>
<p>Funnily, the exact same bug has apparently been a problem on wordpress before, on version 2.5, in a different file.</p>
<p>Anyway, I fixed the problem. If anyone wants the fixed file, here it is:</p>
<p><a href="http://www.entertainingcode.com/wp-content/uploads/2009/12/file.zip"></a> <a href="http://www.entertainingcode.com/wp-content/uploads/2009/12/file.zip">Download file.zip</a></p>
<p>Download the archive, unzip the file.php inside and replace the one in your wp-admin/includes folder with it.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2919823884810618";
/* Links */
google_ad_slot = "5892302561";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.entertainingcode.com/archives/wordpress-image-upload-bug-fixed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
