Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 16 years ago

#682 closed defect (bug) (fixed)

error activating bp

Reported by: DJPaul Owned by:
Priority: minor Milestone: 1.5
Component: Core Version: 1.0
Severity: 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
17 years ago

  • MilestoneGroups 1.0
  • Priority majorminor

#2 @DJPaul
17 years ago

  • Version1.0

I can confirm that this occurs in RC2.

#3 @apeatling
17 years ago

  • Milestone Groups 1.0Groups 1.1

#4 @(none)
17 years ago

  • Milestone Groups 1.1

Milestone Groups 1.1 deleted

#5 @apeatling
17 years ago

  • Milestone1.1

#6 @apeatling
17 years ago

  • Resolutionworksforme
  • Status newclosed

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

#7 @DJPaul
17 years ago

  • Resolution worksforme
  • Status closedreopened

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
17 years ago

  • Milestone 1.11.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
17 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
17 years ago

  • Keywords dev-feedback added

#11 @apeatling
17 years ago

  • Milestone 1.21.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
16 years ago

  • ComponentCore
  • Resolutionfixed
  • Status reopenedclosed

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.