Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 12 years ago

#682 closed defect (bug) (fixed)

error activating bp

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.5 Priority: minor
Severity: Version: 1.0
Component: Core Keywords: dev-feedback
Cc:

Description

wpmu 2.7 branch, rev 1751.
bp trunk, rev 1358.

Following message in apache log on new, clean install and "site wide activation".

`
[Mon Apr 20 22:37:45 2009] [error] [client 127.0.0.1] WordPress database error Table 'wordpress.wp_bp_groups' doesn't exist for query SELECT id FROM wp_bp_groups WHERE slug = 'plugins.php' made by require_once, require, do_action, call_user_func_array, groups_setup_nav, BP_Groups_Group->group_exists, referer: http://example.com/wp-admin/plugins.php
`

Change History (12)

#1 @DJPaul
13 years ago

  • Milestone set to Groups 1.0
  • Priority changed from major to minor

#2 @DJPaul
13 years ago

  • Version set to 1.0

I can confirm that this occurs in RC2.

#3 @apeatling
13 years ago

  • Milestone changed from Groups 1.0 to Groups 1.1

#4 @(none)
13 years ago

  • Milestone Groups 1.1 deleted

Milestone Groups 1.1 deleted

#5 @apeatling
13 years ago

  • Milestone set to 1.1

#6 @apeatling
13 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Please reopen if you can confirm this with 1.1, lots has changed.

#7 @DJPaul
13 years ago

  • Resolution worksforme deleted
  • Status changed from closed to reopened

The following as of latest release of WPMU and BP trunk rev 1755:

[01-Sep-2009 20:51:03] WordPress database error Table 'wpmu.wp_bp_xprofile_data' doesn't exist for query SELECT * FROM wp_bp_xprofile_data WHERE field_id = 1 AND user_id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_get_field_data, BP_XProfile_ProfileData->get_value_byid

[01-Sep-2009 20:51:03] WordPress database error Table 'wpmu.wp_bp_xprofile_fields' doesn't exist for query SELECT id FROM wp_bp_xprofile_fields WHERE id = 1 made by require_once, require_once, require_once, require_once, do_action, call_user_func_array, bp_core_setup_globals, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_ProfileData->save, BP_XProfile_ProfileData->is_valid_field

[01-Sep-2009 20:51:03] WordPress database error Table 'wpmu.wp_bp_groups' doesn't exist for query SELECT id FROM wp_bp_groups WHERE slug = 'plugins.php' made by require_once, require, do_action, call_user_func_array, groups_setup_nav, BP_Groups_Group->group_exists

#8 @apeatling
13 years ago

  • Milestone changed from 1.1 to 1.2

Until BuddyPress gets moved to using the activate/deactivate plugin hooks these log errors are going to persist. At the moment there is a bug in WPMU with sitewide plugins and these hooks, so until I get that worked out this is going to have to be bumped until 1.2

#9 @DJPaul
13 years ago

Can you not just at the top of the function put a 'does this table exist' at the top? In my plugin, I see if the db site option has been set yet or not.

#10 @DJPaul
13 years ago

  • Keywords dev-feedback added

#11 @apeatling
13 years ago

  • Milestone changed from 1.2 to 1.3

Punting this again to 1.3 when we will definitely be building a more robust database upgrade system identical to the one in WordPress.

#12 @boonebgorges
12 years ago

  • Component set to Core
  • Resolution set to fixed
  • Status changed from reopened to closed

I haven't seen these errors in recent installations of the trunk, so I'm assuming that the new upgrade system has corrected them. Please reopen if you're still seeing the problem.

Note: See TracTickets for help on using tickets.