Page 1 of 1

S2 member registration URL redirecting to homepage

PostPosted: September 8th, 2011, 5:26 am
by halasyt
Hi everyone,

First of all thanks for a great plugin to the authors, it works well most of the time.

But some of the time, the registration URL (%%registration_url%%) the customer gets in their welcome email just redirects to the homepage. This is annoying since it stops the automation, I have to create the user by hand, send them their login credentials. And of course it understandably impacts customer satisfaction.

As I said, this seems to happen randomly with about 30% of sales. Has anyone had this?

Thanks,
Tom

Re: S2 member registration URL redirecting to homepage

PostPosted: September 9th, 2011, 12:45 am
by Cristián Lávaque
Hi Tom.

Could you post here the log entries for some of these customers that have this problem? WP Admin -> s2Member -> PayPal Options -> Account Details -> Enable Logging

Re: S2 member registration URL redirecting to homepage

PostPosted: September 9th, 2011, 3:07 am
by halasyt
Hi, thanks for the reply, but I think I solved it with the help of this post: http://www.primothemes.com/forums/viewtopic.php?f=4&t=14666

A note to others who have this problem, when you contact hostgator, and first they'll give a couple of excuses for why they can't do what you ask, I think mainly because the hostgator representative doesn't understand what the problem is at first:

- Can only be done on VPS or dedicated servers = WRONG, we have a shared account for the site in question (mybandtheme.com)
- Can't remove mod_security at all = WRONG, no need to remove the entire script
- Mod_security is not the problem = WRONG, check for the silent 403 error

So the point is don't let in to their excuses :-)

The point where they let up, was when they saw the silent 403 error when accessing the tinyurl registration URL, they than checked the logs for the mod_security script, they saw that a specific S2 script was doing something that resulted in an error to mod_security, and they whitelisted the specific S2 script.

Oh, and interestingly enough, this whole problem emerged just a few weeks ago for us, just like the other forum thread, so I think this mod_security issue is due to something Hostgator must have done within the last few weeks, so others on Hostgator account will probably have this issue as well.

Re: S2 member registration URL redirecting to homepage

PostPosted: September 10th, 2011, 12:41 am
by Cristián Lávaque
Thank you for the update! Very helpful.

I'll ask Jason about this, maybe he can have Hostgator whitelist s2Member.

Re: S2 member registration URL redirecting to homepage

PostPosted: September 12th, 2011, 5:09 pm
by Jason Caldwell
While we continue to look deeper into this issue,
this thread may be of assistance to others: viewtopic.php?f=36&t=14787

Re: S2 member registration URL redirecting to homepage

PostPosted: September 13th, 2011, 1:50 pm
by Jason Caldwell
I've contacted HostGator about this.
A copy of my conversation has been posted here:
viewtopic.php?f=36&t=14787&p=35892#p35892