Not logged out of WordPress using logout.php

Discussion in 'Integration' started by amcdermott, Jun 30, 2011.

  1. amcdermott

    amcdermott aMember Pro Customer

    Joined:
    Feb 9, 2011
    Messages:
    26
    I am using "New WordPress Plugin" with PLUGIN VERSION: 0.3

    If, as a logged in user, I go to /amember/logout.php I get the usual message:

    However, I can still access WordPress account features such as /wp-admin, update user profile in WordPress, etc.

    I believe this may be related to the issue mentioned in this thread:

  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Are you logging the user in via Wordpress or aMember initially?

    Clear your browser cache / cookies, restart your browser and test just logging into aMember -> using wordpress -> logging out of aMember

    Clear, restart -> repeat the same, only logging into Wordpress directly.
  3. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Are both your amember and wordpress set to use www. or non-www?

    David
  4. amcdermott

    amcdermott aMember Pro Customer

    Joined:
    Feb 9, 2011
    Messages:
    26
    Hmmm. I can't reproduce it now after trying your suggestions. I thought for a bit that it was a browser specific thing, but it's possibly caused by caching and user error.

    Thanks for the help, both of you!
  5. louisestapleton

    louisestapleton aMember Pro Customer

    Joined:
    Apr 6, 2009
    Messages:
    7
    I have the same tproblem - even after clearing the cache.

    What I noticed is the url when clicking on the logout from the members page is simply mysite/logout.php but from a wordpress page the url is mysite/wp-login.php?action=logout

    is the problem in the logout.php file?
  6. louisestapleton

    louisestapleton aMember Pro Customer

    Joined:
    Apr 6, 2009
    Messages:
    7
    also both wordpress and amember are set to www
  7. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    No the problem is not logout.php file. From wordpress you should be redirected to mysite/wp-login.php?action=logout
    Please submit ticket in helpdesk I need a way to test this myself.
  8. louisestapleton

    louisestapleton aMember Pro Customer

    Joined:
    Apr 6, 2009
    Messages:
    7
    I do get redircted properly from the wordpress pages. I don't have a problem logging out when I'm on a wordpress page. I'm talking about links within my amember pages, like members.php

    I'll put in a ticket

Share This Page