July 2, 2017 at 2:04 am #11390
The plugin itself has no issue with the login system (we have tested the login process thoroughly). If you see a problem like the following on your site then this post should be helpful for you:
i) Login is successful but when you go to a protected page, it prompts you to login again.
ii) Login session drops after the user browses a few pages on the site.
iii) After the login form is submitted, it doesn’t show the user as logged in.
The above mentioned issues usually come from one of the following sources. Go through each checklist one by one to see which one is affecting your site.
Checklist #1) This can happen if you mix up the HTTPS and HTTP pages on your site. So if you have a bunch of mixed pages on the same site it can cause this issue. If a user logs in from the HTTPS page then goes to a non-https page, the authentication will drop due to security reasons. So if your members are login in from a HTTPS page for example and then you have specified an after login redirection that takes them to a non-https page, that is just not going to work. So pick HTTP or HTTPS then stick to that, don’t mix them up in the same site.
If you are using an SSL certificate on your site then you should force all pages to load in “https” (thats the best practice).
A plugin like the following can be helpful (if you don’t know how to do it yourself):
Also, go to the settings menu of the membership plugin and the membership level menu then make sure all the URLs there are “https”. For example: if you installed the plugin when your site had “http” then installed SSL certificate, you may have the non-https URLs as your after login redirection which will cause issue.
Checklist #2) The same goes for mixing “www” and “non-www” on the same site (similar to checklist #1). If a user logs in from the “www” version of your site then going to the “non-www” version won’t recognize that login. Pick one method and be consistent throughout the site for all URLs.
Checklist #3) Caching issue can cause this. It could come from a caching solution you are using or your hosting provider maybe using caching on their end. We have integration with the following two cache plugins:
Checklist #4) PHP session on the server is not functioning 100%. If PHP session data is being dropped on your site then the plugin will behave weirdly. Contact your hosting provider and tell them to check your PHP session configuration on the server and confirm that PHP session is working correctly.
Checklist #5) You may have another plugin that is conflicting our user login functionality. I have seen plugins that just breaks the PHP Session functionality on the site and then when another plugin tries to use the PHP session, it doesn’t work for that plugin. You should do the following conflict test:
Get Paid Help) If you want me to jump on your site and investigate the issue related to your particular site and setup, then you can use the following option:
https://simple-membership-plugin.com/paid-support-simple-membership-plugin/September 8, 2017 at 5:00 pm #11930
I am really struggling and having a raft of log in issues. I have paid for the premium support but this is not helping. Can someone please help me?
Thanks in advance
Olga xSeptember 9, 2017 at 5:17 am #11934
@lyncho, I have replied to your support thread.
RegardsOctober 4, 2017 at 9:16 am #12087
I dont think these apply to the problem I have. Specifically when a user logs in and we have it set to redirect them to the previous page then the URL they are sent to excludes the ‘punctuation’ e.g. httpswww.mysite.org.ukmember-list.
Can you suggest why this is and how to fix it?October 5, 2017 at 12:17 am #12096November 8, 2017 at 2:07 pm #12396
These are exactly my problems.
People log in and then are sked to login again and again, without ever being able to access the content.
I lost tons of visitors in the process.
Sometimes somebody contacts me and then I tune my website until it works, without knowing why suddenly it works.
And when I come back next time it doesn’t work anymore…
I have none of the above problems.
But this is really the most frustrating experience I ever had with a WordPress website.
It took me a lot of time to build this membership site, put all the content in; but in about 3 years, nobody was able to use it.
Since there are some other issues with the registration process that were never resolved, I gave up on it.
But I deeply regret that I chose this solution.November 8, 2017 at 10:33 pm #12400
I would to know how to make disappear registration link from the header menu when I am logged in 🙁November 9, 2017 at 12:44 am #12403
@nathalie, I am sorry to hear of the issues you have had with our plugin. I can assure you the plugin does work. I have tested the plugin just like Admin mentioned above in different environments with many plugins without any issues.
Unfortunately not all plugins will work in all environments. And this looks like is the case here with your server and site settings.
If you would me to help you further, can you open up a support ticket.
Otherwise I hope your other solutions works better for you.
Kind regardsFebruary 3, 2018 at 10:44 am #13222
I have previously posted on this topic but the problem is still there from time to time, including it affecting me.
The problem is as you describe above “i) Login is successful but when you go to a protected page, it prompts you to login again.”
The only way to resolve this for other users is via admin to log them out of all sessions.
For myself, this morning, I tried deleting the cookies relating to SWPM. The problem then went away. So I suspect there remains some issue with cookies. If you would like to see the cookie values I can provide these.February 4, 2018 at 1:12 am #13225
Hi @bobgarrett, it sounds like you might have a cache related issue. Do you use a cache plugin? Does your sever use a cache system? Do you use Cloudflare or a similar CDN system?February 5, 2018 at 12:12 pm #13232
We have not added any cache plugin and as far as I know the server has no caching but if you know how to check I will try.
Doesn’t the fact that deleting the cookies solves it suggest there is some miss-timing in these?February 5, 2018 at 10:37 pm #13235
Hi, since this issue has happened more than once in your site I have submitted a message to the developers to investigate further this issue.
Kind regardsFebruary 6, 2018 at 6:31 am #13236
There are no issues with the login process of the plugin. It’s a site/server specific issue.
Ask your hosting provider what caching they are using on their end. Many hosting provider use caching on their end for the cheaper plans.June 3, 2018 at 7:37 pm #14597
I do not have the feature to choose a url in the settings when a user logs in. Any ideas guysJune 3, 2018 at 9:27 pm #14601
You must be logged in to reply to this topic.