Are you using the wpmu 2.7.1 beta and bp trunk? The error leads me to believe one or the other isn’t so. See in here: https://buddypress.org/forums/topic.php?id=2190 there’s a post about getting the most recent bp and wpmu.
You might want to talk to the theme author. Perhaps they have seen this error in relation to the theme before.
really thanx Burt. Please Stu-art, try to overwrite your functions.php with the default functions.php of buddy press. I’ve just reuploaded the file, maybe it was corrucpted while zipping or uploading.
BP_PLUGIN_DIR not being defined is a problem with that particular blog not running bp-core.php code where it’s defined. This is the code that is causing the error:
require ( BP_PLUGIN_DIR . ‘/bp-core/bp-core-signup.php’ );
BP_PLUGIN_DIR has to be defined before it gets to functions.php. I don’t think they can be running wpmu 2.7.1 beta and bp RC2.
Trying to run your theme on RC1 maybe?
I’ve seen reports of this kind of error before and couldn’t figure out why BP_PLUGIN_DIR was not defined when they are running code that looks for it’s existence. Now I think I get it.
thanks for the response downloaded the rc2 update i think and still get this code:
Failed opening required ‘BP_PLUGIN_DIR/bp-core/bp-core-signup.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) on activation.
I’m def using the wpmu 2.7.1. is this the correct one yes?
I’ve got it up and running now thanks a lot geza… till next time.
are you sure to have selected the right bp theme (previously called member theme) too? can i take a look on your website?
No this isn’t solved till we find out what was wrong and how it was fixed.
I’ve spent time on this issue and just blowing it of with ‘I fixed it’ isn’t good enough. I’ve PM’ed stu-art for the source of the problem and the solution.
Same problem here, under wpmu 2.7.1, upgrading from bp rc2 to 1.0
Are you using a customized theme? If so, have you tried switching to the standard BuddyPress themes to see if the issue goes away?
I’m having the same issue but with Activities when starting up in:
Fatal error: require() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-activity/bp-activity-classes.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) …www/wp-content/mu-plugins/bp-activity.php on line 14
I “ugraded” from RC1 to v1 but failed. Then I removed everything except WPMU & wp-config.php, as the DB was ok. Copied BP, moved the themes and got the message.
I tried to reset the themes in db to bpmember and bphome without success.
I made some mistakes:
– asume that the upgrade from RCx to v1 was simply copying files over the old ones and didn’t noticed the change in the setup procedure to /wp-content/plugins/buddypress
– Also is posible that as my MU base was 2.7 it messed a bit too
– Tampering the themes fields in the db with a non ortodox setup
I started the intall process all over and it works fine again.
As a final test I tried to swap the old DB for the new one but I get again messages like the BP_PLUGIN_DIR path.
Just if helps …
I ran into this same error message this morning. In case it helps, here’s how it happened to me.
I had MU 2.7 installed on a ubuntu server and MU 2.7 also installed on a local dev installation of ubuntu (both 8.10, if that matters). I upgraded the dev MU to 2.7.1, then installed buddypress. worked great. then I tarred up the dev installation, copied it over to the server, and overwrote the old 2.7 MU non-buddypressed install with the dev files. Ran the upgrade (at http://veryhandso.me/wp-admin/wpmu-upgrade-site.php). Tried to preview the buddypress theme and end up with the error mentioned above.
I then backed up and tried to do a more careful replacement of the files as outlined on the upgrading wordpress page (https://codex.wordpress.org/Upgrading_WordPress). Still no love.
Thanks for any help. Grateful newbie.
Okay, never mind, I’m a moron! I had not activated the Buddypress plugin.
Rather than trying some fancy install via packaged tarballs, I’d suggest a plain, simple install from scratch. Even though you went back and, as you state, “tried to do a more careful replacement of the files,” try a clean-slate install.
Delete everything, including your MySQL DB–assuming you don’t have any important data. Then, download and install WordPress Mu 2.7.1 from here. Get it working before attempting to install BuddyPress.
Once it is working, download BuddyPress and follow the readme.txt instructions.
Looks like this is happening to a lot of sites
I understand your frustration. But, when I search Google for “Failed+opening+required+’BP_PLUGIN_DIR”, I can count exactly 6 actual sites with this error and then several comments within blog posts that indicate the same issue.
Combine that with the half a dozen reports in the BP Forums for this issue, and you get maybe 15 people–assuming none of these people have commented in multiple places. That is not “a lot of sites”.