Skip to:
Content
Pages
Categories
Search
Top
Bottom

[SOLVED] Unable to run update wizard BP 1.6 ”’You do not have sufficient permissions”

  • Avatar of fountainsites
    fountainsites
    Member

    @fountainsites

    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’);

Viewing 3 replies - 1 through 3 (of 3 total)
  • Last time, I also had same problem but can solve. It was because of have to process activation procedure.

    Avatar of fountainsites
    fountainsites
    Member

    @fountainsites

    anyone have any ideas? that would be greatly appreciated!

    Avatar of fountainsites
    fountainsites
    Member

    @fountainsites

    Just to update, I have now solved this problem.

    I removed the code that shares the users and roles with the buddypress sub-site, so the wp-config.php and capabilities.php are back to the wordpress originals. Then I logged in with the admin account (the only user that was created when the wordpress was installed) and i managed to run the update wizard.

    Then I changed the wp-config.php and capabilities.php files back to include the code used to share the users from my main wordpress site.

    All is back to normal ;)

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.