300 pointsWPMU DEV ExpertSeriously helpful member
Pali Baacsi
Member
—
20th January 2012
I am trying to create a Buddypress group and receiving an error when I try to upload an avatar for the group. The error in question:
Upload Failed! Error was: Unable to create directory /var/www/wp-content/blogs.dir/1/files/group-avatars/1. Is its parent directory writable by the server?
Technical Info:
WP 3.3.1 MultiSite with Subdomains
Buddypress 1.5.3.1 (on subdomain BlogID '3')
Blogs MU 1.2.9
Hosting with Hostgator
I was surprised that the avatars for Buddypress groups were thrown in the root blog's folder, but wasn't sure if this had anything to do with it. Both wp-config and bb-config refer to Buddypress being on Blog 3. Wp-config has:
I am trying to create a Buddypress group and receiving an error when I try to upload an avatar for the group. The error in question:
Upload Failed! Error was: Unable to create directory /var/www/wp-content/blogs.dir/1/files/group-avatars/1. Is its parent directory writable by the server?
Technical Info:
WP 3.3.1 MultiSite with Subdomains
Buddypress 1.5.3.1 (on subdomain BlogID '3')
Blogs MU 1.2.9
Hosting with Hostgator
I was surprised that the avatars for Buddypress groups were thrown in the root blog's folder, but wasn't sure if this had anything to do with it. Both wp-config and bb-config refer to Buddypress being on Blog 3. Wp-config has:
Jeepers, Phil, I don't think that's my issue. I didn't mention that I have blogs.dir set to 777 and I'm still getting this error. I tried creating the directory structure that it called for, and later even place the file in the folder, but to no avail.
Thanks, Richie, and Phil. There was a problem with how my hosting was set up and after a few hours, it was sorted. And by sorted, I mean I deleted everything and started over!!!
Responses (5)
Sales & Support Pro — 20th January 2012 #
Hiya!
This it's a simple file permissions error. Do you use an FTP client like FileZilla?
Using that you'll needed to check that your /wp-content/blogs.dir folder has write permissions.
Your better of reading the WordPress guidance on that to get it right: http://codex.wordpress.org/Changing_File_Permissions
Thanks,
Phil
Member — 20th January 2012 #
Jeepers, Phil, I don't think that's my issue. I didn't mention that I have blogs.dir set to 777 and I'm still getting this error. I tried creating the directory structure that it called for, and later even place the file in the folder, but to no avail.
Member — 20th January 2012 #
wp-content also set to 777.
Geeky Developer — 21st January 2012 #
hi pali
check if the 1 or 3 folder exist in blogs.dir?
eventually you can manually ftp create this folder
var/www/wp-content/blogs.dir/1/files/group-avatars
it may resolve the error
Member — 21st January 2012 #
Thanks, Richie, and Phil. There was a problem with how my hosting was set up and after a few hours, it was sorted. And by sorted, I mean I deleted everything and started over!!!
Become a member