Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatar upload failed


  • philpeter
    Participant

    @philpeter

    I’m having trouble uploading an avatar for the admin user. I get the following message;

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

    My set-up:

    • WPMU 2.7.1
    • BuddyPress 1.0
    • Plugin: bp-Events 0.58
    • Custom BP theme (though only customised colour scheme)

    I tried all the suggestions in this forum post about an identical issue but none of them solved the problem.

    Does anyone have any ideas what else might be causing this and how it can be fixed? Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Check directory permissons and owner of, IIRC, /blogs.dir/


    philpeter
    Participant

    @philpeter

    IIRC?

    Yep, I’ve gone through owner and permissions for blogs.dir, wp-content, wp-content/uploads and others as suggested by the post I linked to, but none of those worked.

    Cheers


    Jeff Sayre
    Participant

    @jeffsayre

    Philpeter-

    This clearly looks like a permissions-based issue. A couple of questions:

    1. What are the permissions for blog.dir?
    2. What, if any, errors are showing up in your log files?
    3. Have you tried disabling all plugins except BuddyPress and switching to the default themes?


    philpeter
    Participant

    @philpeter

    1. 777 and owner is the username of the FTP account.

    2. I’m getting “Directory index forbidden by Options directive: /var/www/html/

    3. No, it’s live now so doing so isn’t exactly ideal. I’ll take it down for a time tonight though and do that to see if it helps.

    Thanks!


    philpeter
    Participant

    @philpeter

    Right then… I’ve de-activated all the plugins and switched to the skeleton theme and tried again but I get the same error message.

    I don’t get it.

    Any ideas?


    Jeff Sayre
    Participant

    @jeffsayre

    Phil-

    Okay, a couple of additional questions:

    You state that permissions for blog.dir is set to 777 and it is owned by your FTP account. Is the owner of your FTP account the same as the owner of your html folder? If not, that may be your problem.

    The error message you listed, “Directory index forbidden by Options directive: /var/www/html/”, can indicate several things including an improper virtual host set up. Are you on a dedicated server or a shared hosting account? I would contact your ISP and ask for assistance with this particular error.

    Also, with regards to that error, if you’ve customized your .htaccess file, you might have inadvertently made some changes that could cause this issue. You can always try adding:

    Options +Indexes

    to your .htaccess file, but that would not really help to determine why this error is being thrown in the first place. I would prefer that you get WPMU + BuddyPress functioning with the default .htaccess file.

    Was WordPress Mu working without issue before installing BuddyPress?


    philpeter
    Participant

    @philpeter

    The HTML folder is the same owner as blog.dir, as is the whole of the tree.

    I’m on a virtual dedicated server actually. I have three other setups working completely fine on the same box though.

    I tried the change to .htaccess but that didn’t work either :-s

    Yep WPMU was working fine before adding BP. As I mentioned above, I have other installations of WPMU/BP up and running without this issue.

    Cheers


    Jeff Sayre
    Participant

    @jeffsayre

    Okay, so you have three additional WPMU/BP installs working without issue. This means that you have no avatar uploading problems with those installs. Is that correct?

    If so, then what is different between those three installs and the malfunctioning one?

    1. Are all installs running the same versions of WPMU + BP?
    2. Are there any plugins in your malfunctioning install that are not being used in the other three?
    3. Is the theme different in your malfunctioning install but the same in the other three?
    4. Are the .htaccess files in the working three the same but different in any way in the malfunctioning install?

    You need to narrow down the variables and focus on the differences between the installs, in particular what is the same in the three working installs that differs with the malfunctioning install.

    I would also suggest contacting your ISP about that Apache error.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Avatar upload failed’ is closed to new replies.
Skip to toolbar