Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Avatar Upload Issues


okso
Participant

@okso

I’ve just done a brand new installation and got this with the fix to core-avitars.php

if ( !$path = get_option( ‘upload_path’ ) )

$path = WP_CONTENT_DIR . ‘/uploads’;

else

$path = ABSPATH . $path;

and removing the upload path and substituting with full upload url

I’ve set up a main site and a subdomain. Both standard media library uploads work OK. But when I enable BiddyPress and try to create an avatar I get…

Blog 1

Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/1. Is its parent directory writable by the server?

http://powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

Blog 2

Upload Failed! Error was: Unable to create directory /var/www/vhosts/powerofthefeminine.com/httpdocs//group-avatars/2. Is its parent directory writable by the server?

http://members.powerofthefeminine.com/files/2010/04/okso_big-150×150.jpg

with upload path set to wp-content/uploads and leaving the full url in place I get a perfect upload but a bad return path with wp-content missing from url…

Blog 1

http://powerofthefeminine.com/uploads/group-avatars/1/avatar.jpg

Blog 2

http://powerofthefeminine.com/uploads/group-avatars/2/avatar.jpg

Skip to toolbar