• Resolved HeleneL

    (@helenel)


    Hello,

    Users are logged out or cannot access pages and posts they should be able to access, even when they are logged in.
    the option: Logged-in Users Don’t show the cached version for logged-in users is checked

    We had this problem earlier but you solved it with the exclusions:
    Is Equal To:
    wp-login.php

    Contains: my-account
    https://redanalysis.org/(.*)my-account(.*)

    Start With: wp-admin
    https://redanalysis.org/wp-admin(.*)

    However, since the last update the problems has started creeping up again.
    If I clear the cache or save the settings again, then logged in users can again access the various pages for their membership.
    I also have this problem sometime as admin (not always…).

    We use woocommerce membership and subscription.

    Right now, I guess that for the night I’ll have to desactivate WP Fastest Cache just to make sure users can access their pages and account, but then I dont have cache anymore ??

    If you could help that would truly be great!
    With all my thanks in advance,
    Best regards
    Helene

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Emre Vona

    (@emrevona)

    you are using varnish cache. you need to disable it. you should not user more than one cache system concurrently.

    Thread Starter HeleneL

    (@helenel)

    Hello Emre,
    Ok, thank you so much for your quick answer. How come up until the latest upgrade I could use both without any problem?
    Now, I need to choose between your plugin that I just love and varnish that is great too ?? what a dilemma!
    Thanks again
    Helene

    Plugin Author Emre Vona

    (@emrevona)

    your are welcome. You may not have noticed the problem. you should disable the varnish cache.

    Thread Starter HeleneL

    (@helenel)

    Thank you Emre.
    My provider says it has disabled xvarnish/cachewall.
    However, the problem persists…
    for example on this page even when logged in with a test account, i do not access the page
    https://redanalysis.org/2019/03/18/scenarios-improving-the-impact-of-foresight-thanks-to-biases/
    I am also haphazardly ejected as admin.
    If I save the settings of WP fastest cache or purge the cache, then the problem is solved… for a while but comes back ??
    I have also asked my provider to enquire further, just in case, but if you had an idea, that would truly be very helpful. Right now I have not re-saved the settigs, so that any error log would appear (in case there is one),
    Thank you so much in advance for your help
    Helene

    • This reply was modified 3 years ago by HeleneL.
    Thread Starter HeleneL

    (@helenel)

    Finally I tried the following thing (I cannot let the problem last for too long considering users, so at one stage I need to “solve” it by clearing the cache, which I did a couple of minutes ago):
    desactivate Async JavaScript (just to try)
    clear the cache
    and of course it worked… until it starts logging users out?

    Interesting point re logged in users: we use wpcourseware for online courses, and these remain accessible, when pages under simple membership cannot be accessed by logged in users. Yet we use membership to manage access to both courses and simple posts and pages on the website.
    It just does not make sense.

    Thread Starter HeleneL

    (@helenel)

    Continuing my investigation, always for logged in users (same problem in both safari and firefox)
    The first time I try to access a post authorised by my membership, I can see it properly.
    If I close the tab and then try to access it again, then I am blocked as if I were not logged in….
    sigh

    Thread Starter HeleneL

    (@helenel)

    Hello again Emre,
    As my provider could not find either any cause for the problem, but could replicate the issue, and as I am repeatedly logged out even as admin, I have no other choice than to deactivate for now your plugin.
    If you have any idea of what is wrong, I would greatly appreciate your help,
    Unfortunately, I could not replicate the problem on our staging website, which would have allowed me testing which plugin could conflict with WP fastest cache.
    Best regards
    Helene

    Plugin Author Emre Vona

    (@emrevona)

    I do not think that Varnish cache has been disabled.

    Thread Starter HeleneL

    (@helenel)

    Dear Emre,
    Thank you SO much for identifying this… thanks to you I could go back to my provider and now xvarnish is removed and I’ll be able to try using WP fastest cache again. Once I have had time to test it again (tomorrow probably), I’ll drop you a line to tell you how it went.
    A billion thanks for your support
    Helene

    Plugin Author Emre Vona

    (@emrevona)

    you are welcome. please let me know.

    Thread Starter HeleneL

    (@helenel)

    Hello again Emre,

    Happy to report that all problems are now solved, thanks to your point on xvarnish and surveillance.
    Our provider installed engintron instead, and this morning I could reactivate WP fastest cache and all is fine, no users logged out so far. I’ll monitor closely what happens in the coming day, but hopefully everything will be fine.
    (We even got 99% for desktop on google speed insight for some posts – less good for mobile, 58, but nothing new for us and actually an improvement on usual)

    So A billion thanks to you and your great plugin.
    I’ll check I gave already a 5 start rating to it, and if not shall do it right away,
    With my very best
    Helene

    Plugin Author Emre Vona

    (@emrevona)

    thank you so much ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘loged in users cannot access membership pages’ is closed to new replies.