Opened 16 years ago
Closed 14 years ago
#682 closed defect (bug) (fixed)
error activating bp
Reported by: |
|
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)
#6
@
16 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
@
16 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
@
16 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
@
16 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.
I can confirm that this occurs in RC2.