[resolved] Login-Error: You do not have sufficient permissions to access this page. (7 posts)

  1. cinematic
    Posted 5 years ago #

    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?

    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?

  2. 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 :)

  3. cinematic
    Posted 5 years ago #

    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).

  4. massayoshi
    Posted 5 years ago #

    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.

  5. mrmist
    Forum Janitor
    Posted 5 years ago #

    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.

  6. massayoshi
    Posted 5 years ago #

    Thanks Mr Mist.

    Will wait for the next build.

  7. Deepak Chennoria
    Posted 5 years ago #

    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..............

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.