• Resolved Galegri

    (@galegri)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    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.
    https://codex.www.ads-software.com/Changing_File_Permissions

    Thread Starter Galegri

    (@galegri)

    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.