• Hi all, hoping you can help with an issue that’s been bugging me with my wordpress site.

    I was previously using WP-Members plugin with my wordpress site to manage logins. I’ve now decided to revert back to the default wordpress/theme login. However the problem i’m having, is that when users or admins go to login from either a new location/incongnito/private session, it will always fail the initial login with “Incorrect username or password”.

    Despite it saying it has failed, it does actually work and they are authenticated. Either refreshing the home page or going back will show them as logged in.

    The login itself is not default, it uses the one built into the Oblivion gaming theme as seen here – https://themeforest.net/item/oblivion-the-ultimate-multipurpose-gaming-theme/5501609

    At my best guess, the issue is with the login built into the theme, and there is some sort of issue that causes it to redirect if the user doesn’t have a cookie stored for the site previously.

    I’ve disabled all plugins just to check and the issue remains.

    If you want to see the issue for yourselves, my website is https://astral-imperium.co.uk

    Any help or info on this would be appreciated!

    • This topic was modified 8 years, 3 months ago by shadowsong316.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    IF you change the theme to twentysixteen, do logins work normally?

    Thread Starter shadowsong316

    (@shadowsong316)

    Yep default logins are working fine, as are other themes.

    I’ve put my default theme files back in and the error that comes up after the re-direct to the default WP login is “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

    But as i said, if i refresh the page or go back then i am actually logged in anyway.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    As the issue is related to your theme, the best place for help is the theme’s support forum: https://themeforest.net/item/oblivion-the-ultimate-multipurpose-gaming-theme/5501609/support

    Have you tried, though, deleting all cookies related to your site in your browser or using a private/incognito browsing session?

    Thread Starter shadowsong316

    (@shadowsong316)

    Found a fix online that seems to have resolved it, had to add this to my themes function.php

    setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, COOKIEPATH, COOKIE_DOMAIN);
    if ( SITECOOKIEPATH != COOKIEPATH )
    setcookie(TEST_COOKIE, ‘WP Cookie check’, 0, SITECOOKIEPATH, COOKIE_DOMAIN);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress Failed Login’ is closed to new replies.