• First time posting here, running into a super weird issue I’ve never seen before.
    Currently I cannot upload media to the site. It just refuses to take any new media, regardless of how I try to upload it. Currently I’m getting the error:
    “Unable to create directory uploads/2016/01. Is its parent directory writable by the server?”
    The directory ownership is correct, I chowned the entire website directory again just to be sure. Directory permissions are pretty lax and aren’t the issue. To confirm, I copied the site to my test environment, and chmoded the entire site with recursive 777 permissions, and I’m still getting the error.
    The directory does not get created when I attempt to upload data to it, but even when I manually create the folder (again working with correct ownership and lax permissions) I’m STILL running into the error. Adding new media via FTP in the directory I create doesn’t change anything in the GUI, it’s like it doesn’t know it’s there.
    I’ve disabled all the plugins on the site, same error.
    I’ve downgraded WP to 4.4.0, same error.
    I’ve downgraded WP to 4.0, same error.
    I’ve changed themes, same error.
    I’m out of ideas, if anyone has something for me I’d love to hear it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • 1. Login into your WP admin panel.
    2. Navigate to https://your_site_url/wp-admin/options.php
    3. Find “upload_path” variable, and insert there “wp-content/uploads” (without quotes)
    4. Click “Save” on bottom.

    Try now to upload files using Media Uploader.

    Hi,

    I am experiencing the same problem.

    I found the “upload path” variable. The code was already as follows

    ( get_option(‘upload_path’) != ‘wp-content/uploads’ && get_option(‘upload_path’) ) ) )

    So … kind of stuck now on what to do?

    I still have the same problem

    Thanks in advance!

    Geraldine

    @ deanMKD

    This did not solve it for me either.

    Permissions OK.

    No upload folder gives me error:
    Unable to create directory wp-content/uploads. Is its parent directory writable by the server?

    Added upload folder manually gave following error:
    The uploaded file could not be moved to wp-content/uploads.

    Any help would be very nice.

    Thread Starter dickamusmaxamus

    (@dickamusmaxamus)

    There are usually only a couple things you have to check. You have to ensure that the directory is owned with the correct user ownership (IE the directory being created is owned by the same User:Group as the rest of your site. If you’re still seeing errors, try changing directory permissions on the /wp-content/uploads folder to 775, this has solved 99.9% of the issues I’ve come across.)

    evilcardoso, sounds like you’re having the same issues I was.
    The Upload path variable for all my sites are blank. I would suggest leaving it blank unless you’re 100% sure on what the directory structure above your site looks like.

    Hi, thanks for your reply ??

    I changed the permission to 775, unfortunately the problem is still happening!

    Any other ideas?

    Cheers

    Geraldine

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image uploader broken.’ is closed to new replies.