Support » Alpha/Beta/RC » Login-Error: You do not have sufficient permissions to access this page.

  • Resolved cinematic

    (@cinematic)


    Hi,
    I have just installed the latest nightly build in a subfolder.
    When I try to login I am getting the error message:
    “You do not have sufficient permissions to access this page.”

    I have noticed that my wordpress tables do not have the prefix wp_

    No matter which prefix I am entering in config.php … the database tables do not show any. I am just getting 11 tables without any prefix.

    Any idea what the reason could be?
    Thanks!

    P.S. I just tried another way and didn’t fill in the data in config.php by myself but set my wordpress folder to chmod 777 and let the installation script create config.php. Now the database tables have the correct prefix and I can login. Strange, isn’t it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Hand creating your wp-config.php file DOES NOT create the database, just FYI. You’re supposed to let the install script do it, because it creates and populates the database 🙂

    Thread Starter cinematic

    (@cinematic)

    Hi Ipstenu, I know that config.php doesn’t create the tables but I always edited config.php before installation and then the installation script took the data from my config.php and created the database tables.

    Only in wp3.0 it doesn’t work for me this way (with regard to the table prefix. It does take the database-data though).

    My SUPER ADMIN is gone after updating to the latest nightly build and I’m getting this error message whenever I try to do something.

    Possibly relates to http://core.trac.wordpress.org/ticket/12933#comment:3 which is fixed on trunk so would be in the next nightly, though whether that gets your rights back I don’t know.

    Thanks Mr Mist.

    Will wait for the next build.

    Hello cinematic,

    You just need to go to your database (PhpMyAdmin)

    Its for w-3.0.1
    1.Brows table wp_option, and find wp_user_roles under column option_name.You have to change wp_user_roles to the prefix you are using(or changed).Let’s say you change prefix to wp_new_:- then you have to go to table wp_new_option table ,find wp_user_roles and edit it to wp_new_user_roles.
    2.Brows table wp_user_meta and find wp_capabilities,wp_user_level:-under meta_key column and edit respective to wp_new_capabilities,wp_new_user_level.

    Now you can login to domainname/wp-admin.

    Hope it solve the problem…………..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Login-Error: You do not have sufficient permissions to access this page.’ is closed to new replies.