[SOLVED] Unable to run update wizard BP 1.6 ”’You do not have sufficient permissions”
-
I’m having trouble to run the buddypress 1.6 update wizard, as it just says ‘You do not have sufficient permissions to access this page.’ even when i’m logged in as admin.
I feel this problem is most likely caused by the way I have buddypress set up on a seperate wordpress install to my main wordpress site. Basically I have two wordpress sites, with the sub-site (buddypress site) getting the users and their roles from the main wordpress site, so the users are shared.
Does anyone know how I can get buddypress to successfully update with the current set up I have?
Here is the code I use to share users from the main wordpress site:
USE USERS FROM MAIN WORDPRESS
================================In ALL of my installs:
in wp-config.php:
added just above /* That’s all, stop editing! Happy blogging. */:
define(‘CUSTOM_CAPABILITIES_PREFIX’, ‘wp_’);
in wp-includes/capabilities.php:
replaced:
$this->cap_key = $wpdb->prefix . ‘capabilities’;with:
if (defined (‘CUSTOM_CAPABILITIES_PREFIX’)) {
$this->cap_key = CUSTOM_CAPABILITIES_PREFIX . ‘capabilities’;
}
else { $this->cap_key = $wpdb->prefix . ‘capabilities’;
}In all installs EXCEPT the original:
in wp-config.php:
added just above /* That’s all, stop editing! Happy blogging. */:define (‘WPLANG’, ”);
define(‘CUSTOM_USER_TABLE’, ‘wp_users’);
define(‘CUSTOM_USER_META_TABLE’, ‘wp_usermeta’);
- The topic ‘[SOLVED] Unable to run update wizard BP 1.6 ”’You do not have sufficient permissions”’ is closed to new replies.