So if you are like many of the wordpress website masters that upgraded or installed the new version of WordPress 3.3 you might have found yourself getting the following error:

Upload Failed.  No Temporary Folder (wording might be slightly different).

You probably searched high and low for an answer and didn’t get anywhere.

Fear not.  I have the solution :)

So you have to be a little nerdy to do this, and you have to have root access.  If you don’t have root access you need to tell the administrators of your website or hosting company to do this.

 

 

 

Step 1)

Go into your php.ini file.  This is located in /etc/php5/apache2 (in Ubuntu)

So you do this:

cd /etc/php5/apache2

you want to edit the file php.ini and search for:

open_basedir=

when you get to that line make sure there is no ; in front of it.  It should look like it is written open_basedir=

Now you want to add the path to your website. If you are hosting multiple wordpress sites you want to direct it to the main path of all the websites.  For instance if you have all your vhosted websites in /var/www then you would change it to this:

open_basedir=/var/www/

MAKE SURE YOU HAVE A TRAILING / at the end (i.e. /var/www/  NOT /var/www )

save your php.ini file

Now go to your sites-available directory for apache2.  In ubuntu this is located in /etc/apache2/sites-available

so type this:

cd /etc/apache2/sites-available

type this:

ls -al

this should display all the websites you are currently hosting or you might have one file that has all the vhost entries in it.

Edit each file that runs a wordpress website, or the master file if you just have the one (default is the name) and find the spot where it says

<Direct

ory /var/www/yourwebsite/>

right under that line you want to put this:

php_admin_value open_basedir none

continue to add that line to each and every website you have that is running wordpress.

now Restart apache.  In ubuntu you do that  by typing this:exit.

/etc/init.d/apache2 restart

That’s it!  You should now be able to upload.

 

The Review_Crew is a mix of writers that work for Reviewboard Magazine for the specific purpose of building the Review Crew brand of Reviews. Because they are a team and review these products in a group setting (8 people on a team) they share the attribution in the form of a team name rather than individually.

Review_Crew