Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

gphsupport

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • February 8, 2018 at 10:21 pm in reply to: Logout Link Not working #13295
    gphsupport
    Participant

    Wonderful. Thank you for confirming. I will go ahead and delete all the test information now!

    I had disabled most of the caching on the other site, because of (duh) site functionality issues. It is, however, something one often might do for site speed/SEO reasons.

    So, good lesson here. Thank you for your help!

    February 8, 2018 at 9:50 pm in reply to: Logout Link Not working #13291
    gphsupport
    Participant

    That and manually starting php sessions seems to have done the trick!

    February 8, 2018 at 9:06 pm in reply to: Logout Link Not working #13289
    gphsupport
    Participant

    It appeared not to be working, so I went back to this:

    <IfModule mod_headers.c>
    Header set Cache-Control “no-cache, no-store, must-revalidate”
    Header set Pragma “no-cache”
    Header set Expires 0
    </IfModule>

    February 8, 2018 at 9:02 pm in reply to: Logout Link Not working #13288
    gphsupport
    Participant

    Ok, so, it looks like is browser cache and not varnish cache that appears to be doing it (???). So, I manually added:

    <FilesMatch “\.(css|flv|gif|htm|html|ico|jpe|jpeg|jpg|js|png|pdf|swf|txt)$”>
    <IfModule mod_expires.c>
    ExpiresActive Off
    </IfModule>
    <IfModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header unset Pragma
    Header unset Cache-Control
    Header unset Last-Modified
    Header set Pragma “no-cache”
    Header set Cache-Control “max-age=0, no-cache, no-store, must-revalidate”
    Header set Expires “Mon, 10 Apr 1972 00:00:00 GMT”
    </IfModule>
    </FilesMatch>

    To my htaccess and now it appears to logout out just fine. So, something in the browser cache is not clearing out the cookies properly when it tries to do the whole logout sequence. Hopefully this helps someone else in the future!

    The Assurer, if you could take one final look (clear your temp files) and try again and let me know if it works on your end as well, I’d appreciate it.

    February 8, 2018 at 7:20 pm in reply to: Logout Link Not working #13287
    gphsupport
    Participant

    Good idea. I know Varnish does, but I don’t think my host will do special rules for the Varnish setup. I am going to have them try and disable Varnish just to test. If it works after that, at least I know that is what the issue was. But if they disable Varnish and it still doesn’t work, I’ll be back to square one.

    February 8, 2018 at 7:03 pm in reply to: Logout Link Not working #13285
    gphsupport
    Participant

    No CDN. No page caching (or WordPress caching modules of any kind). But there is Server level caching–yeah, Varnish. And, I just realized my Varnish configuration actually isn’t running on my other host due to phpsessions. So, maybe that was why it was working there and not here. Is the plugin not compatible with Varnish?

    February 8, 2018 at 6:00 pm in reply to: Logout Link Not working #13283
    gphsupport
    Participant

    Sorry, I missed this:

    Also, which browser and version are you using?

    Chrome Version 64.0.3282.140 (Official Build) (64-bit)
    Firefox Quantum 58.0.2 (64-bit)

    February 8, 2018 at 5:53 pm in reply to: Logout Link Not working #13282
    gphsupport
    Participant

    Also, Re:

    https://simple-membership-plugin.com/forums/topic/common-reasons-for-member-login-related-issues/
    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    I did both the theme and plugin tests. Disabled the theme, used the default, same issue. Disabled all plugins except Simple Membership, same issue.

    February 8, 2018 at 5:17 pm in reply to: Logout Link Not working #13281
    gphsupport
    Participant

    I made a test login for you in case it helps you diagnose anything.

    Username: test
    Password: test
    Redirect on login: https://www.stiraallternatives.com/aviate/test/

    February 8, 2018 at 4:38 pm in reply to: Logout Link Not working #13280
    gphsupport
    Participant

    Ugh, sorry, I didn’t realize it would insert it as a frame like that.

    February 8, 2018 at 4:37 pm in reply to: Logout Link Not working #13279
    gphsupport
    Participant

    Correct. Well, I use PHP code, but that is what is output:
    <?php bloginfo(‘url’); ?>/?swpm-logout=true

    And it looks like this in the HTML:
    http://www.stiraallternatives.com/aviate/?swpm-logout=true
    (except on https; but if I type that in, it shows the website in a frame, which is kind of annoying)

    February 8, 2018 at 3:43 am in reply to: Logout Link Not working #13271
    gphsupport
    Participant

    The root is running a WordPress installation, but IS NOT running the Simple Membership plugin. Simple Membership is running on no other subdirectories or subdomains on this server.

    The “aviate” folder is the only WordPress instance on this server and is the only one running the Simple Membership plugin.

    Yep, also see that.

    February 8, 2018 at 12:39 am in reply to: Logout Link Not working #13262
    gphsupport
    Participant

    For developing the site, I’ve been having to manually delete all the cookies to logout.

    There is no apparent issues logging in. The logout feature just doesn’t work.

    In case it helps, here’s a plugin list:
    Better Search Replace, Bootstrap MCE CSS, Contact Form 7, Custom Permalinks, Disable Title, Flamingo, Include Me, Insert PHP, Jquery Validation for Contact Form 7, Really Simple SSL, Search Everything, Simple Membership After Login Redirection, Simple Memebership Custom Messages, Simple WordPress Membership, TinyMCE Advanced, URL ShortCodes, Varnish HTTP Purge

    The other setup where I have this running another domain is nearly identical (also running Varnish; no other caching). The only difference is that this one is in a subdomain. =/

    February 8, 2018 at 12:34 am in reply to: Logout Link Not working #13261
    gphsupport
    Participant

    Ah, yes, the problem is that the user is still logged in.

    I would assume those are the same problem in this case. I know how it normally works is that the cookie time is just set in the past and that ends up clearing it out in the browser.

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy