Error uploading image on "add new post" page - just moved hosts

Discussion in 'WordPress' started by cluongo18, Jul 7, 2010.

  1. #1
    I just switched hosts and something must have gotten messed up, but when I created a new post on my WP blog and tried to upload and image, it uploaded to 100% and said "crunching..." but then gave this error:

    "Unable to create directory /home/users/web/b917/moo.luongonetwork/tutcove//wp-content/uploads/2010/07. Is its parent directory writable by the server?"
     
    cluongo18, Jul 7, 2010 IP
  2. tronicscribe

    tronicscribe Peon

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I've had something similar happen when I moved hosts. First check under settings/media if the path to your uploads folder is correct or just set it to default. Otherwise, I notice the problem gets fixed when I update wordpress. Even if you already have 3.0 you can still go to upgrade and re-auto install 3.0 which just might fix the problem. I never really found out exactly what caused it, especially since my directories were all writable.

    Also, if you exported your old SQL file and imported it into your new site, check to make sure all the domain urls are correct in the SQL file.
     
    tronicscribe, Jul 7, 2010 IP
  3. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #3
    create "uploads" folder in " wp-content"
    and
    change the permissions of "uploads" to 777
     
    bhuthecoder, Jul 7, 2010 IP
  4. superfrankie

    superfrankie Well-Known Member

    Messages:
    1,167
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    180
    #4
    When you move your hosts, The path problem usually arise. Go in Settings -> Misc. Correct your path and then Change Chmod to 777 of WP-Content and all directories & files.
     
    superfrankie, Jul 8, 2010 IP
  5. cluongo18

    cluongo18 Member

    Messages:
    855
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #5
    people are saying CHMOD this chmod that so I just CMODED a bunch of stuff not knowing which EXACTLY to CHMOD.

    I changed the path in Settings - MISC to the correct folder /uploads

    Now I am getting this error:

    "Unable to create directory /www/wp-content/uploads/2010/07. Is its parent directory writable by the server?"
     
    cluongo18, Jul 8, 2010 IP
  6. cluongo18

    cluongo18 Member

    Messages:
    855
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #6
    Anyone? Please help I need this fixed asap! <3
     
    cluongo18, Jul 10, 2010 IP
  7. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #7
    create "uploads" folder in " wp-content" folder
    and
    CHMOD "uploads" folder to 777
     
    bhuthecoder, Jul 10, 2010 IP
  8. cluongo18

    cluongo18 Member

    Messages:
    855
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #8
    The folder already exists, should I delete it and make a new one?
     
    cluongo18, Jul 10, 2010 IP
  9. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #9
    Lol, don't just CMOD everything. Just follow the directions.

    No, inside of the uploads folder, you also need to create a folder for the year "2010" and then inside of that, create a folder for the month "7" or "07" and set them all to 777.

    Your image uploads should work after that.
     
    hmansfield, Jul 10, 2010 IP
  10. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #10
    no need top delete it,just CHMOD to 777

    which version of wordpress u using?

    u don't need to change anything in admin panel
     
    bhuthecoder, Jul 10, 2010 IP
  11. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #11
    no need to create sub-folders in "uploads" folder.
    wordpress automatically creates them if its parent directory(uploads) is writable(777) by server
     
    bhuthecoder, Jul 10, 2010 IP
  12. meyrheena

    meyrheena Member

    Messages:
    134
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #12
    you try to do his advice
    yuppzz
     
    meyrheena, Jul 11, 2010 IP
  13. cluongo18

    cluongo18 Member

    Messages:
    855
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #13
    Okay then I dont get why people are telling me to create these folders if they already exist..

    Here is what I have right now:

    Uploads > 2010 >
    05
    06
    07

    Every single one is CHMODDED to 0777 (Uploads, 2010, 05, 06, 07)

    and this is the error i get now:

     
    Last edited: Jul 13, 2010
    cluongo18, Jul 13, 2010 IP
  14. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #14
    If all that is true then there is no reason for the error. Is this a multi site set up? If so do you have image uploads enabled?
    If so then you need to follow this up with your host to troubleshoot the issue.
     
    hmansfield, Jul 13, 2010 IP
  15. cluongo18

    cluongo18 Member

    Messages:
    855
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #15
    Multi site set up? And I am pretty positive I have "image uploads enabled" I mean its been working for the past few months prior to the host change.
     
    cluongo18, Jul 13, 2010 IP
  16. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #16
    PM me ftp and wordpress admin login details i will check it
     
    bhuthecoder, Jul 13, 2010 IP
  17. cluongo18

    cluongo18 Member

    Messages:
    855
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #17
    Bump. Please help! Im dying! haha
     
    cluongo18, Jul 22, 2010 IP