Users can't access protected pages - always redirecting to sign-up page

Being redirected to the signup page after payment is the default. Do you mean you aren’t getting any message that the payment was successful?

As to your question about HTTPS, that IS possible. PayPal has been phasing in requiring HTTPS for all transactions: including buttons (which has never been the case). Do you have s2Member logging enabled? If so, check the logs with “paypal” in the name for error messages (or open a support ticket and let us check them for you).

I thought I might have an answer for your original problem, but if you are not using HTTPS then I don’t have one off the top of my head.

Thanks for your reply.

  1. I have a fundamental problem here - where does a new user get to set their password?
    If they signup using the proform they choose a username and are then redirected to paypal. On completion they are redirected to the welcome page, but aren’t logged in so don;'t have access to it (but see part 2!), so get bounced to the signup options page. They receive a welcome email but this just says thanks for signing up - where do they get asked to set a password?

  2. The other bit of the problem is, even if I manually set a password for a new S2Member user as admin, when I login as (any) S2Member level 1 user, I can’t access the login welcome page - I just get bounced to the signup options page (which would be expected if I did not for some reason have privileges to access that page). If I remove the S2Member login welcome page setting, I can then access that page after I have logged in with a level 1 user.
    So setting a login welcome page basically has the opposite effect to that which is desired - it means I have no way of accessing the welcome page…!

Any suggestions as to how to address these two problems would be welcome indeed!

I am getting welcome emails fine (though there may be a problem with the fact that they originate from the multisite server and not from the domain’s mailservers. I guess an spf record might help with that…) but these do not contain any sign-up link

I just remembered there is an option to set password on signup in pro forms so have done that and now they do get asked to login when they return from paypal (and I have included the link to the ‘login welcome’ page on their welcome email, but still have problem 2 - I can’t set it to redirect them to the login welcome page after login… as soon as I configure the page (or a copy of it) as the login welcome page in S2Member, I can no longer access it and get redirected to the signup page instead.

The weirdest thing is I was pleased coz I thought that I had my locally- installed working, until I realised that the opposite was going on - I got redirected to the login welcome page just fine, but then realised that I didn’t need to be logged in at all to access it (or the other protected pages) even though they say they are protected by S2Member!

Brain-f$%£ked…

Andy, did you look at the link I provided earlier about resolving the multisite redirection loop?

Hi Tim, I get the error:
“The constant “COOKIE_DOMAIN” is defined (probably in wp-config.php). Please remove or comment out that define() line.”
…there is no other mention of COOKIE_DOMAIN in wp-config.php… it doesn’t seem like a redirect loop as I have experienced them before (I had this code already commented out in my wp-config file - must have been from last time I tried to use S2Member about 5 years ago!)

For what it’s worth I ran the server scan which reported:

“[WARNING] Plugin Directory Checksum (s2member)
Although NOT required, s2Member recommends that you reinstall the following plugin directory: /var/www/clients/client7/web7/web/wp-content/plugins/s2member. The checksum for this plugin directory (b213ac2eb2f987ade69c3541fa0ec87a), does NOT match up with the official release of this plugin (87113a05b25761c597e326d071ecc301). An invalid checksum can be caused by an incomplete set of files. Or, by files that should NOT appear in this directory. Or, by corrupted files in this directory. Reinstalling the official release of this plugin should correct this issue.”

NB When I reinstalled the s2member framework from the s2member website using wget, I still got a checksum error except this time the checksum is (92e5f00b08a70f95d3ef1a8e2ca1ac6b)… go figure…

Hi there,

I am having the exact same problem you have described here. Me, logged in as admin, cannot view some pages that are protected as level 0 subscriber. Instead, it just redirects me to the membership options page. It did the same when I registered a new account as well. I’ve just purchased s2member pro so I can use paypal pro forms. Now I’m not very techhy but I hardly have any plugins used on my website, so what is causing this?

hi tom - that is not exactly my problem - I am able to see these pages as admin, it is just as s2member user that I am not…

After raising a support ticket I was advised to reset s2member roles (after taking a database backup) and this worked perfectly!