Forums

Moved Blog & Cannot Log In (cookies error) After 3 Installs (8 posts)

  1. Catherine_B
    Member
    Posted 2 years ago #

    [I posted this as a reply on another before seeing it was resolved (without giving the solution/something he found on the functions.php worked for him) and so may well not get seen by the forum helpers.]

    I'm at my wits' end and really need help after searching for hours upon end since yesterday with no luck. I have done three installs trying to resolve this.

    Cannot log in!

    "ERROR: Invalid username. Lost your password?
    ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."

    Apache, PHP 5+, Linux, MySQL. WordPress 2.8.4.

    http://mountainridgerealtyga.com/

    Everything worked before moving this blog to another server, same url. (I moved another one today following the same procedure - no login problems. )

    First I did a new install of WP through godaddy's hosting control panel. I could log in fine. Then I put a copy of all the original files up, using the 'new' config file referencing the new database file. Then I restored the database. I get that same cookies are blocked error, but they are not, and the settings on the browsers are not set to block.

    I have cleared browsers and caches repeatedly, both IE and FF. I copied in a new fresh login.php file this time and the last time also.

    I deleted the .htaccess file. I double checked the config file and it definitely references the new database. I don't have a clue where my problem is, but I HAVE to get into the admin!

    This is making me a nervous wreck, because the last time it took hours for the interior pages to populate, so there was the worry that something was very wrong. This time the same thing, the interior links are showing up 404 still.

    *I don't know how to reset the permalinks without being able to get into the admin, if that's what's keeping the interior pages/posts/links from appearing - as someone mentioned in another post.

    Thank you very much to anyone who can help me out of this jam.

    Best regards from Catherine.

  2. jkovis
    Member
    Posted 2 years ago #

    I have cleared browsers and caches repeatedly, both IE and FF.

    By this I assume you've deleted all the cookies from that domain as well. Would it be possible to try logging in with a browser (like Safari) that you haven't logged in with before?

  3. Catherine_B
    Member
    Posted 2 years ago #

    UPDATE:

    My interior pages are now populating. Perhaps a coincidence or not:

    After reading another post, I copied back the htaccess file from the original set of files. Elsewhere I had read to delete it for a possible login solution. It is not the htaccess from a new install and has the supercache mod rewrite stuff from the old location.

    I had also renamed a permalink plugin to disable it earlier and had just renamed it properly. Then the interior pages all appeared.

    LOGIN PROBLEM REMAINS:

    *What's new is that the cookie error disappeared, and now I just get a plain 'invalid username' screen. This is what kept happening on the previous reinstall which I since did over yet again (3rd time) trying to cure this in case of 'corrupted files'.

    *WHERE is WP pulling that login name from so I can check it and fix it or match it to what I type in to log in, please?* I went through this round robin on my 2nd reinstall with repeatedly requesting new passwords, but they never worked. I don't want to make it worse by requesting multiple new passwords this time that fail - so I will wait for the solution from a forum expert.

    I have access to all files on the server through dreamweaver and access to my database through MyAdminPHP.

    Thank you.

  4. Catherine_B
    Member
    Posted 2 years ago #

    I've just noticed something and wonder if this is a clue. I just did a test wp 2.8.4 reinstall on another domain in its own subdirectory using godaddy's hosting panel (they install all the files for you). I notice there is no htaccess file anywhere in the bunch.

  5. Catherine_B
    Member
    Posted 2 years ago #

    UPDATE:

    The issue has shifted 'again'. I found how to reset the password in phpMyAdmin. What had happened was it was mixing up the pw & login from the restore. Here's how to change it:

    http://www.devlounge.net/articles/reset-a-wordpress-password-from-phpmyadmin

    HOWEVER:

    NOW I am back to what happened during one of the previous installs: Logging in goes to a BLANK PAGE.

    I could almost smell resolution in the air while I was changing the database table ... now I'm back stuck as ever.

    Help Please!

  6. jkovis
    Member
    Posted 2 years ago #

    I'd suggest disabling all the installed plugins and seeing if that allows you to login. If it does then reinstall/activate each plugin one at a time to see if one is causing the problem.

  7. Catherine_B
    Member
    Posted 2 years ago #

    Jkovis:

    Isn't it the same thing to rename the plugin directory? I actually did that and it didn't make a difference.

    I did go into the database again and confirmed that the password and login are correct, although it had to be changed because somehow the restore and new database logins and passwords (which were different, who knew it might cause trouble) were jumbled.

    WHAT can that blank page be about!!

  8. jkovis
    Member
    Posted 2 years ago #

    Yes, renaming the plugin directory will work...

    I don't know how WP includes/processes the plugins directory so you might want to make sure that you have an empty plugins directory in /wp-content (or wherever your plugins location is defined in wp-config.php).

    WHAT can that blank page be about!!

    Can you take a look at your server logs (or request them from your web host) to see what's happening when you try to access /wp-admin?

Topic Closed

This topic has been closed to new replies.

About this Topic