Simple Membership Plugin › Forums › Simple Membership Plugin › Same Login Problem…
- This topic has 7 replies, 3 voices, and was last updated 6 years, 9 months ago by
admin.
-
AuthorPosts
-
February 12, 2020 at 2:55 pm #19768
Matt
ParticipantI have the same login issue others have reported. When the user gets to a protected page that needs a login and the user logs in, server continues to request a login. If you reload the page at this point, you then get the correct page that recognizes the user as being logged in, but only if you know to hit the “page reload” button. I have followed the support forum guidance to troubleshoot.
So, the result of my troubleshooting: I have found when I disable your companion “SWPM Show Member Info” plugin, the problem goes away.
I have some HTML with your shortcode to display the user’s name and membership level on the top of each page. Maybe this somehow points to the source of the problem? Any ideas on how to solve the problem? It looks like the login is not recognized soon enough in the page display process???
February 12, 2020 at 9:51 pm #19771mbrsolution
ModeratorHi, are you running a cache or an optimizing plugin/s in your site?
February 12, 2020 at 10:02 pm #19774Matt
ParticipantI have Cloudflare CDN. But no other cache. Endurance cache set “off” (Level 0).
No difference weather I turn Cloudflare on or off.
It seems like after the user login, the page display does not reload the header part of the page. Is that possible or part of the issue?
February 12, 2020 at 10:17 pm #19775mbrsolution
ModeratorHi,
I have followed the support forum guidance to troubleshoot.
What troubleshooting steps have you carried out?
So, the result of my troubleshooting: I have found when I disable your companion “SWPM Show Member Info” plugin, the problem goes away.
Are you talking about the following addon simple-membership-addon-show-member-info?
Thank you
February 12, 2020 at 10:52 pm #19776Matt
ParticipantWhat troubleshooting steps have you carried out?
1. Using SSL on site. All URLs use https://… Have done many search cycles to catch all those over the many months the site has been running.
2. no www. anywhere. Never have used www.
3. Spent many hours looking into cacheing. No cacheing now except Cloudflare. Cloudflare not cacheing HTML, if that matters. I have turned Cloudflare on and off… no difference.
4. PHP session issues? Not yet sure how to deal with this one.
5. Did isolate to your add-on plugin. Could there be other ones or combinations? Maybe.
6. Asked an engineer from WPBeginner about this last night. He said it is probably a bug in the plugin, but he did not look closely at the code.
Are you talking about the following addon simple-membership-addon-show-member-info?
yes. If I deactivate only that plugin, the problem goes away.
February 13, 2020 at 2:04 am #19777Matt
Participantnew information…
I added one of your sidebar login widgets, which I had never tried before. Now the page loading after login works okay. Protected pages load correctly even with the simple-membership-addon-show-member-info activated.
But, it would be nice if the sidebar widget login did not jump me back to the home page, but left me on the page where the login occurs.
Also, would be nice if the sidebar login widget **only** took up space if the user is not logged in. I did use your additional shortcode to only show the form to non-logged-in users, but the widget Title (which I left blank) still takes up white space in the sidebar. Minor annoyance.
So, there is still the mystery why the original problem exists.
February 13, 2020 at 2:07 am #19778mbrsolution
ModeratorThank you for your report. I have submitted a message to the developers to investigate further your issue.
Kind regards
February 18, 2020 at 11:56 pm #19798admin
KeymasterUnfortunately, this is going to be a server/site configuration specific issue. I won’t have a good idea about this unless I can log in and do a detailed investigation. That is beyond the scope of this free support.
-
AuthorPosts
- You must be logged in to reply to this topic.