<?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>Paul Cracknell &#187; .htaccess</title>
	<atom:link href="http://www.paulcracknell.net/tag/htaccess/feed" rel="self" type="application/rss+xml" />
	<link>http://www.paulcracknell.net</link>
	<description>Wordpress Themes, Photography, PHP and other stuff</description>
	<lastBuildDate>Sun, 29 Jan 2012 11:09:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to fix errors with uploading images or media in WordPress</title>
		<link>http://www.paulcracknell.net/126/how-to-fix-errors-with-uploading-images-or-media-in-wordpress</link>
		<comments>http://www.paulcracknell.net/126/how-to-fix-errors-with-uploading-images-or-media-in-wordpress#comments</comments>
		<pubDate>Wed, 13 May 2009 09:47:26 +0000</pubDate>
		<dc:creator>Paul Cracknell</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thehowtoguide.net/?p=126</guid>
		<description><![CDATA[<p>If you are having trouble uploading images because of this<em><strong> error: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini</strong></em> when you use either the flash uploader or the browser, there is fix. A short article by  <a href="http://permalink.gmane.org/gmane.comp.web.wordpress.testers/6706" target="_blank">Phillip Barron</a> outlines a fix using the .htaccess file.</p>
<p><span id="more-126"></span><br />
</p>
<h2>Step 1</h2>
<p>Using your FTP open the root directory. Download <em><strong>.htaccess</strong></em><span><span> and </span></span>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>If you are having trouble uploading images because of this<em><strong> error: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini</strong></em> when you use either the flash uploader or the browser, there is fix. A short article by  <a href="http://permalink.gmane.org/gmane.comp.web.wordpress.testers/6706" target="_blank">Phillip Barron</a> outlines a fix using the .htaccess file.</p>
<p><span id="more-126"></span><br />
<!--adsense--></p>
<h2>Step 1</h2>
<p>Using your FTP open the root directory. Download <em><strong>.htaccess</strong></em><span><span> and open it with </span></span></p>
<input name="IL_MARKER" type="hidden" />text editor or notepad. <span>It should be just below the folders. </span><span><span>If there isn&#8217;t a .</span><span class="IL_SPAN"></p>
<input name="IL_MARKER" type="hidden" />htaccess file</span>, create one.<br />
</span></p>
<h2><span>Step 2<br />
</span></h2>
<p>Insert the following into your .htaccess file. If there is other commands which there most likely will be just under that is fine.</p>
<pre>&lt;IfModule mod_security.c&gt;
SetEnvIfNoCase Content-Type
"^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
&lt;/IfModule&gt;

&lt;IfModule mod_gzip.c&gt;
mod_gzip_on No
&lt;/IfModule&gt;</pre>
<h2>Step 3</h2>
<p>Save  and upload the .htaccess file back into the root directory overwriting the original.</p>
<p>Result: Image upload should be successfully using Firefox/Windows with no errors.
<div  class="related_post_title">Related Posts</div>
<ul class="related_post">
<li><a href="http://www.paulcracknell.net/419/notice-undefined-index-id-in" title="Notice: Undefined index: id in…">Notice: Undefined index: id in…</a></li>
<li><a href="http://www.paulcracknell.net/415/debug-your-wordpress-theme" title="Debug your WordPress Theme">Debug your WordPress Theme</a></li>
<li><a href="http://www.paulcracknell.net/209/how-to-stop-firefox-crasing-when-using-wordpress" title="How to stop Firefox crasing when using Wordpress">How to stop Firefox crasing when using Wordpress</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.paulcracknell.net/126/how-to-fix-errors-with-uploading-images-or-media-in-wordpress/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

