• Resolved sarahjfardy

    (@sarahjfardy)


    After updating my site to WordPress 4.1.1 I have had many issues.

    After recovering from the WHITE SCREEN OF DEATH, the major issue I have right now is that each time I login as an administrator I am redirected to the /wp-admin page and the display window reads “You do not have sufficient permissions to access this page” . I can navigate around this to access my dashboard to do what I need to. BUT I also see this page when I try to login and edit my administrator (or any administrator) profile. How can I fix this problem?

    Secondly, I think that this “administrator” rights issue is preventing me from re-installing a critical Plugin (CP Contact Form with PayPal).

    I’m not a coder, but I do have Sublime Text 2 setup and I can navigate to folders and make changes to code if I have specific instructions.

    Perhaps somebody could be assist me in making my administrator profile a Super Admin? Would this help? I’m lost

    Any suggestions would be much appreciated

Viewing 15 replies - 1 through 15 (of 22 total)
  • Moderator James Huff

    (@macmanx)

    Is anyone else an Administrator on your site? If so, are they having the same trouble?

    Thread Starter sarahjfardy

    (@sarahjfardy)

    Hi James, Yes – all of the administrator accounts are having the same issue.

    Moderator James Huff

    (@macmanx)

    Hm, ok then. For the follow just alter your user:

    If you are not using Multisite, access your database via phpMyAdmin (most hosting providers offer this in their control panel), go to the wp_users table and find the row for your user_login . Note the ID of this row. Now, go to the wp_usermeta table and find the wp_capabilities row for your user_id . Set the value of this row to:

    a:1:{s:13:"administrator";b:1;}

    Thread Starter sarahjfardy

    (@sarahjfardy)

    Hi James, is there a way to navigate to wp_users without phpMyAdmin (which I don’t have…. and don’t know how to access).

    I have Sublime text 2 and can access all of my sites folders… I can’t see how to get to that folder.

    Thanks

    Thread Starter sarahjfardy

    (@sarahjfardy)

    This is what I can see:

    /www/
    htaccess.bak
    index.php
    license.txt
    readme.html
    wp-activate.php
    wp-admin/
    wp-blog-header.php
    wp-comments-post.php
    wp-config-sample.php
    wp-config.php
    wp-content/
    wp-cron.php
    wp-includes/
    wp-links-opml.php
    wp-load.php
    wp-login.php
    wp-mail.php
    wp-settings.php
    wp-signup.php
    wp-trackback.php
    xmlrpc.php

    Moderator James Huff

    (@macmanx)

    Those are just the files, you need to access the database.

    phpMyAdmin is typically available through your hosting provider’s control panel.

    Thread Starter sarahjfardy

    (@sarahjfardy)

    Ok. This is what is currently set for my wp_capabilities field.

    a:2:{s:13:”administrator”;b:1;s:13:”bbp_keymaster”;b:1;}

    I should change to a:1:{s:13:”administrator”;b:1;} ?

    Moderator James Huff

    (@macmanx)

    Hm, are you using BuddyPress or bbPress?

    Also, before we do this, let’s rule out an interfering plugin or theme function.

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter sarahjfardy

    (@sarahjfardy)

    We are using bbPress.

    I’ve already deactivated/reactivated all of my plugins and non seem to be causing this error. I’ve done each one individually via the FTP thingy.

    I don’t really want to mess with my theme right now as the site has a lot of traffic during the day.

    How do I save the new wp_capabilities field for my user ID? I’ve tried to save it a few times and it keeps resetting to the original.

    Cheers,

    Moderator James Huff

    (@macmanx)

    Yeah, that’s bbPress.

    Are you saying that if you save it as a:1:{s:13:"administrator";b:1;} in phpMyAdmin, it just returns to a:2:{s:13:"administrator";b:1;s:13:"bbp_keymaster";b:1;} ?

    Thread Starter sarahjfardy

    (@sarahjfardy)

    Yes

    Thread Starter sarahjfardy

    (@sarahjfardy)

    I deleted bbPress and all of my problems have been dissolved… including my error with CP Contact form with PayPal.

    Thanks you for your time in helping me with my issues. I really appreciate it.

    Moderator James Huff

    (@macmanx)

    Hm, ok that’s really weird. :/

    Try manually resetting your plugins again, then without reactivating any, change the value again to:

    a:1:{s:13:"administrator";b:1;}

    Moderator James Huff

    (@macmanx)

    Ah, excellent, our replies crossed. ??

    For further help with the bbPress issue, I recommend posting at https://bbpress.org/forums/

    Thread Starter sarahjfardy

    (@sarahjfardy)

    Thanks James.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Administrator error "You do not have sufficient permissions to access this page"’ is closed to new replies.