• Dear all,

    i have been using wordpress to blog at the site: https://en.doroto.com.

    However, recently I encounter a problem I cannot fix, neither can the IT company that offers the hosting service.

    Here is the situation: my blog site is hosted by a Chinese IT company in Shanghai.As WordPress is a foreign software, the technicians in the IT company do not understand the source codes, though it can offer the hosting services. About two weeks ago, I installed a plug-in to auto-save the blog data. When I tried to download the backup data onto my computer’s hard drive, the downloading always stopped when it was about 85% completed. I simply didnot know what the problem was. Then probably after one or two days, when i tried to log onto the dashboard again, I found that icould not access it anymore.the following popped up:

    “ERROR: The password you entered for the username admin is incorrect. Lost your password?”

    when I followed the “Lost your password” to enter my email address to get a new password, the following popped up:

    “The e-mail could not be sent.
    Possible reason: your host may have disabled the mail() function…”

    I contacted the IT company, they said they cannot help and they found no problem with their hosting server.

    I simply got lost now and came here for help.

    Could anyone lend some lights on the issue?

    Thanks a lot.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It’s your password that needs resetting. Depending on the level of access to your web host, you can reset your password yourself.

    Give this a read

    https://codex.www.ads-software.com/Resetting_Your_Password

    https://codex.www.ads-software.com/Resetting_Your_Password#Through_phpMyAdmin

    Personally, I prefer this method myself, but I’m fond of mysql CLI commands.

    https://codex.www.ads-software.com/Resetting_Your_Password#Through_MySQL_Command_Line

    If you have FTP access and can edit your theme’s function.php file located at wp-content/themes/twentyeleven/functions.php. Make sure you save a copy of that file to restore later.

    https://codex.www.ads-software.com/Resetting_Your_Password#Through_FTP

    Thread Starter Doroto

    (@doroto)

    I have no access except via the normal LogIn page.

    But I guess the IT company knows the FTP or mysql CLI stuff, should they?

    I hope the contact guy can understand the English information you have listed.

    Thanks a lot, Jan. You are very helpful!

    Thread Starter Doroto

    (@doroto)

    The IT guy seemed unable to tackle the problem.

    Anyone can help with this? I am almost in despair now.

    Thread Starter Doroto

    (@doroto)

    The IT tried those ways mentioned in the instructions, but cannot fix the problem.

    He said the only thing left he can do is to re-install the WordPress and re-upload all articles.

    I don’t really want to do that.

    Again, can anyone here offer help?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Oh for goodness sake, they’re horrible. I know they are running on a Windows IIS server, but that’s just incompetent on their part.

    All they have to do is add one line to the top of wp-content/themes/twentyeleven/functions.php right after the <?php like so:

    <?php
    wp_set_password('your-new-password',1);

    And that’s it. You visit https://en.doroto.com/ then visit https://en.doroto.com/wp-login.php and sign in with your-new-password.

    If for some bizarre reason, you don’t know your userid or it got changed somehow, then tell them on the command line run these commands.

    They can get your account details from your wp-config.php file. Note, there is no space after the -p parameter. Also they need to replace wp_ with whatever your table prefix is (also from wp-config.php).

    mysql -h your-db-host -u your-db-user -D your-db-name -p"your-db-password"
    
    mysql> SELECT ID, user_login, user_pass FROM wp_users;

    That will output something like this:

    +----+------------+------------------------------------+
    | ID | user_login | user_pass                          |
    +----+------------+------------------------------------+
    |  1 | your-id    | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
    +----+------------+------------------------------------+

    That will get your login ID and you are all set to go.

    Once you are in, tell them to revert that wp-content/themes/twentyeleven/functions.php file back.

    Once you are in, backup everything and get out of Dodge. I mean, find a new hosting service.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I cannot log into my WordPress blog dashboard’ is closed to new replies.