Title: Upload image/media issue
Last modified: August 21, 2016

---

# Upload image/media issue

 *  Resolved [Galegri](https://wordpress.org/support/users/galegri/)
 * (@galegri)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/upload-imagemedia-issue/)
 * Yesterday I migrate my site to an other host, and i changed the wp-config.php
   for the db connection and all seemed to work fine.
    But today I tried to upload
   an image for the slider and I got this error:
 * >  “web00__ok.gif” has failed to upload due to an error
   >  The uploaded file could
   > not be moved to wp-content/uploads/2014/01.
 * I didn’t make any major change to the site that can produce this error so I suppose
   it’s due the migration.
 * I know it might be a wordpress error more than customizr’s but I would be glad
   to get some help.
 * [entraraltop10.com/](http://entraraltop10.com/)

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

 *  [acub](https://wordpress.org/support/users/acub/)
 * (@acub)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/upload-imagemedia-issue/#post-4537859)
 * Here’s what you need to do:
 * 1. Rename your uploads folder to anything else (i.e. old_uploads)
    2. Create 
   a new uploads folder. 3. Set chmod permissions of the new folder to 777. 4. Upload
   the image you were trying to upload (it should work now). 5. Copy all contents
   of old_uploads into uploads 6. IMPORTANT: Change chmod permissions recursively
   to your uploads folder to 755. 7. Delete your old_uploads folder.
 * You’ll be able to upload now. This is a known WP bug, has nothing to do with 
   Customizr.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/upload-imagemedia-issue/#post-4537863)
 * > Create a new uploads folder.
 * That can create problems. It’s important that WordPress creates the uploads folder
   itself. Otherwise, you can end up with problems due to folder ownerships. Instead,
   try changing the permissions on the wp-content directory to 766. If you still
   have problems, try 767, 775 or 777. Once your uploads are working, change the
   permissions on wp-content back to 755 again and check that everything still works
   OK.
    [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 *  Thread Starter [Galegri](https://wordpress.org/support/users/galegri/)
 * (@galegri)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/upload-imagemedia-issue/#post-4537880)
 * It works!
 * Thanks acub for ALL your answers.

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

The topic ‘Upload image/media issue’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Galegri](https://wordpress.org/support/users/galegri/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/upload-imagemedia-issue/#post-4537880)
 * Status: resolved