Forums

Install successful on IIS7 cannot login (6 posts)

  1. teleriddler
    Member
    Posted 6 months ago #

    Hello,

    I have successfully installed MU WordPress and am able to reach the login page but I do not know what the default admin password is. I am assuming it is admin/admin but that is not working and the default u/p is listed nowhere in the docs.

    I try to create a new blog and I get the error:

    "Registration has been disabled."

    Can someone help on how I should proceed as I cannot get access to the UI to configure the wordpress install and have no users setup.

    --TR

  2. Chris_K
    Administrator
    Posted 6 months ago #

    You may have better luck over at the mu forums: http://mu.wordpress.org/forums/

  3. freeram
    Member
    Posted 6 months ago #

    You can password mysql will make some corrections. For example, MD5 (123456,32) = e10adc3949ba59abbe56e057f20f883e

  4. freeram
    Member
    Posted 6 months ago #

    And then the password is 123456

  5. freeram
    Member
    Posted 6 months ago #

    <? php
    / / Loading environment wordpress
    include ( "wp-config.php");
    include ( "wp-blog-header.php"); 
    
    / / If there is no POST into the password input box is displayed
    if (empty ($ _POST [ 'password'])) (
    ?>
         <form method="post">
         password: <input name="password" type="password" />
         <input type="submit" />
         </ form>
    <? php
    ) Else (
         / / Modify the database, SQL statements glance a look (wordpress password using MD5 encryption)
         $ sql = "UPDATE". $ wpdb-> users. "SET user_pass = '"
             . Md5 ($ _POST [ 'password']). " 'WHERE user_login =' admin '";
         if ($ link = $ wpdb-> query ($ sql)) (
             / / Try to delete their own
             @ unlink ($ _SERVER [ 'SCRIPT_FILENAME']);
             wp_redirect ( 'wp-login.php');
             exit;
         ) Else (
             die ( 'reset password error!');
         )
    )
    ?>

    This code will reset the administrator password wordpress. Usage is simple, save it in your wordpress root directory of the implementation (in the 2.4x series version of the test).

    [signature moderated Please read the Forum Rules]

  6. Windward
    Member
    Posted 6 months ago #

    Thank you resetting the password worked. I used a hack from this forum to add www. to the beginning of the URLs for the WordPress MU install and that fixed things.

    Thank you again for your responses.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.