Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Avatar Problems – Upload failed! – Cannot move to upload folder (31 posts)

Started 3 years, 4 months ago by: Maxaud

  • Profile picture of Maxaud Maxaud said 3 years, 4 months ago:

    I’me getting this error when I try to upload any avatar:

    “Upload Failed! Error was: The uploaded file could not be moved to the upload folder.”

    Normal WordPress uploads are working fine.

    Working on WPMU 2.7 “Bleeding Edge” and BuddyPress r832

  • Profile picture of Maxaud Maxaud said 3 years, 4 months ago:

    I should also add that I’ve tried with the following directories chmod 777 with no luck.

    wp-content/
    wp-content/blogs.dir/
    wp-content/blogs.dir/1/
    wp-content/blogs.dir/1/files/
    wp-content/blogs.dir/1/files/avatars/

    I’ve also tried uploading images that were way too big or way small and still got the same error.

  • I am having the exact same problem. First, I got an error saying that the folder wp-content/blogs.dir/1/files couldn’t be created. Then, I chowned the wp-content folder recursively, which then resulted in the error you are getting. The only difference is that I’m using the current stable version of MU, 2.6. I have searched for hours and I’m not finding a solution. Help!

  • Profile picture of Maxaud Maxaud said 3 years, 4 months ago:

    I ahd the same problem.
    Couldn’t be created and then it couldn;t be moved.
    It’s working fine on a test 2.6.5 install that I have.

  • Profile picture of Andy Peatling Andy Peatling said 3 years, 4 months ago:

    The seems like it may be an ownership problem on those folders? I think the owner of the folders needs to be apache or www.

  • Profile picture of Maxaud Maxaud said 3 years, 4 months ago:

    re-installed with most recent version of both WPMU-bleeding edge and BuddyPress and it seemed to fix the issues.

    I don’t think it was a BP or WP issue but a server problem.

    Thanks for helping.

  • I had the same error.
    I tried to change blogs.dir to 777 and the folders within it to 777, but my ftp gave an error.
    Then I noticed was that my blogs.dir folder was “owned” by nobody.
    So my server peeps changed the ownership of the folders,and I was able to make them 777. Then I noticed that mu/buddypress made a new folder “02″ down a few folders.. but then I still got the upload error.

    after many more emails my server admins found that:
    The issue was that a directory ournewbuddypresssite.com/avatars needed to be created and given permissions of the web server.

    hope this helps anyone with similar issues, and perhaps an update may be needed to the install documentation? not sure if it’s just me or my server issues though..
    (fresh install with Mu V 2.7 and bpress beta2 I’m pretty sure)

  • thanks DJ Steve!! That solved it for me :)

  • I updated to the latest svn build tonight and it solved it… I think it was a BP code issue.. Noticed that add friend no longer works…

  • Profile picture of Frumph Frumph said 3 years, 3 months ago:

    Having the problem today.

  • Had the same problem, when I moved my site to a new host. It was also the file owner who caused that trouble.

  • Profile picture of Frumph Frumph said 3 years, 3 months ago:

    whats the directory path(s) it saves to, then moves the file to?

  • Profile picture of MartinNr5 MartinNr5 said 3 years, 3 months ago:

    wp-content/blogs.dir needs to be writeable.

    The 1.0b2 build had a problem with this though (at least for groups). When upgrading to RC1 the problem went away for me.

  • Profile picture of Frumph Frumph said 3 years, 3 months ago:

    yeah but on windows server 2008 its heirarchal permissions and everything is set so pretty unsure what the problem could be at this point

  • Profile picture of MartinNr5 MartinNr5 said 3 years, 3 months ago:

    What permissions do you have set? “Everyone”, “Full access”?