• I’ve seen many people post here about not being able to log in to the dashboard even though their login and password are correct. Entering them just reloads the login page again. Many have posted here solutions that worked for them and others. Now I’m having this problem and no solutions I’ve found have worked.

    I have the site running on my server in a subdomain, and now I’m transferring it to the client’s hosting server. I used figaro’s tutorial on transferring a WordPress site between servers. The site’s front end comes up perfectly, but I can’t log in to the dashboard as I described.

    I tried with different browsers on different machines, so no caching issue. I tried:

    • Using the usual password reset mechanism
    • Removing the plugins folder
    • Editing the MySQL users table to change the password with MD5 encoding
    • Commenting out the two lines in wp_config.php as per this
    • Used the emergency password reset script
    • Logging in through wp-login.php
    • Removing my theme to force it to the twentyten theme

    Obviously, none of these worked. Is there anything left? I’ve run out of ideas.

Viewing 11 replies - 16 through 26 (of 26 total)
  • Ah, the next thing to look at… is, the new MySQL set-up to handle MyISAM Parameters, or InnoDB Parameters by default?

    They are not compatible…. what does it say right at the top of your .sql file?

    That is, when you made your “empty” DB to import, they may be of two different flavors…

    Looking back at your original post… you state that you set the site up as a “sub-domain” and now moving it to a new domain? Is the new domain, a “sub-domain”?

    If it is not then, you still have work to do on the DB….

    When you say sub-domain do you mean first.first.com or first.com/first ?

    And finally, without having access to what you are doing… is one site using “multi-site” and the other not or vice versa? And what was your original permalink settings?

    If all else fails, I would try setting the permalinks to defaults, dump the DB again, and start a fresh…

    Good Luck…

    Thread Starter forrest.tanaka

    (@forresttanaka)

    I’m using phpMyAdmin for both the export and the import. I’m not familiar with MySQL Tools / Workbench.

    SHOW ENGINES; in both the test site and destination site show MyISAM as the default, and all tables in the database are listed as MyISAM. I didn’t think about checking that.

    The old site is a first.first.com kind of sub-domain. So I replaced all first.first.com with second.com.

    Neither the test site nor the destination use multi-site. I had the permalinks of the test site set to year/month/name. I like that idea — changing that setting and re-doing the process. I will try that right now, though the upload speed to the destination server is pretty abysmal; it’ll take a while. Thank you! I hope that’ll work.

    Thread Starter forrest.tanaka

    (@forresttanaka)

    I set the permalinks in the test site to be the default (page number style), reexported the database and files, uploaded the WordPress files to the destination site, replaced all the test site’s domain names with the destination site in the .sql file, changed wp-config.php to connect to the new database, and it resulted in exactly the same failure — visiting the site is fine, attempting to log in as admin just gets me the login screen again.

    Please copy the URL and paste it somewhere on the notepad.. check the url if it contains the variable &reauth=1 please remove it and try login to dashboard.

    Here’s what I mean:
    for i.e:
    https://www.domain.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.domain.com%2Fwp-admin%2F&reauth=1

    remove the last variable &reauth=1

    I hope it helps

    Thread Starter forrest.tanaka

    (@forresttanaka)

    Thanks for the suggestion! I removed the &reauth=1 from the URL, hit return, attempted to log in, and it reloads the same login screen with the same URL, including the &reauth=1 at the end.

    send me the URL
    with user/pass if you don’t mind..

    Thread Starter forrest.tanaka

    (@forresttanaka)

    Is there a way to do that privately on this forum, or do I have to post it right in this thread?

    Thread Starter forrest.tanaka

    (@forresttanaka)

    Hey, I just wanted to take a moment to give a big thanks to all of you who tried to help. So strange this problem’s so stubborn. In the end, I decided to go with a standard WordPress export and import, and then patching things up afterwards, and it’s been pretty reasonable. But you guys put so much time into my problem that I wanted you all to know I really appreciate it.

    I had the problem where when I try to login to wordpress using wp-admin the page would just reload and give no errors. I have been making some changes in apache lately to do some 301 redirects on our site. I commented all of the redirects I did in apache (in httpd.conf) to disable them and restarted apache and was able to login to wordpress. Just thought I would share incase anyone else runs into this problem!

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Can't log in to dashboard; previous solutions don't work’ is closed to new replies.