<?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>Dwight Jack Diary &#187; tmp folder</title>
	<atom:link href="http://www.dwightjack.com/diary/tag/tmp-folder/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dwightjack.com/diary</link>
	<description>Diary of music, design and code</description>
	<lastBuildDate>Wed, 25 Jan 2012 21:52:37 +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>Fixing &#8220;Missing a temporary folder&#8221; error on WordPress 2.7 uploader</title>
		<link>http://www.dwightjack.com/diary/2009/01/04/fixing-missing-a-temporary-folder-error-on-wordpress-27-uploader/</link>
		<comments>http://www.dwightjack.com/diary/2009/01/04/fixing-missing-a-temporary-folder-error-on-wordpress-27-uploader/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 14:59:03 +0000</pubDate>
		<dc:creator>Dwight Jack</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[temporary folder]]></category>
		<category><![CDATA[tmp folder]]></category>
		<category><![CDATA[wordpress 2.7]]></category>

		<guid isPermaLink="false">http://www.dwightjack.com/diary/?p=73</guid>
		<description><![CDATA[A quick fix for the "missing temparary folder" error issued by Wordpress 2.7 on some Installations]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve found that some local (XAMPP powered) installations of WordPress 2.7 on Linux and Mac return an odd error when user tries to upload a media by both the flash and the browser uploader.<br />
The error raised is <em><strong>Missing a temporary folder</strong></em> as shown in the picture below:</p>
<div id="attachment_74" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-74" title="Wordpress 2.7 missing temporary folder error" src="http://www.dwightjack.com/diary/wp-content/uploads/2009/01/missing-temporary-folder-300x130.png" alt="Wordpress 2.7 missing temporary folder error" width="300" height="130" /><p class="wp-caption-text">Wordpress 2.7 missing temporary folder error</p></div>
<p>I&#8217;ve not yet dug the problem, anyway it seems related to misconfigured temporary paths in the local environment.</p>
<p>You can easily overcome this problem by editing the <strong>php.ini</strong> file located in etc/ folder, uncommenting the line  <strong><em>upload_tmp_dir</em></strong> (by deleting the semi-colon &#8220;;&#8221;) and pointing the variable to a folder using an absolute path. In Linux possible steps are:</p>
<ol>
<li>open a terminal</li>
<li>create a temporary folder for all apache tasks in your user folder and grant all right to all users:
<pre><code>mkdir wwwtmp &amp;&amp; chmod 0777 wwwtmp</code></pre>
</li>
<li>edit php.ini with your text editor and set the temporary folder (you must switch to root user)
<pre><code class="bash">su
vim /opt/lampp/etc/php.ini
upload_tmp_dir = /home/my_user/wwwtmp/</code></pre>
<p>Remeber to remove preceding &#8220;;&#8221;</li>
<li>save the file (in vim type :wq an press enter) and restart xampp
<pre><code>/opt/lampp/./lampp restart</code></pre>
</li>
</ol>
<p>If everything went fine the error won&#8217;t be raised anymore.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dwightjack.com/diary/2009/01/04/fixing-missing-a-temporary-folder-error-on-wordpress-27-uploader/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
	</channel>
</rss>

