• ranbud

    (@ranbud)


    When trying to upload images, I get this error Unable to create directory wp-content/uploads/2014/02. Is its parent directory writable by the server?
    I see many post about permissions, and I have tried them all and currently at 777 and still go go. I see that it wants to create that directory but for some reason it can not. I have no idea what to try next as all I read about is the permissions for the parent director which I figure is wordpress?

Viewing 15 replies - 1 through 15 (of 17 total)
  • ptiper21

    (@ptiper21)

    I am affected with the same problem after i changed host to vps server. It has to do with permission from server side. But why last days a lot of people have this issue? I don’t know!

    Thread Starter ranbud

    (@ranbud)

    I found a solution. Add either or both of these lines to your wp-config.php file (as I’m not sure which one fixed the problem, maybe it was both together).

    define(‘UPLOADS’, ‘/yourblog/wp-content/uploads’);
    define(‘WP_CONTENT_URL’, ‘https://yourblog.com/wp-content’);

    Obviously replace ‘yourblog’ with your blog name.

    It will bypass the the directory it can’t write to and creates a new directory which it can write to.

    Hope it works for you too.

    kk.anu14

    (@kkanu14)

    Please let me know where can I find the wp-config.php file? to add the https://yourblog.com/wp-content to it..

    Thank you.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you ask your hosting providers that, kk.anu14?

    kk.anu14

    (@kkanu14)

    Thank you

    Thread Starter ranbud

    (@ranbud)

    That file is in your main director where WordPress is placed.

    Please nite that thus did work once, and on a clean install I did a second time it did not work, I had to go in a create the directory manually as well.

    So far, this is the only major drawback with using WordPress that I have found as this issue has not been addressed by developers even though there are several thousand post about it.

    At this point I gave it working, but in trying to install some plugins, I get the can not create directory error and gave to delete the plug in.

    Very maddening issue with not real fix as yet that I have found

    Daddycools

    (@daddycools)

    This issue is very popular. It happened to me and i’m stuck. One of the most simple things in any program and its an issue in one of the biggest programs on the web. Where is WordPress support. They should be all over this.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @daddycools, WordPress isn’t an organisation. It is developed, maintained and supported by a community of volunteers. If you’re not satisfied with the support they provide maybe you need to hire someone (no offence intended)?

    The best thing you can do is create your own thread. By posting in someone else’s thread you are only visible to those who are also viewing that same thread.
    https://www.ads-software.com/support/forum/how-to-and-troubleshooting#postform

    Thread Starter ranbud

    (@ranbud)

    I believe that the people that volunteer on this is really great, but when you have an error that thousands of people seem to have, there is an issue that needs to be addressed. I could be a millionaire if I knew code and just put my services on here for hire to address these issues. Charge a few bucks each and help people get this issue resolved. I finally got mine to work for media upload, but can not install plugins for this same issue. Now I installed a second WordPress on a new site and the exact same issue came up. It is great that we have this free program, but if you spend days trying to get a simple issue fixed, is it worth it?

    darick0029

    (@darick0029)

    hi, its very easy to solve, just go to

    Dashboard
    Settings
    Media
    and delete the upload path

    this often happens after site migration.

    David

    (@reioc)

    darick0029 Thank you that did the trick!

    Thread Starter ranbud

    (@ranbud)

    darick0029, what version is this? because on my version that is no listing for an upload path? I am using 3.8.1

    Thanks

    Randy

    thanks reioc im glad i have help you in your problem.

    @ranbuld i am using 3.8.1 when i encountered that problem, and i just delete the upload path and it solve the problem

    Thread Starter ranbud

    (@ranbud)

    Thanks darick0029, but I still do not see where you list this upload path,
    3.8.1
    Dashboard
    Settings
    Media
    There is no place that shows the upload path?

    Thanks

    When I tried this code, it allowed me to upload new images but previously saved images were no longer available.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Unable to create directory’ is closed to new replies.