tomis167
Newbie
Just Getting Started
Member Likes (0)
I am hosting wp mu on Ubuntu Server and everything works well.
I tried to install the buddy press social theme "bp-social" (the theme seems to work fine) -but the header file "bp-global-adminbar-css.php" - when copied in to: wp-content/wpmu-plugins folder -- produces the following error messages in the header area.
____________________________________________________________________________________________________________
Warning: include_once(/var/www/wp-content/mu-plugins/bp-global-adminbar-css.php) [function.include-once]: failed to open stream: Permission denied in /var/www/wp-settings.php on line 473
Warning: include_once() [function.include]: Failed opening '/var/www/wp-content/mu-plugins/bp-global-adminbar-css.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/wp-settings.php on line 473
Warning: copy(/var/www/wp-content/blogs.dir/1/files/thumb.php) [function.copy]: failed to open stream: No such file or directory in /var/www/wp-content/themes/bp-social/includes/custom-functions.php on line 19
I can't figure it out - sorry to say -I'm a bi of a newbie -- thanks for any help from any whiley veterans out there -- major karmic payback fcoming your way.
one thousand thanks,
tom

Responses (5)
Erstwhile founder (joined May 2007) Likes (0)
Hiya,
Check the permissions for bp-global-adminbar-css.php. It should be 755.
Thanks,
Andrew
Member (joined December 2009) Likes (0)
Thank you Andrew!
I was my permissions! I suspected that from the "permission denied" clue. :)
I had tried that -- but i still got errors -- then i noticed the permission denied seemed to change to files in my wp-content/themes files.
so i changed permissions to 755 for the entire wp-content/themes folder (and all sub-folders and files) to 755.
$ sudo chmod -R 755 /var/www/wp-content/themes
If you have another second -I'd love to hear whether or not that is a good idea. ?
Have I created a security problem? I don't fully understand the ramifications of changing a folder on my server to 755.
Many thanks for your kind help.
tom
Geeky Developer (joined June 2009) Likes (0)
hi tomis167
i see there's 2 error in your end
1. permission error in mu-plugin
- did chmod mu-plugins to 755 fixed this?
2. copy.function error
- apply this solution i mention in other thread
let me know if problem 1 and 2 solved ok
cheers
Member (joined December 2009) Likes (0)
@ both Richie and Andrew -- as a point of clarification -not sure I was clear on this - chmod 755 to the bp-global-adminbar-css.php file, and the /wp-content/themes directory -- completely eradicated ALL errors.
Site and theme -(though I haven't dug very deeply yet) are working completely normally! One zillion thanks.
So now -I'm just concerned about having done a carte-blanche chmod 755 to entire wp-include/theme folder.
Is that a bad idea? Do I have a security problem now?
Many thanks you guys -very excited about this theme. -- Tom
Erstwhile founder (joined May 2007) Likes (0)
Hiya,
Nope, you're fine.
Thanks,
Andrew
Become a member