WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] [closed] Log out not working (24 posts)

  1. nalehir
    Member
    Posted 1 year ago #

    Hi i have problem with logout...when i click to logout link just appear wp failure page with: You are attempting to logout of....Do you really want to logout? click Logout and nothing happens

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

  2. nalehir
    Member
    Posted 1 year ago #

    I looked to developer tools in chrome network tab and i see error

    Request URL:http://myweb.local/logout/?_wpnonce=0a2e9a05c3
    Request Method:GET
    Status Code:403 Forbidden

    htaccess is default...nothing changed

  3. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have any caching plugins enabled?

  4. nalehir
    Member
    Posted 1 year ago #

    no...i tried this to another wp install and i have same error. I use local wamp server

  5. nalehir
    Member
    Posted 1 year ago #

    i have tried a clean install of WP and same problem...it means that problem is in my local wamp configuration...maybe httpd.conf?

  6. Anton
    Member
    Posted 1 year ago #

    Same issue here. Reverting to 6.2.3 (which I had before) seems to work fine.

  7. nalehir
    Member
    Posted 1 year ago #

    now it works...i changed the vhost back to default. previously i have myweb.local, now localhost/myweb

  8. damasadvertising
    Member
    Posted 1 year ago #

    it is also showing to my site http://damasadv.com/ when i press the logout button, Please help me,

  9. axeldev
    Member
    Posted 1 year ago #

    Same issue here, since last upgrade.

    FYI, the link ends as /log-out
    i.e. there is no _wpnonce appended to it

    Has anyone managed to fix this with the latest version?
    This is a central part of my site's functionality so I am keen to fix it asap...

    Thanks a lot in advance

  10. albator13
    Member
    Posted 1 year ago #

    me too : error page. nothing work, log out and register ....

  11. psn
    Member
    Posted 1 year ago #

    me too, we got no wpnonce either append to logout. We have now decided to downgrade to version 6.2.3 as this issue dont appear there and will wait for version 6.4.

  12. Anton
    Member
    Posted 1 year ago #

    FYI, I just noticed that it works for me on my dev install but not on the live site. I seem to have the same wpnonce value on both these sites though so it might be that the value just isn't valid when trying to logout from the live site? Just a thought..

  13. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    If anyone with this problem is willing to give me admin credentials to check this out, I gladly will. Send them here if so.

  14. axeldev
    Member
    Posted 1 year ago #

    Sent

  15. Jeff Farthing
    Member
    Plugin Author

    Posted 1 year ago #

    @axeldev: I suppose it's a bug that the nonce is not appended when you use the "Log Out" page from the TML pages. The workaround is to use the "Log In" page. It changes to "Log Out" when logged in anyway.

  16. axeldev
    Member
    Posted 1 year ago #

    Hi Jeff,

    Thanks a lot for looking into this.

    Your solution works perfectly for me.

    Big thanks

  17. rbbond
    Member
    Posted 1 year ago #

    hey jeff

    great thanks for this really wonderful plugin.

    but i also face the same problem of not being able to log out and getting the same message "are you sure you wanna log out".

    other than the solution you explained as a workaround does the trick, but a user has to go to the login page for that and then logout....cant there be a direct solution that you just click logout and it works.

    the reason i am using ur plugin as it not only gives u custon login url's but it also changes the links in the wordpress notification emails automatically which is amazing and a needed feature for my website.

    please i plead do a fix on this...as urs is a very amazing and exteremly useful plugin.

    thanks in advance.

  18. rbbond
    Member
    Posted 1 year ago #

    sorry forgot to mention, m a big fan of urs. jeff u rock man.

  19. rbbond
    Member
    Posted 1 year ago #

    hello jeff i have been waiting for a solution if you may have the time to look into this tiny problem please...
    why is the normal logout not working...please look into it.

  20. rbbond
    Member
    Posted 1 year ago #

    hello everybody,
    if somebody stll has problem with the logout not working i think the solution described above by jeff is perfect...though it may seen hard to decipher to a non-wordpress geek like myself LOL.

    do the following...
    1. go to the menus(log in as admin and under the appearance).
    2. you will see theme my login pages(under various pages to select for menu). if not there then open screen options(top right of page) and check the box theme my login.
    3. add only the login page(not the log-out) to the menu you want to have the login menu in.
    4. thats it enjoy! now go back to ur website and see the changes and once you log in, it automatically changes to logout.

    MY MISTAKE: Earlier i was using "a href" for both login and logout alongwith (!is user logged in). Somehow _wpnonce was not getting attached to logout i dont know why and it was not working. I think the solution as explained should work now.

    regards
    RB

    PS:Thanks jeff for the plugin. It is a great plugin.

  21. internationalkenpo
    Member
    Posted 1 year ago #

    I'm having the same issue with 6.3.8 but nothing above helps.

  22. tomasocs
    Member
    Posted 1 year ago #

    Hi,

    This is a beautiful plugin! Thank for it! But, I have too this one problem. I need logout, but that dont working. (That page can’t be found) When i made page .../logout - so after click in menu on logout it open login page.

    Here is that page http://rehaboro.orangecupstudio.co.uk/
    login(subscriber): tomasiroky
    password: jefffarthing

    is it in czech :-) so in menu is
    login = přihlásit
    logout = odhlasit

    Please help! Thank all!

  23. Michael Sinclair
    Member
    Posted 1 year ago #

    Hi,
    I have the same problem with the same error message:
    'You are attempting to log out of ......'
    'Do you really want to log out?'
    and like above, nothing happens.
    I have tried both 'Log in' and 'Log out' menu pages in the active menu structure and neither works
    I am running the latest versions of WP and TML.
    Not sure if this would effect it but my web site is running on Linux and so uses rewrite.script instead of .htaccess.
    I have not had this problem in earlier versions of WP and TML.
    I can send login details if you think it might help.
    Thank you in advance for any help.

  24. esmi
    Forum Moderator
    Posted 1 year ago #

    Why are you posting in a 9 month old resolved topic that references an older version of WordPress? If you require assistance then, as per the Forum Welcome, please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags