Apple iPhone 4s and Apple iPAD 2 5.01 Untethered Jailbreak Released for the Mac
Previous
RANDOM
Problem with Samsung 305t Monitor? Flashing lights no image? We have the fix.
Next

Problem uploading to your wordpress 3.3 site? No temp folder? We have the fix.

by The Review CrewJanuary 24, 2012

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.

 

ReadThis Article Offline or on your Tablet/Ebook Reader:
What's your reaction?
I Love It
0%
Cool
0%
It's OK
0%
What?
0%
I'm Sad
0%
I Hate It
0%
The Review Crew
The Review Crew is a group of beat editors, writers, and consultants that have been working together for years. They know just about everything about everything collectively and have published their collective work under the Review Crew brand moniker for almost 20 years.
Designed by IT