[Support request] Conflict with theme and adding header/footer code

Home Forums Support [Support request] Conflict with theme and adding header/footer code

Home Forums Support Conflict with theme and adding header/footer code

Viewing 15 posts - 16 through 30 (of 33 total)
  • Author
    Posts
  • #1273066
    Douglas

    I’ve disabled all plugins on my staging to troubleshoot excluding only (GP Premium, UM, Elementor Page Builder, and WooCommerce).
    http://bke.1a0.myftpupload.com/login/
    I’ve also followed the instructions at the link you provided to add via the p_body_open hook (appearance -> elements method) and still not working. If I switch the theme away from GP though it works ๐Ÿ™

    See anything interfering?

    #1274119
    Tom
    Lead Developer
    Lead Developer

    Does the same login work on the staging site? Trying to login but it’s telling me the password is incorrect.

    #1274176
    Douglas

    Sorry I think I had the password changed since sending it to you. Resetting it now. Do you have an email I can send the credentials to?

    #1274215
    Tom
    Lead Developer
    Lead Developer

    Our Account Issue form is best: https://generatepress.com/contact/

    #1274424
    Douglas

    Ok I’ve sent the credentials. Do whatever you need to do in order to troubleshoot. This site is purely for testing.

    #1274441
    Tom
    Lead Developer
    Lead Developer

    Is the issue happening right now? I just logged in on that page with no issues.

    Let me know ๐Ÿ™‚

    #1274474
    Douglas

    The issue is happening right now. When trying to login here http://bke.1a0.myftpupload.com/login it’s supposed to log you in and redirect to the my account page but it’s not. I log in and try to access the account and I cannot because it’s not logging me in.

    #1274521
    Tom
    Lead Developer
    Lead Developer

    It’s consistently logging me in, but it’s not showing me as logged in until I go back to the login page.

    I took a look at your response headers and the login page is cached: https://www.screencast.com/t/sLQUuoDmao

    This means you likely have some server caching going on, which is why it doesn’t look like it’s logged you in – the non-logged in site is cached.

    You should:

    1. Turn off caching on the /login/ page
    2. Turn off caching for logged-in users

    We do the same thing here on this site.

    #1274527
    Douglas

    How would I go about that? I don’t think I have a Cache plugin in use on this site.

    #1274534
    Tom
    Lead Developer
    Lead Developer

    It’s likely on the server-side of things then. I would contact your hosting support and ask them to turn off their caching for that page (login) and for logged-in users.

    #1274541
    Douglas

    Is it possible to do that for an individual site on a shared hosting server?

    Honestly I doubt my hosting provider would be able to do this. They never seem to know what they’re doing. Perhaps there’s another way.

    #1274560
    Tom
    Lead Developer
    Lead Developer

    If it’s not possible to deactivate the cache for logged-in users, you’re going to run into all kinds of issues while running a membership site (including being able to log in properly). That’s why all cache plugins have a “ignore cache for logged-in users” option – it’s essential for 99% of membership sites.

    #1274582
    Douglas

    I can install one. Which do you recommend?

    #1274585
    Tom
    Lead Developer
    Lead Developer

    It won’t help in this case, as caching already exists on the site. That’s the caching that needs to be disabled or altered.

    Your hosting should be able to disable it at the very least – I would be very surprised if they forced server caching on you.

    #1274591
    Douglas

    Do you know the source of the caching on the site because I don’t have a plugin installed and as I mentioned above, I turned most off to troubleshoot the issue. I can give my hosting provider a call this evening.

Viewing 15 posts - 16 through 30 (of 33 total)
  • You must be logged in to reply to this topic.