WordPress.org

Ready to get started?Download WordPress

Forums

logging into the administration area (9 posts)

  1. hotpress
    Member
    Posted 2 years ago #

    I installed wp a while ago and never quite got it up and running. though it is up and appears ok, I don't know how to login to the administration area! I assume I must have used 'admin' for a user login, and some password that may have been sent to me, but I don't remember either of these. what do I do to change these to login to the admin area? This was an install I did manually. the literature leaves this a moot point!

  2. widelegger
    Member
    Posted 2 years ago #

    Let's say the domain name of your blog is http://www.widgets.com. You should be able to find the WordPress login at http://www.widgets.com/wp-admin where you should see a "Lost your password?" link that will help you recover your password.

  3. hotpress
    Member
    Posted 2 years ago #

    Thanks. I gave it one of two emails I thought it would be and it pulls up one of the mock users I entered for my blog. this user should not have admin privilidges. ? in wp-admin is there a php file this info is in? the mysql database shows my mock user with my actual email address, but this should not be the administrator. or is the administrator listed in the database users table too, and I deleted it a while back, not knowing its the administrator?

  4. widelegger
    Member
    Posted 2 years ago #

    If you are comfortable with code you might try to manually recreate an admin user in the database. However, I would advise you avoid manually doing anything with the database if you can avoid it since it is terribly easy to mess up your site if you don't know what you are doing.

    http://wordpress.org/support/topic/re-create-admin-account-via-phpmyadmin?replies=5

    Personally, I would just try to install all over again since it sounds like you never really did anything with it.

  5. hotpress
    Member
    Posted 2 years ago #

    thanks for the info. I may give it a try as, the way it is I don't want to fuss with it anymore and would delete it anyway.

  6. hotpress
    Member
    Posted 2 years ago #

    I tried what all the links suggested and nothing. I tried this bit of code and even deleted the wp_usermeta table after the insert command didn't work and tried to create table firstly.

    INSERT INTO 'wp_usermeta'('umeta_id','user_id','meta_key','meta_value') VALUES
    (1, 1, 'nickname', 'admin'),
    (2, 1, 'rich_editing', 'true'),
    (3, 1, 'admin_color', 'fresh'),
    (4, 1, 'wp_capabilities', 'a:1:{s:13:"administrator";b:1;}'),
    (5, 1, 'wp_user_level', '10');
    then tried
    CREATE TABLE wp_usermeta('umeta_id','user_id','meta_key','meta_value') VALUES
    (1, 1, 'nickname', 'admin'),
    (2, 1, 'rich_editing', 'true'),
    (3, 1, 'admin_color', 'fresh'),
    (4, 1, 'wp_capabilities', 'a:1:{s:13:"administrator";b:1;}'),
    (5, 1, 'wp_user_level', '10');
    and get the error
    SQL query:

    CREATE TABLE wp_usermeta(
    'umeta_id',
    'user_id',
    'meta_key',
    'meta_value'
    ) VALUES ( 1, 1, 'nickname', 'admin' ) , ( 2, 1, 'rich_editing', 'true' ) , ( 3, 1, 'admin_color', 'fresh' ) , ( 4, 1, 'wp_capabilities', 'a:1:{s:13:"administrator";b:1;}' ) , ( 5, 1, 'wp_user_level', '10' );

    MySQL said: Documentation
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''umeta_id','user_id','meta_key','meta_value') VALUES
    (1, 1, 'nickname', 'admin'' at line 1

  7. hotpress
    Member
    Posted 2 years ago #

    well I found a link that went thru the steps of altering the wp_ users, and wp_usermeta tables from the phpmyadmin screen. so now I get the error when logging into WP: "You do not have sufficient permissions to access this page" now, how to change this?

  8. geekygordon
    Member
    Posted 2 years ago #

    Why don't you just drop all the tables from the database in phpmyadmin and navigate to your main URL and you will be prompted to reinstall WordPress?

  9. hotpress
    Member
    Posted 2 years ago #

    dear geekygordon,
    I did drop the tables and when I try to log in with my new admin login & password I get:
    Fatal error: Call to undefined method WP_Styles::reset() in /home/a5276870/public_html/wordpress/wp-includes/script-loader.php on line 713 ?

Topic Closed

This topic has been closed to new replies.

About this Topic