• Resolved alcium

    (@alcium)


    When installing wordpress on my pc, I had no problems until step 2 where it seemed to freeze. Now I’ve got the blog running but as I didn’t get the password nor the username I cannot modify it’s content.

    Thank you for any help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Since it’s a new install, DROP or FLUSH your DB tables with the prefix wp_ and run the install again.

    Thread Starter alcium

    (@alcium)

    I’ve tried flushing the database several times but it doesn’t make any difference.

    Thanks anyway

    Thread Starter alcium

    (@alcium)

    I’ve managed to deal with my problem thanks to http://www.tamba2.org.uk/wordpress/phpmyadmin/

    A way to bypass the bug is this.
    Replace line 390 in index-install.php before install or on a reinstall.

    It will input YourPassword as the password.

    $user_id = wpmu_create_user( ‘admin’, $pass, $email);

    Change to:

    $user_id = wpmu_create_user( ‘admin’, YOURPASSWORD, $email);

    Change the code back after install for secuirty.

    Note: If you got stuck on first page or it bypassed database fields setup, like mail server. Open upgrade-schema.php from your wp-admin directory and find.

    add_option(‘admin_email’, ‘you@example.com’);

    add_option(‘mailserver_url’, ‘mail.example.com’);
    add_option(‘mailserver_login’, ‘login@example.com’);
    add_option(‘mailserver_pass’, ‘password’);

    and put in your information.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘no admin password and login’ is closed to new replies.