• Hi,

    @wp Administration folks! Please help!

    The following two posts are very similar to the issue I’m experiencing but there seems to be no resolve, so I figured I’d open a new post with more details, to get the attention of someone who could possibly fix the problem, as I’m without a very important blog 4 days counting;

    https://www.ads-software.com/support/topic/226559 (post by: Digg50)
    https://www.ads-software.com/support/topic/224318 (post by: guioconnor)

    My setup:

    Hosted by 1and1.co.uk, using MySQL5.0, upgrading from 2.6.5 ==> 2.7

    Problem:

    After upgrading from 2.6.5 ==> 2.7 successfully which is what it WP told me, I’m left with a login page that reloads each time I enter the correct username and password. And gives me error messages when enter incorrect username or password.

    I go to https://www.xxx.com/wp-admin (or wp-login), enter my login credentials and the page reloads with the following url now:

    https://www.xxx.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.xxx.com%2Fwp-admin%2F

    And as I mentioned I get the same login page, no errors, nothing.

    What I have tried before this post:

    I’ve almost reached the end of going through every single post related to the similar issues with no luck and kind of lost as to where I go from here. In summary I’ve done the following;

    Clearing cache, cookies, disabling firewall, different computers, different browsers, removing my plugins folder and replacing it with just a empty plugins folder, and updating and making sure my config files are correct and checking my DB urls as this site explains https://www.tamba2.org.uk/wordpress/site-url/ all with no luck.

    I don’t know to much about cookies but guessing that its related to this, but don’t know how to fix it; using the Firefox Web Developer Toolbar, I found the following results if these are any use to anyone who may be able to resolve this problem;

    The authentication cookie is being set in the response after sending the initial login request which appears to work, but is not being sent back in the subsequent request.

    I tried setting the cookies manually (the ones provided in the response header) using web developer toolbar and reloading the admin page. Doing this gave me the ‘Please log in again.’ message which we had not been previously seeing, but had been posted about in the WP forum.

    Can anyone help knowing this information? WP folks, please chime in as I have been through a lot of forum posts and not had much luck.

    Thanks all.

Viewing 15 replies - 16 through 30 (of 34 total)
  • I don’t know if this will help resolve your problem but. . .

    I was having the same log-in issue after upgrading from 2.5 to 2.7. On an external WP forum I came across the suggestion to try deleting the wordpress.com cookies from my browser, empty the browser cache, quit and restart it.

    When I did this the log-in functioned correctly and the rest of the 2.7 install was fine.

    Just wanted to offer another possible fix. Hope it helps someone.

    Thread Starter sim2008

    (@sim2008)

    Hi all,

    First up, let me take back the ‘moderator’ comment – wasn’t necessary.

    Update; I just noticed that WP puts two identical cookies on machine each time I go to admin, this cant be right can it? Is there a way to fix this? Is this the problem?

    The identical cookies are for paths /wp-content/plugins and /wp-admin

    Cheers.

    I’ve had the same problem until I disabled wp-lite plugin. In your case, it might be another plugin that re-writes the way admin menu looks/feels, or disables some admin items…

    Slim,

    sorry I wasn’t keeping up on these threads.

    My problem was with a totally new wp install. The install went fine, but then i had the problem similar to what you’re experiencing.

    The blog is on a sub-directory but I needed the blog url to read https://www.new_url.com

    In cPanel first I did a ‘addon domain’ on the root URL so ‘new_url.com’ is directed to /public_html/new_url so both URLs arepointing to the same IP address.

    At this point I tried a couple things ~ In cPanel/addon domain you can do a redirect there, which i did but it didn’t help, so i also did a 301 redirect in cPanel/redirects.

    Well after I did that I could log-in to admin but it scrwed up the url so that I couldn’t just go to the ‘new_url.com’ with a browser.

    So then I cleared out both of those redirects and did the redirect within wp like i explained above and everything out on the front end and log-in access worked. I’ve got 20 some blogs to get up an I’ve done this to the first 5 without any problems.

    Q: You edited the ‘default’ themes function.php file, do edit the function.php file of the theme I’m using?

    Actually I’m using several divfferent themes but i added the code to the default theme.

    You might want to try what MichaelH(moderator) talked about above if my fix doesn’t do it.

    I hope this clarifies this procedure.

    If you have any more questions, I’ll check back.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Update; I just noticed that WP puts two identical cookies on machine each time I go to admin, this cant be right can it?

    Yes, actually, it is correct. Also, it should be three or so cookies. There’s a test cookie, the admin cookie, and the generic login cookie.

    Regardless, if you have the “looping” problem, where it keeps saying to log in again, then the generic fix is to clear your browser cookies. There is a specific and unusual case that can occur immediately after an upgrade which will cause the problem. Clearing your cookies will fix it.

    Thread Starter sim2008

    (@sim2008)

    Thanks Digg50, I will try this tomorrow.

    Otto42, thanks for the cookie clarification, I can confirm that it writes admin, test, and login cookies to. Clearing the cookies was the first thing I tried after checking forum posts here but it still does not work and the infinite loop continues.

    Getting really disparate here, does anyone have anymore suggestions, I’m I giving enough info? I can give a moderator login details if that helps, just to show whats going on?

    Finally – is there away to do a fresh clean install but keep my current theme and forum post intact keeping the original date, time, user details? Is there a link that describes this process?

    Thanks,

    Sim

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Clearing the cookies was the first thing I tried after checking forum posts here but it still does not work and the infinite loop continues.

    Make sure that in the process of clearing the cookies you also did not accidentally block the cookies as well. A lot of people do that, for some reason.

    Other than that, I’m at a loss. Some plugins can break the login system. Disable/remove the plugins.

    I got the infinite login loop for all 3 of my websites when I upgraded to 2.5, and then again with 2.7. I ended up rehauling my plugins by deleting them and reinstalling them all, via FTP. It seemed to do the trick for both situations, for all of my websites.

    Good luck!

    I have same problem, after new installation via Fantastico, I can log in to my wp-admin, just says cannot display the page…I’ve tried method above but its not doing it.

    I’ve got this problem, too.

    Took out the appropriate cookies.
    Did the `define(‘WP_SITEURL’, ‘https://paulaoffutt.com/blog/’);
    define(‘WP_HOME’, ‘https://paulaoffutt.com/blog/’);` change to wp-config

    Took out the cookies again.
    Made sure the site was on the “accept cookies” list.

    The problem is the same with everyone it seems. Log in and the log in page just reloads. I have this problem with several sites. Sometimes it works, most of the time it doesn’t. I updated this last site, hoping the problem had been fixed in 2.7. I’d not updated it to 2.6 because of the problems with the other sites.

    link to previous problem and solution that worked that time:
    https://www.ads-software.com/support/topic/222737?replies=1#post-915826

    I just tried the solution from the link above. I copied the plugin folder to my desktop. Deleted the plugin folder. I was able to log in. Uploaded the plugin folder. Clicked the plugin link from the dashboard. Was kicked out to the login page and now can’t login again.

    I’m going to delete a plugin at a time until I find the one that’s the problem.

    I deleted several folders from the plugin folder before I found one that made the login work again. A folder called “cdt”. No clue what it is. It has two files, dates.old and dates.txt. Is that the countdown plugin?

    I can now log in.

    BUT, each time I try to activate/deactivate a plugin, I am put out to the login page again and then can’t log in. It asks “Are you sure you want to do this?” with a link text that says “Please try again.” If I delete the gobblegoop after the login.php in the url, then I can log in and the plugin is activated/deactivated.

    I have the same problem, and I tried clearing my cookies and cache

    Same problem with an upgrade install from 2.6.5 to 2.7.
    No changes with:
    – deleting all cookies.
    – disabling plugins.

    After failing to login I get the url:
    https://xxxxxxx.com/wp-login.php?redirect_to=http%3A%2F%2Fxxxxxxx.com%2Fwp-admin%2F

    However!!! If I strip it down to
    https://xxxxxxx.com/wp-admin
    I get right to the dashboard (logged in).

    Repeated log out and log ins after that work.

    When I close the browser and restart again, same issue repeats.

    Windows XP Pro SP3
    Firefox 3.1 Beta 2
    IE7 7.0.5730.11
    Opera 9.25

    Yeah, sometimes that works for me, but not always.

    I once thought it might be a Firefox issue but I had the same problem with IE.

    This is completely ridiculous! Anyone who visits my site gets directed to an admin login page! I just created a wordpress site on it for the first time, and now it’s completely screwed. I wish someone posted a solution!!

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘Upgrade to 2.7; Login reloads login page’ is closed to new replies.