Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar Problems – Upload failed! – Cannot move to upload folder

  • @maxaud

    Participant

    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

Viewing 25 replies - 1 through 25 (of 30 total)
  • @maxaud

    Participant

    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.

    @multimedium

    Member

    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!

    @maxaud

    Participant

    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.

    @apeatling

    Keymaster

    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.

    @maxaud

    Participant

    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.

    @djsteve

    Participant

    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)

    @ddegraw

    Participant

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

    @jimthedj65

    Member

    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…

    @frumph

    Participant

    Having the problem today.

    @angie_jones

    Member

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

    @frumph

    Participant

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

    @martinnr5

    Participant

    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.

    @frumph

    Participant

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

    @martinnr5

    Participant

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

    @mattkg

    Participant

    Running into this problem today, and creating an avatars folder didn’t help. Does anyone have another solution?

    @mascix

    Participant

    same problem couldnt solve the chown or chgroup or chmod. what else can I do ?

    @mattkg

    Participant

    Has anyone been able to find a solution to this yet?

    @mattkg

    Participant

    Hi Everyone,

    I have solved this problem on my installation with help from a very wonderful sysadmin. Here are the two steps we took to make this work:

    – PHP safe_mode turned OFF

    – PHP able to execute the “readfile” function.

    Now that we’ve done that, things appear to be working. I hope this solution works for others.

    @keston

    Participant

    @mattkg: Thanks a lot, its working fine for me with safe mode OFF.

    @vito687

    Participant

    Im having the same problem on the latest branch of WPMU2.7.1 and latest trunk of BP

    @vito687

    Participant

    ::wrong forum::

    @kennethj

    Participant

    Having the same problem with avartars.

    Anything new here?

    @jeffsayre

    Participant

    Anything new since two months ago? There have been many changes to BuddyPress over that time!

    Have you searched the forum and read this thread

    If so, then you need to provide more of an explanation than “Having the same problems with avatars”. That tells us exactly nothing to begin the process of providing support. Please see this thread as well.

    @mhoohu

    Participant

    Oh, It’s working fine on set safe mode off

    @erikshosting

    Member

    Just thought I’d mention that I had this issue and solved it by checking that the blogs.dir folder AND ALL SUBFOLDERS, RECURSIVELY, were set to ownership by ‘apache’ and had 775 permissions.

    This took some time to trouble shoot, as it turned out my host was only setting the blogs.dir folder to ownership by ‘apache’ and not its sub-folders. I had to specifically ask a second tech support guy to check the sub-folders for me before I figured this out.

    ‘apache’ needs to be the owner on apache machines, the rest should have the main ftp user as the owner (you may have to enable group permissions so you can still edit them)

    I Hope this article I wrote helps: http://erikshosting.com/wordpress-tips-code/buddypress-avatar-upload-failed-fix/

Viewing 25 replies - 1 through 25 (of 30 total)
  • The topic ‘Avatar Problems – Upload failed! – Cannot move to upload folder’ is closed to new replies.
Skip to toolbar