WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] will not log out (29 posts)

  1. defenderofnight
    Member
    Posted 1 year ago #

    after I updated, this pugin I can no longer log out of my dashboard. I am attempting to restore my htaccess files to see if that is part of the problem.

    http://wordpress.org/extend/plugins/theme-my-login/

  2. RonDsy
    Blocked
    Posted 1 year ago #

    This version needs more testing. I suggest testing these scripts with others before releasing to the public. Roll back to an earlier version.

  3. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    6.3 was in beta for weeks. This kind of testing requires user participation. Everything works good for me.

  4. RonDsy
    Blocked
    Posted 1 year ago #

    Hi Jeff,

    I am willing to be a beta tester for your great plugin.

    Ron

  5. mguru
    Member
    Posted 1 year ago #

    I first installed 6.3.1 with WP 3.5.1

    I cannot log out either. Tried to diagnose, but its internal somewhere. Cannot log out using the top bar 'log out' or the '/login' link, on dashboard, or on the wp-login.php page. No competing plug ins being used.

    mGuru

  6. RonDsy
    Blocked
    Posted 1 year ago #

  7. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    The problem was that the plugins pages weren't being created on upgrade. Simply deactivating and reactivating the plugin should resolve this issue - that is, after upgrading to 6.3.2.

  8. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    @RonDsy - Please test 6.3.3 dev here.

  9. RonDsy
    Blocked
    Posted 1 year ago #

    Hi Jeff,

    Sorry about this problem - Upon a logout attempt, you still get redirected to: "log-out/?_wpnonce=168e488cf2" which is a Whoops! 404 Error! :(.

    ThemeMyLogin version: 6.3.3 dev

    Are you testing on a local server?

  10. lkraav
    Member
    Posted 1 year ago #

    Following this

  11. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    I am. Visit your permalinks settings and then try again. Also, verify that the page "Log Out" exists under TML > Pages.

  12. RonDsy
    Blocked
    Posted 1 year ago #

    Success! All working, will test on some other sites.

    P.S. I suggest not using a local environment for final testing.

  13. RonDsy
    Blocked
    Posted 1 year ago #

    Two out of 2 domains are successful for being able to login/logout. Seems all good now.

    Congratulations :)

  14. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Testing and development are done via my in-house Linux server.

  15. RonDsy
    Blocked
    Posted 1 year ago #

    So what was the cause of the log out issue which has been fixed?

  16. mguru
    Member
    Posted 1 year ago #

    Jeff,

    Much appreciation with 6.3.4 as the update has fixed all but one of the logout problems (and other issues too). Upon going to /log-out, you get the WP Failure Notice page:

    "You are attempting to log out of [SITE NAME] Do you really want to log out?"

    The "log out" phrase has the following link:

    [site]/log-out/?_wpnonce=cb343a002c

    If you click that link, it does log-out. What needs to be changed to fixed that redirect middle-step?

    Thanks!

  17. RonDsy
    Blocked
    Posted 1 year ago #

    The matter I think, is the process in which updates are released as final versions for active sites and less to do with if the version breaks.

    Testing on a local environment is not a live environment. The components vary so with PHP and the Apache that it is only good practice for developers to test utilizing a real world server hosting environment prior to a final release. Also scripts need to be tested by others.

    The impact is unforgiving on production sites when a script has trouble. When things breaks, it all falls on the backs of the site admin and not the plugin developer.

    I and many others appreciate the many hours upon hours these developers place to make our lives better as site developers. ThemeMyLogin has become a key plugin for TalkingManuals. In my effort to contribute, I see a need to address a process and offer assistance in testing.

    With gratitude,

    Ron

  18. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    That is the problem. Open source software requires community participation. I left TML 6.3 in beta for a few weeks with little participation. I had no issues. But I also didn't have the time to thoroughly test or do so on different evironments.

  19. lkraav
    Member
    Posted 1 year ago #

    Hey, Jeff

    I still don't have an operational logout running 6.3.5. This is on a page.ly hosted site, which could be impacted by caching issues. They claim it's the plugin's fault, though.

    User gets redirected to /logout/_wpnonce={hash} but it has no effect. Only way to log out is to clear browser cookies and/or cache, then clicking Logout will take you that WordPress page asking "Do you really want to?"

    Should I open a new support thread or can we continue here?

  20. RonDsy
    Blocked
    Posted 1 year ago #

    Have you tried using another theme?

  21. lkraav
    Member
    Posted 1 year ago #

    Hmmm. This is on a live customer site, on page.ly hosting, so theme switching may be complicated. But I'll look for a way to test that. Either way, on our staging site (with no caching mechanisms) everything works fine on the same codebases - theme + TML 6.3.5.

  22. RonDsy
    Blocked
    Posted 1 year ago #

    Use the Ultimate Maintenance Mode, which places the site offline for visitors then swap out a theme to test.

  23. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    You need to not cache the TML pages.

  24. lkraav
    Member
    Posted 1 year ago #

    I added /login and /logout to W3TC "Never cache the following pages" list. It now looks like this:

    wp-.*\.php
    index\.php
    /login*
    /logout*

    Unfortunately this didn't have any effect. I've followed W3TC FAQ, so it's doubtful the entry is incorrect.

    Examples (Never cache the following pages):
    Do not cache page/directory and sub pages /directory*

    What I did discover though, logout works just fine when I build the standard WordPress logout query string using nonce taken from TML logout link.

    So doing http://mysite.net/wp-login.php?action=logout&_wpnonce=33151774a0 will properly log me out.

    Any recommendations on what the next step towards solution could be based on this info?

  25. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    What if you use the login page with the action appended (i.e. /login?action=logout)

  26. lkraav
    Member
    Posted 1 year ago #

    Unfortunately no dice. I attempted both with and without _wpnonce. It takes me to the WordPress "Really?" confirmation page, but in there the action again has the TML /logout link which won't work. Only certain thing that still works is the wp-login.php-based URL.

    I was surfing around on your website and noticed you don't take support requests via e-mail. Was wondering if I can still send you the site URL in e-mail? Maybe there's more logout parameter sets that you know to try.

  27. lkraav
    Member
    Posted 1 year ago #

    I guess what I'll be trying next on my own is filtering the TML logout URL to point to wp-login instead.

  28. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    It has to be caching.

  29. lkraav
    Member
    Posted 1 year ago #

    I shall also post on W3TC support board to inquire about configuration options.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.