Fri 19 Dec 2008
How to solve Image Upload Error in Wordpress 2.7 ?
Posted by cyriac under Tips & Tricks, Wordpress
4,031 views
Email This Post
There is no need to say that i was very much excited to upgrade my old worpress to the latest version Wordpress 2.7. But it didnt lasted for long. As i was preparing the previous article Why you should upgrade to Wordpress 2.7 ? i tried to upload few screen captures of the new interface. But then all the excitement went to PANIC.
This is what i got when i tried to upload an image.

wordpress-2_7-image-upload-error
/home/.boogee/cyriac/cyriac.me/wp-content/uploads
So I googled for the solution and i had to research for 3 hours to find a solution. I found the solution from Wordpress Support Forum. As usual all Wordpress upgrades have some problems. Its actual cause is unknown, because only few have this, for others it works just fine.
In that various solutions were given and some claim they work too, but for me the following solution worked.
Solution for the error
Step 1: Log into your admin panel
Step 2: Go to Settings>>Miscellaneous
You will see two options,
- Store uploads in this folder
- Full URL path to files
Most probably you will see
/home/.boogee/XXXXX/XXXXXXX/wp-content/uploads
in the first field.
Step 3: Edit that to just
wp-contents/uploads
PS: Please take a backup of what you are editing, incase this trick didnt work, you can restore the old URL.
This should do the trick.
Why I like this solution ?
Other solutions given in the forum were including CHMOD’ing wp-content directory to 777, and everybody who has little “techie” knowledge doesnt like that. Its because CHMOD 777 means, everybody has access to that folder and they can write/read or do what ever they want. Generally this will leave a security hole. Lucky for me, that didnt work too, else I would have to be affraid from a security hack anytime. Lucky for me the other solution worked fine, it doesnt leave any security holes.
So did you guys upgrade your wordpress to the latest version ? Did you guys had this “image upload error” or any other problems? If yes please try this solutions and let me and other know what happened. If you have any other problems, just share it, I will try to find a solution.
Did you like my article. Subscribe to receive updates when i update the blog with more useful posts.
If you like this post, but me a beer
Related posts:
- Why you should upgrade to Wordpress 2.7 ? New wordpress (v2.7) is out and I’M LOVIN’ IT. Why,...
- The 22 must have wordpress plugins for your blog By popular request , I have prepared an article on,...
- Gmail changed its favicon, How to add one to yours ? After a long stretch of work time in front of...
- How to change Gmail Theme? Gmail has now become the most popular email service provider...

38 Responses to “ How to solve Image Upload Error in Wordpress 2.7 ? ”
Comments:
Leave a Reply
Trackbacks & Pingbacks:
-
Pingback from Center for the Handheld Web
December 21st, 2008 at 8:05 am[...] seems to be working. here is the URI for documentation of how to do the fix [...]
-
Pingback from Motivating Myself. « Cosmicblend
January 25th, 2009 at 8:55 am[...] An answer to the image uploading issue can be found at www.cyriac.me [...]

(4.67 out of 5)
(4.00 out of 5)
December 21st, 2008 at 1:29 pm
Hi,
thank you for posting this. Sadly, it didn’t work for me — my settings were already set the way you suggested.
December 21st, 2008 at 8:45 pm
@Gib
Double check your settings, also see that you dont have CHMOD’ed any folder to 777, if you have done that then, revert it back to 755.then try again. also try different browsers like, internet explorer, firefox,chrome.
Let me know what happenes
December 21st, 2008 at 9:37 pm
Thanks for the reply.
I ended up seeing this message:
http://wordpress.org/support/topic/224840?replies=25#post-933442
And I deactivated my Amazon.com plugin and that worked beautifully.
December 21st, 2008 at 9:44 pm
@Gib
Thanks for the share
December 22nd, 2008 at 10:02 pm
Nice Work!
December 23rd, 2008 at 12:44 am
@Linko
Thanks…. Did you upgrade your wordpress ?
December 23rd, 2008 at 6:59 pm
I have a theme that requires the cache folder to be chmod’d to 777 (inside the them). I don’t get an error about my pics not uploading..I just get a blank screen when I attempt to upload a pic even from my library.
Just nada. Won’t upload?
December 23rd, 2008 at 9:41 pm
@Tony
hi, i think your theme folder’s cache has nothing to do with media uploading. i beleive only the wp-contents/upload is the relative folder here.
in your case, my suggestion is, to try different browsers (like IE,firefox,chrome) and do you have the latest version of flash installed ???
December 27th, 2008 at 12:49 pm
Thanks so much. This worked for me!
December 29th, 2008 at 11:50 pm
Thanks a bunch.
December 29th, 2008 at 11:58 pm
@Rudi Schiller and Jennifer
Happy to help you.
December 30th, 2008 at 1:50 am
Add to .htaccess WordPress 2.7
SecFilterEngine Off
SecFilterScanPOST Off
Then it worked fine for me.
http://wordpress.org/support/topic/164999
December 30th, 2008 at 2:29 am
@MC
thanks for the share. i saw that tweak during my research, but i was afraid to do it (me not much of a techie hehe…), since it involves disabling “security” and all (i dont know what those are for)
if any of you guys are trying these tweaks, please share it to others whether it is working or not.
January 2nd, 2009 at 4:39 am
I can successfully upload the image and I see it in the Media Gallery. But when I say Insert to Post a blank screen appears and nothing happens then.
January 2nd, 2009 at 10:08 am
@Kapil
glad news is you can upload images.
please try using various browsers like, firefox,chrome,internet explorer.
alternatively if you can, create a new user “cyriac” and email me its password (remember to make me a author). i shall try to upload and see what the problem is.
January 5th, 2009 at 9:18 am
I actually have this problem only if I activate the checkbox saying “create sub-folders for years and months” (maybe not properly written like this..I’m using italian version..but that checkbox)
and I didn’t solve so far.. :S
January 5th, 2009 at 4:10 pm
Its actually “Organize my uploads into month- and year-based folders” (atleast in my case). But adedip that checkbox is ticked for me, and i do not have any problem.
any way arranging it in years and months are not that important if you dont have a photo-intense blog.
January 9th, 2009 at 9:32 am
Thanks.
This helped me to solve the problem.
January 9th, 2009 at 9:33 am
@Jose
Always happy to help.
January 9th, 2009 at 3:00 pm
Very useful.
I had the same problem and now thank to you all works perfectly.
January 9th, 2009 at 8:55 pm
@Maluen
Happy to help
January 15th, 2009 at 2:36 pm
Fantastic, solved the problem. I wasn’t receiving any errors, it simply wasn’t uploading the images at all.
January 15th, 2009 at 7:43 pm
@Kinesis
Happy to help.
January 18th, 2009 at 6:26 pm
Thanks, Cyriac, this fixed one of my problems, too.
January 18th, 2009 at 10:01 pm
@Lance
Happy to help.
February 1st, 2009 at 7:15 am
Helped me alot, fixed my problems. Now i dont need to search the web for hours:)
February 1st, 2009 at 10:32 pm
@Jinn
Happy to help.
February 3rd, 2009 at 8:55 am
Thanks!! That fixed the problem!
February 3rd, 2009 at 9:08 am
@Nicolas
Happy to help
February 11th, 2009 at 3:06 am
Thanx man!
Remco
February 20th, 2009 at 4:22 am
Many thanks.
It worked straight away for me.
February 20th, 2009 at 9:48 am
@John
Happy to help.
March 10th, 2009 at 1:18 am
In my one website i have same problem: “Unable to create directory /home/username/public_html/wp-content/uploads/2009/01. Is its parent directory writable by the server?”
These type of error you can solve by below steps as per my experience
- First pass 777 permission to WP-content & also too upload folder and its sub folder
- Then moves to your admin section where you can find setting option, in this section check “Miscellaneous’ for uploading path ( This is the main problem please check it again)
- After this please create folder which are mention in your error. as per above mention error i have to create “2009? and also a subfolder with name “01?
- Now try to upload image…
Best Luck!!
March 10th, 2009 at 7:40 pm
You are my freakin’ hero!!!!!!!!!!!! thank you!
March 17th, 2009 at 4:35 pm
unfortunately… I’ve tried everything… the only (ONLY!) thing that works is setting 777. and i don’t want to do that. i am clueless… and my blog is useless without pix…..
ANY IDEAS ???? - sob -
March 21st, 2009 at 3:32 am
am sorry my friend. this is the only way i know. but if you explore more in wordpress forum am sure you will find couple of solutions and if you are lucky you may find one working