Forums

Password problems on local wp (5 posts)

  1. mroyten
    Member
    Posted 2 years ago #

    Hi, I've been using XAMP on my local machine here to run WP and it has been working great. Then I got the (bad) idea to place another WP directory in the htdocs file and it screwed everything up, I tried rearranging passwords to get it to work, now it is messed up. Well, I ditched the 2nd WP directory and now I can't log into my only WP directory/site. I get the message "The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function..."

    Help,
    Matt

  2. italianst4
    Member
    Posted 2 years ago #

    Here's a work around that may help...

    When I lose an unretrievable password, I kinda "hack" the databae entry for the user.

    Try this...

    Open your localhost's phpmyadmin, then the database table for your blog's users (wp_users typically). For your admin user edit the row.

    WordPress encrypts their passwords with MD5 hash, so use this site:
    http://www.zappersoftware.com/Help/md5.php

    Type in your new password, click Submit, and copy the MD5 hash.

    Replace your admin user's password in your phpmyadmin with the new MD5 hash.

    Save the row.

    Now try to login to your blog's wp-admin with your new password. It should get you in.

    ~Anthony

  3. Shane G
    Member
    Posted 2 years ago #

    Matt,

    It seems that your hosting service provider has disabled mail() function due to server security..to overcome from the situation you can use these plugins:

    http://wordpress.org/extend/plugins/wp-email/
    http://wordpress.org/extend/plugins/email-users/

    Thanks,

    Shane G.

  4. whooami
    Member
    Posted 2 years ago #

    he IS the host -- that info was provided in the first post.

    at any rate, he's right about the plugins.

  5. S.K
    Member
    Posted 2 years ago #

    mroyten,

    The best way is go to localhost/phpmyadmin and change the password in the database.

    Remember that WordPress uses PHPASS hashing of passwords. You can use the online tool provided in the following url and Use it to convert your new password into a “encrypted” hash and insert it into the wp_users table of the wordpress database.

    http://scriptserver.mainframe8.com/wordpress_password_hasher.php

    I have done it is a couple of times in my local host installation.

    HTH

    S.K

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags