<?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>Junk Coder &#187; code snippet</title>
	<atom:link href="http://junkcoder.com/tag/code-snippet/feed/" rel="self" type="application/rss+xml" />
	<link>http://junkcoder.com</link>
	<description>Random stuff about life and technology</description>
	<lastBuildDate>Tue, 06 Jul 2010 19:24:36 +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 MU: This file is too big. Files must be less than 1500 Kb in size</title>
		<link>http://junkcoder.com/2009/10/06/wordpress-mu-this-file-is-too-big-files-must-be-less-than-1500-kb-in-size/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://junkcoder.com/2009/10/06/wordpress-mu-this-file-is-too-big-files-must-be-less-than-1500-kb-in-size/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 18:06:55 +0000</pubDate>
		<dc:creator>junkcoder</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[code snippet]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mu]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://junkcoder.com/?p=29</guid>
		<description><![CDATA[If you get the error above when you upload a file to a Wordpress MU blog, you need to change the maximum allowed upload file size. You can find this setting under &#8220;Site Admin &#8230; Options &#8230; Max upload file size&#8221;.
Unfortunately there is no option to change this value for existings blogs, but you can [...]]]></description>
			<content:encoded><![CDATA[<p>If you get the error above when you upload a file to a Wordpress MU blog, you need to change the maximum allowed upload file size. You can find this setting under &#8220;Site Admin &#8230; Options &#8230; Max upload file size&#8221;.</p>
<p>Unfortunately there is no option to change this value for existings blogs, but you can you change it directly in the database:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> <span style="color: #ff0000;">`#YOURDATABASENAME#`</span><span style="color: #66cc66;">.</span><span style="color: #ff0000;">`wp_sitemeta`</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #ff0000;">`meta_value`</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'32000'</span>
 <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`wp_sitemeta`</span><span style="color: #66cc66;">.</span><span style="color: #ff0000;">`meta_value`</span> <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">1500</span><span style="color: #66cc66;">&#41;</span>
 <span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">`wp_sitemeta`</span><span style="color: #66cc66;">.</span><span style="color: #ff0000;">`meta_key`</span> <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">&quot;fileupload_maxk&quot;</span><span style="color: #66cc66;">&#41;</span>;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://junkcoder.com/2009/10/06/wordpress-mu-this-file-is-too-big-files-must-be-less-than-1500-kb-in-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
