Wordpress Unable to Upload Images- File Permissions Help Required

Discussion in 'WordPress' started by learn2earn, May 20, 2010.

  1. #1
    When I am uploading images I get the following error.

    Unable to create directory /home/earning/public_html/wp-content/uploads/2010/05. Is its parent directory writable by the server?


    Which file do I need to give file permissions and tell me file path. And what should be the file permissions.
     
    learn2earn, May 20, 2010 IP
  2. rono

    rono Greenhorn

    Messages:
    84
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    I think the proper permission should be 755.
    But that's weird, Wordpress usually takes care of that.

    Try changing manually the permission for the uploads folder and see if it fixes your predicament.
    The uploads location:
    /wp-content/uploads
     
    rono, May 20, 2010 IP
  3. balivillaholidays

    balivillaholidays Peon

    Messages:
    272
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think since your blog was filed into a public directory of your host, 777 CHMOD is the closest possible file permission for your blog to automatically write and execute in wordpress.
     
    balivillaholidays, May 20, 2010 IP
  4. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #4
    create a "uploads" directory in "/home/earning/public_html/wp-content/" and change "uploads" directory permissions to 777 .
     
    Last edited: May 20, 2010
    bhuthecoder, May 20, 2010 IP
  5. learn2earn

    learn2earn Well-Known Member

    Messages:
    1,383
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    160
    #5
    @ balivillaholidays
    @ Rono
    @ Mr. bhuthecoder
    Hey that worked. I have given the permissions to public_html/wp-content/uploads as 777 and it worked. I tried with 776,766,765,755,756 but none of them worked. So giving permissions as 777 wouldn't be a problem.
     
    learn2earn, May 22, 2010 IP
  6. RiArose

    RiArose Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Recently I faced a different kind of issue which said there was problem in php.ini; when I contacted host company they moved the php.ini to my public_html directory and asked me to make changes wherever necessary. But I couldn't understand what to change, but I think the host company support staff did something and the problem disappeared. Apart from picture uploading problem, it also happened like this that all the categories of wordpress went missing and hence the blog's appearance also got messed up.

    The problem is solved now, but if it happens again, I don't know what caused it and how to rectify it. Anyone aware of any such issues?
     
    RiArose, May 22, 2010 IP
  7. learn2earn

    learn2earn Well-Known Member

    Messages:
    1,383
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    160
    #7
    Your hosting is having such problem. Change your hosting provider that will rectify your problem.
     
    learn2earn, Jun 9, 2010 IP