WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] another can't log out (10 posts)

  1. rp7532
    Member
    Posted 3 years ago #

    I have searched everywhere for an answer and cant find one to this problem I cannot log out of my wordpress site unless I clear my cookies and I cannot log out of the admin dashboard I get this error
    The webpage at mywebsiteaddress/wordpress/wp-login.php?action=logout&_wpnonce=46b9e29d02 might be temporarily down or it may have moved permanently to a new web address. when I try to log out of the dashboard I am lost at what to do??? any help is appreciated thank you.

  2. Tara
    Member
    Posted 3 years ago #

    you may try:

    -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually to find the culprit.

    -switching to the default theme ("twentyten") for a moment by renaming your current theme's folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

  3. rp7532
    Member
    Posted 3 years ago #

    I have disabled all plugins and switched to the default theme but I still have the same problem

  4. rp7532
    Member
    Posted 3 years ago #

    ok I have reinstalled the latest version 3.0.4 of WP and I am still experiencing the same problem and have limited it to the wp_nonce. I tried removing this line $logout_url = wp_nonce_url( $logout_url, 'log-out' ); from general-template.php and find that it directs me to a page saying you are attempting to logout do you really want to logout? with logout being a link, but clicking on logout does nothing but refresh the page. Please help

  5. rp7532
    Member
    Posted 3 years ago #

    After hours of trial and error I have finally come up with a solution, I had to change in general-template.php starting on line 209

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I still have to go through the "are you sure you want to log out?" page but after clicking on log out I am finally logged out of WP. There still seems to be an issue with getting a 101 error every once in a while but I have not found a better way to log out of my WP site yet if anybody has a better solution please post it thank you.

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Do not edit core files unless you really, really, know what you're doing. If you are not careful, you could be compromising the security of your site.

  7. rp7532
    Member
    Posted 3 years ago #

    well after searching for answers and coming up with nothing I had to do something, I still have the original files in tact, if you have a better solution I am all ears as for now I am sticking with my solution until I can get a better answer or come up with a better solution myself

  8. chouxpastry2002
    Member
    Posted 3 years ago #

    hello i am also facing same problem. I am having "branded buddypress login" in my website. If i disable this plugin site works smoothly. But i want to retain this plugin.

    Please tell me what to do?

    Sam.

  9. the daily orbit
    Member
    Posted 2 years ago #

    Has anyone found a solution to this problem? It looks like someone posted a hack to core earlier in the thread but someone moderated it out. Wtf why would someone moderate out a fix to a problem that needs to be fixed?

  10. dains
    Member
    Posted 2 years ago #

    I just ran into this problem with a custom theme, and this answer seems very likely:

    http://www.primothemes.com/forums/viewtopic.php?f=4&t=165

    I have a wpmudev subscription, and the solution there pretty much confirmed it's a nonce issue - per the support ticket I found, "The behavior happens when the nonce part of the url is not added or is expired."

    I'm off to fix the logout link on the custom theme and see if it works.

Topic Closed

This topic has been closed to new replies.

About this Topic