Title: Upload error in 2.1
Last modified: August 18, 2016

---

# Upload error in 2.1

 *  Resolved [armymomnj](https://wordpress.org/support/users/armymomnj/)
 * (@armymomnj)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/)
 * I’m getting this message when I try to upload an image in 2.1.
 * > The uploaded file could not be moved to /home/gyglgmo/public_html/wp-content/
   > uploads/2007/01.
   >  Warning: Cannot modify header information – headers already
   > sent by (output started at /home/gyglgmo/public_html/wp-admin/admin-functions.
   > php:1879) in /home/gyglgmo/public_html/wp-includes/functions.php on line 1219
 * Everything else went fine with the upgrade, that I can see so far, except for
   one plugin incompatibility and this upload error. Can someone please help me 
   with this?
 * My blog is at [http://armymomnj.name](http://armymomnj.name)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [armymomnj](https://wordpress.org/support/users/armymomnj/)
 * (@armymomnj)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508540)
 * Can’t anyone help me? I can’t get a photo into a post without uploading to photobucket
   and pasting the url in. I would really like to get my wordpress 2.1 working properly.
 * The error message comes up where the upload manager is in the post. I’ve tried
   everything I can think of to fix this. I’ve made sure the permissions are right
   and I don’t see a plugin that might be causing the problem. I don’t have any 
   plugins that have to do with uploads.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508543)
 * Try searching for “headers already sent” – it’s usually something to do with 
   whitespace somewhere.
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508544)
 * And make sure that `/home/gyglgmo/public_html/wp-content/uploads/2007/01` exists
   and is writable by your server.
 *  Thread Starter [armymomnj](https://wordpress.org/support/users/armymomnj/)
 * (@armymomnj)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508552)
 * I found the problem. In the wp-content/uploads/2007/01 the 01 folder didn’t have
   the permissions right. That folder I somehow missed. I set the permissions and
   now it works!
 * Thanks vkaryl and HandySolo! I’m a happy camper now!
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508555)
 * Oh, that’s good! I wasn’t really any help, but I AM glad you got it sorted!
 *  [idiotprogrammer](https://wordpress.org/support/users/idiotprogrammer/)
 * (@idiotprogrammer)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508702)
 * so what should the permissions be? 755?
 * for jan 2007 i have
 * drwxrwxr-x 2 rjnagle rjnagle 4096 Jan 25 14:45 01
 * and it doesn’t work!
 * If I change the image directories to 777, it DOES work.
 * But that doesn’t seem right.
 * [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
   
   [http://wordpress.org/support/topic/50863?replies=15](http://wordpress.org/support/topic/50863?replies=15)
 * Is this then a server issue?
 * rj
 *  [idiotprogrammer](https://wordpress.org/support/users/idiotprogrammer/)
 * (@idiotprogrammer)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508703)
 * so what should the permissions be? 755?
 * for jan 2007 i have
 * drwxrwxr-x 2 rjnagle rjnagle 4096 Jan 25 14:45 01
 * and it doesn’t work!
 * If I change the image directories to 777, it DOES work.
 * But that doesn’t seem right.
 * [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
   
   [http://wordpress.org/support/topic/50863?replies=15](http://wordpress.org/support/topic/50863?replies=15)
 * Is this then a server issue?
 * rj
 *  [scalambra](https://wordpress.org/support/users/scalambra/)
 * (@scalambra)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508892)
 * I too had this problem. It turns out that it’s a consequence of the way php is
   set up on your webhost, and you may be able to change this.
 * If php is set up as an Apache module, then it runs as the webserver and you have
   to change the permissions to 775. However, if you are able to run it in FastCGI
   mode then the permissions can remain 755, which is more secure.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Upload error in 2.1’ is closed to new replies.

## Tags

 * [fastcgi](https://wordpress.org/support/topic-tag/fastcgi/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 5 participants
 * Last reply from: [scalambra](https://wordpress.org/support/users/scalambra/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/upload-error-in-21/#post-508892)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
