WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] 3.3.1 Upgrade "you do not have permissions to access this page" (62 posts)

  1. JoeMeyer
    Member
    Posted 2 years ago #

    Hello everyone.

    I have upgraded to the most current version of WordPress on several sites. Only one currently has this problem (no other issues were realized during the other upgrades). Here is my situation:

    - Deactivated all plug-ins
    - Manually re-installed 3.3.1
    - Ensured DB version was current
    - Deactivated theme and tried to access, yet was still unsuccessful
    - In conclusion, it is not a theme, plug-in, or database issue.

    What else could be the problem?

    Any help would be appreciated.

    Blessings,

    [No bumping. If it's that urgent, consider hiring someone.]

  2. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    When does this error occur?

  3. JoeMeyer
    Member
    Posted 2 years ago #

    When I try to log-in; sorry for not stating this.

    Blessings,

    PS: thanks for the correction - I won't bump anymore.

  4. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    This site is on a different server? Using ftp or logging into your host check the permissions on the wp directories.

    Manually re-installed 3.3.1

    So you had permission to do that. Hmmm. Have you tried wp-login rather than wp-admin?

  5. JoeMeyer
    Member
    Posted 2 years ago #

    Hey there.

    Thanks for the comment.

    I got a 404 error. I typed, "mydomain.com/wp-login".

    Is that what you were suggesting?

    Blessings,

  6. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    Sorry, wp-login.php

  7. JoeMeyer
    Member
    Posted 2 years ago #

    I get the same error, 'You do not have sufficient permissions to access this page'.

    It refers to me to http://mydomain.com/wp-admin/profile.php, which is causing the permissions issue.

    Any ideas?

    Blessings,

  8. JoeMeyer
    Member
    Posted 2 years ago #

    After deleting all my cookies, trying another internet connection, and removing every plug-in from the site (except one that I know isn't causing the issue), I am still having this issue.

    Usually, either the THEME, a PLUG IN, or a DATABASE ISSUE is causing the problem. However, based on my research and information, the error plaguing me is still alive and festering.

    Any further ideas?

    Blessings,

  9. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    What does the .htaccess file say?

    Check database wp_usermeta id - it should be 1

    Did you change the prefix of the tables in the db? If so check that all are the same (upper/lower case matters).

  10. JoeMeyer
    Member
    Posted 2 years ago #

    This is my .htaccess:

    SetEnv PHP_VERSION 5
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Regarding the usermeta ID, if you're referring "Cardinality", it is indeed 1; and my capabilities are:

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

    I did change the prefixes, and they are all the same.

    Is this helpful?

    Blessings,

  11. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

    Try setting it to this

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

  12. nessieq
    Member
    Posted 2 years ago #

    hello sir!

    I'm having the same problem. I did the solution posted above:

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

    but it still won't work. Whenever I try to log in I get this error message.

    You do not have sufficient permissions to access this page

    I don't know what the problem is. It's a fresh install with the multisite enabled. No plugins or themes activated yet.

  13. JoeMeyer
    Member
    Posted 2 years ago #

    Hello there.

    Even after the new database user change, I still receive:

    You do not have sufficient permissions to access this page.

    Any other ideas?

    Blessings,

  14. nessieq
    Member
    Posted 2 years ago #

    I'm maintaining two wordpress websites as well. So far, the only site experiencing problems is the one which is multisite enabled. Mr. Meyer, is your website multisite enabled too?

  15. kmessinger
    Volunteer Moderator
    Posted 2 years ago #

  16. JoeMeyer
    Member
    Posted 2 years ago #

    Hey there.

    I've only heard about multi-sites. What are they? I believe my website is NOT a multisite.

    Thanks Kmessinger for the link, but how is that helpful in my circumstance? I'm still unable to enter the dashboard area.

    Blessings,

  17. JoeMeyer
    Member
    Posted 2 years ago #

    If it's at all helpful, whenever I try to log-in, the page that I am directed to that gives me the permissions error is:

    http://mydomain.com/wp-admin/profile.php

    I looked at this file in my content manager, but there was nothing that seemed I could edit or change.

    Any further ideas?

    Blessings,

  18. JoeMeyer
    Member
    Posted 2 years ago #

    After reading some, it is possible that my .htaccess file could have an error in it? After looking at the file, I am not sure which line could be restricting me access.

    Thoughts?

    Blessings,

  19. esmi
    Forum Moderator
    Posted 2 years ago #

  20. JoeMeyer
    Member
    Posted 2 years ago #

    Thanks for the contribution esmi, but I tried all of those techniques and still cannot access my dashboard. I double checked the DB prefixes and forced another DB upgrade. Furthermore, I deleted more plug-ins (in deeper file folders) and removed related files connected to them - apparently, to no avail.

    Any other thoughts? I feel like I'm the only guy with this particular issue!

    Blessings,

  21. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by PhpMyAdmin.

    What db_version number is in the wp_options table?

  22. JoeMeyer
    Member
    Posted 2 years ago #

    Hey there.

    Yes, I've tried to switch themes. I currently run the theme on two websites, both are on 3.3.1 and only the one is question is having problems. I contacted the developer and he said he knew of no issues regarding permissions.

    I deleted every plug-in on the website, except one, of which I know there are no issues with

    The DB number is: 19470

    Blessings,

  23. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried manually editing the db-version value to 18226 to force an upgrade? Obviously, do backup your database before trying this.

    I'd also try the plugin reset, if I was in your shoes.

  24. JoeMeyer
    Member
    Posted 2 years ago #

    I haven't tried to that specific number, but I have done a force DB upgrade two times.

    Define plug-in reset?

    Blessings,

  25. esmi
    Forum Moderator
    Posted 2 years ago #

    See this Codex section. Use the Phpmyadmin method.

  26. JoeMeyer
    Member
    Posted 2 years ago #

    After renaming the plug-in folder to "plugins.hold", I still cannot access the dashboard.

    Thoughts?

    Blessings,

  27. JoeMeyer
    Member
    Posted 2 years ago #

    I even tried using the number, '18226' to force the DB version change. After it updated to its proper number, I still do not possess proper permissions.

    Thoughts?

  28. esmi
    Forum Moderator
    Posted 2 years ago #

    Is there anything in your site's error logs that might give a clue?

  29. JoeMeyer
    Member
    Posted 2 years ago #

    How could I check the error log?

  30. esmi
    Forum Moderator
    Posted 2 years ago #

    You'd need to ask your hosts if/how you can access them.

Topic Closed

This topic has been closed to new replies.

About this Topic