- This topic has 32 replies, 3 voices, and was last updated 3 years, 11 months ago by David.
-
AuthorPosts
-
May 6, 2020 at 9:44 pm #1273066Douglas
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?
May 7, 2020 at 10:02 am #1274119TomLead DeveloperLead DeveloperDoes the same login work on the staging site? Trying to login but it’s telling me the password is incorrect.
May 7, 2020 at 10:35 am #1274176DouglasSorry 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?
May 7, 2020 at 11:05 am #1274215TomLead DeveloperLead DeveloperOur Account Issue form is best: https://generatepress.com/contact/
May 7, 2020 at 1:18 pm #1274424DouglasOk I’ve sent the credentials. Do whatever you need to do in order to troubleshoot. This site is purely for testing.
May 7, 2020 at 1:28 pm #1274441TomLead DeveloperLead DeveloperIs the issue happening right now? I just logged in on that page with no issues.
Let me know ๐
May 7, 2020 at 2:01 pm #1274474DouglasThe 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.
May 7, 2020 at 2:42 pm #1274521TomLead DeveloperLead DeveloperIt’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 usersWe do the same thing here on this site.
May 7, 2020 at 2:45 pm #1274527DouglasHow would I go about that? I don’t think I have a Cache plugin in use on this site.
May 7, 2020 at 2:52 pm #1274534TomLead DeveloperLead DeveloperIt’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.
May 7, 2020 at 2:58 pm #1274541DouglasIs 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.
May 7, 2020 at 3:09 pm #1274560TomLead DeveloperLead DeveloperIf 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.
May 7, 2020 at 3:25 pm #1274582DouglasI can install one. Which do you recommend?
May 7, 2020 at 3:27 pm #1274585TomLead DeveloperLead DeveloperIt 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.
May 7, 2020 at 3:37 pm #1274591DouglasDo 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.
-
AuthorPosts
- You must be logged in to reply to this topic.