I also note that while the list of plugins says it is inactive, the left hand column of the dashboard still has BuddyPress listed at the bottom. I think this was what was supposed to show for 1.0.3 but my development sandbox version of 1.1.3 that does work fine, has that near the top under site admin
andrea_r in a similar situation over at MU forum recommended deleting the plugin and reinstalling it. This I tried. I used the Plugin control panel and clicked “delete” and got this error:
Warning: require_once(…wp-content/plugins/buddypress/bp-loader.php) [function.require-once]: failed to open stream: No such file or directory in …/wp-content/mu-plugins/bp-events.php on line 36
in all cases above I’ve replaced my actual root file names with “…”
hi,seems there have some files partially present in your plugins directory.
try using FTP and deleting the buddypress folder inside plugins.Then try manually uploading the buddypress (using FTP to avoid any partial download issues) and activating it.
Let us know,how it goes.
Thanks Brajesh
I used FTP, uploaded BP 1.1.2 zipped, deleted the BP folder in plugins, unzipped the new BP refreshed the page and it showed up as installed but inactive (as it should).
I attempted to activate and:
Fatal error: Cannot redeclare bp_activity_install() (previously declared in …/wp-content/plugins/buddypress/bp-activity.php:19) in …/wp-content/plugins/buddypress/bp-activity.php on line 52
I see the PB dashboard elements in the left column now up under “site admin” which is marginally better I guess but the public facing page is now blank
You are welcome.
I am not sure about the fatal error(as it should not appear).
Since the Buddypress menu is available in the admin now,It seems the plugin got activated.
try following
1.rename the wp-content/bp-themes directory to something else[as you upgraded from 1.0.3 which used old theme architecture]
2.copy the themes bp-sn-parent and bp-default from buddypress/bp-themes to wp-content/themes
Go to site back end.Enable the themes and activate the bp-default.hopefully,It will be working.
Well, I have managed to step back to BP 1.0.3 at least and all is working as it was a 2 hours ago. (I populated a 2nd mysql table with the backup and pointed back there)
I think that’s enough excitement for today.
I did note Michael Berra’s comment here
https://buddypress.org/forums/topic/trouble-upgrading#post-25605
saying he had some special file added in. This reminded me that I’ve made little mods too. When I return to this I’ll document them and see if I can uncover the problem (and report it here)
I’ve at least dug back through the fiddles I’ve done and I suspect the “force member login” but haven’t tried to fix it yet.
Here are the candidates for my woes
BP Events 0.59 was formerly manually added to the MU Plugins folder, not with BP1.1x and events 1.1
I see in mu plugins also force member login which I think I added for security purposes it’s from here https://buddypress.org/forums/topic/plugin-force-login-for-member-pages
The facebook connect needed a twiddle as at https://buddypress.org/forums/topic/bp-fbconnect-missing-argument-5-for-fbc_get_avatar#post-20801
BUT I think that isn’t a problem for the revised FB connect
If you have other plugins that rely on BuddyPress being installed, then this is a bigger project for you than just upgrading BP. Since a lot of the functions and their locations have changed from 1.0 to 1.1, lots of the plugins needed to be upgraded as well.
What I would recommend is deactivating all of your plugins, deactivating BP. Upgrade BP. Make sure everything works okay with just WPMU and BP installed, and then step through each other plugin one by one and upgrade them if they need it, or activate them and see what’s conflicting.
Also, before you deactivate BuddyPress, I suggest you change the site theme back to the default (Kubrick) and switch it back after you have installed the latest version of BuddyPress and have activated it.
Thanks to both of you. Tried again as you suggested NO JOY though.
Wondering about workaround.
Will I need to build again from scratch or can I poach the database?
Function redeclaration warnings are usually in this case because you have a BuddyPress-specific theme, or a plugin which requires BuddyPress. You need to make sure you have no plugins active that use BuddyPress, or any code in files such as bp-custom.php etc.
I ran into this exact same error:
Fatal error: Cannot redeclare bp_activity_install() (previously declared in …/wp-content/plugins/buddypress/bp-activity.php:19) in …/wp-content/plugins/buddypress/bp-activity.php on line 52
If you have a failed upgrade, I recommend reverting to a “clean” backup of your files and database from before you upgraded Buddypress or attempted reactivation.
Here’s what I did to successfully upgrade from BP 1.0.3 to 1.1.2:
1. Switch to a non-BP theme, i.e. WordPress mu Homepage 1.6
2. Deactivate ALL plugins (you’d probably be okay by deactivating only BP-dependent plugins but I did this just to be safe)
3. Delete Buddypress plugin files (/wp-content/plugins/buddypress) via wp-admin or FTP, either is fine
4. Download the Buddypress 1.1.2 zip and upload the new files to your plugins folder
5. Activate Buddypress plugin in wp-admin
I can’t comment on what changes you have done to your install or what plugins you’re running but I had similar problems with the upgrade and the steps above allowed me to successfully upgrade BP.