Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-13T16:25:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14666 2011-09-13T16:25:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=35905#p35905 <![CDATA[Re: [SOLVED - mod_security] No Registration form after PayPa]]> Thanks for the great feedback.

Yes, tildas ( ~ ) seem to be an issue on HostGator. I'll see what we can do about this in a future release. However, mod_security works on heuristic filters, so while removing a tilda might fix the problem for some, it may not in another case. Ideally, HostGator would back down on the paranoia just a bit overall.

I've contacted HostGator about this. The issue is in the process of being resolved.
See my conversation here: viewtopic.php?f=36&t=14787#p35892

Until then, I recommend writing to HostGator about this, and send them the URL which is failing on your server. They can whitelist the URL to allow it to function properly in the short term.

Statistics: Posted by Jason Caldwell — September 13th, 2011, 4:25 pm


]]>
2011-08-31T20:26:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=33546#p33546 <![CDATA[Re: [SOLVED - mod_security] No Registration form after PayPa]]> FYI: Also see this article, as it pertains specifically to s2Member and Mod Security.
viewtopic.php?f=36&t=14787

Statistics: Posted by Jason Caldwell — August 31st, 2011, 8:26 pm


]]>
2011-08-31T13:16:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=33523#p33523 <![CDATA[Re: [SOLVED - mod_security] No Registration form after PayPa]]>
You'll need to open a support ticket with HostGator and they need to make the whitelist change. You can explain the problem to them and maybe referrence this forum post. I had to get to the second tier support before the person understood what I needed. To "prove" the problem I had to send screenshots of the 403 error from my firebug/chrome devtools console. Hope this helps.

Statistics: Posted by kevinsperrine — August 31st, 2011, 1:16 pm


]]>
2011-08-31T10:46:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=33510#p33510 <![CDATA[Re: [SOLVED - mod_security] No Registration form after PayPa]]>
i ' am a hostgator client and still have this problem.

Could you please help? The hint "to be added to the whitelist for mod_security rule" is not very clear.

What do i have to do exactly with my hostgator.

Thank you
Joe

Statistics: Posted by joedante — August 31st, 2011, 10:46 am


]]>
2011-08-29T13:05:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=33245#p33245 <![CDATA[Re: [SOLVED - mod_security] No Registration form after PayPa]]> Thank you for reporting this.
I'll see what we can do to prevent this in a future release. Some hosting companies make attempts to prevent attacks via mod_security, and in the process they create many false positives like this. I'm not sure we can work around them all, but I'll check with HostGator to see what their default configuration is like.

Statistics: Posted by Jason Caldwell — August 29th, 2011, 1:05 pm


]]>
2011-08-27T01:54:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=33043#p33043 <![CDATA[Re: [SOLVED - mod_security] No Registration form after PayPa]]>

Statistics: Posted by Cristián Lávaque — August 27th, 2011, 1:54 am


]]>
2011-08-26T15:23:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32970#p32970 <![CDATA[Re: No Registration form after PayPal]]>
Hopefully, this helps someone in the future.

Statistics: Posted by kevinsperrine — August 26th, 2011, 3:23 pm


]]>
2011-08-25T22:04:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32908#p32908 <![CDATA[Re: No Registration form after PayPal]]>
http://ohdinner.com/?s2member_register=fnIyOmVSQUJWekRhelQyTGdHQWE5SE5CTDZVUVpJcndWN2NsfDU_Jq2Quo-jO1su185HXxFULgIjdx9CUDOxQhrqOgSdNReRCXoRwxq0YztCGkQcJI-F2LOZyX~

http://ohdinner.com/?s2member_register=1~

Statistics: Posted by kevinsperrine — August 25th, 2011, 10:04 pm


]]>
2011-08-25T13:26:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32890#p32890 <![CDATA[Re: No Registration form after PayPal]]> Statistics: Posted by kevinsperrine — August 25th, 2011, 1:26 pm


]]>
2011-08-25T02:52:40-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32848#p32848 <![CDATA[Re: No Registration form after PayPal]]>

Statistics: Posted by Cristián Lávaque — August 25th, 2011, 2:52 am


]]>
2011-08-24T18:58:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32809#p32809 <![CDATA[Re: No Registration form after PayPal]]>
Edit: And I have tested that this is the problem, because if I remove the tilde and register using the form it links the registration to the correct subscriber id.

Statistics: Posted by kevinsperrine — August 24th, 2011, 6:58 pm


]]>
2011-08-24T13:39:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32795#p32795 <![CDATA[Re: No Registration form after PayPal]]> I don't know exactly where it's backing out, but after logging the progress I've determined that the hooks run, but the action c_ws_plugin__s2member_register::register is never run.

Edit: Actually, it does run, but it thinks the $_GET["s2member_register"] is empty, even though it is not and thus the registration form is never presented. So somewhere the $_GET variable is being emptied.

Edit: I don't think this post is helpful, as the more I've tried it the $_GET is empty because of the 403 error and subsequent loading of the s2member sign-up page. However, I cannot find any cause for the 403 error, and as i said above, I get the appropriate "link has expired" error if I simply use a fake url (ie. s2member_register=1212). I've disabled other plugins and checked file permissions on all s2member files (folder: 755, files: 644).

Statistics: Posted by kevinsperrine — August 24th, 2011, 1:39 pm


]]>
2011-08-24T00:49:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32762#p32762 <![CDATA[Re: No Registration form after PayPal]]> Statistics: Posted by kevinsperrine — August 24th, 2011, 12:49 am


]]>
2011-08-24T00:46:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32761#p32761 <![CDATA[Re: No Registration form after PayPal]]>
I'll email Jason so he looks at this. If you find any more information related to the problem, please update the thread as you've been doing. :)

Statistics: Posted by Cristián Lávaque — August 24th, 2011, 12:46 am


]]>
2011-08-24T00:32:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32760#p32760 <![CDATA[Re: No Registration form after PayPal]]> Statistics: Posted by kevinsperrine — August 24th, 2011, 12:32 am


]]>
2011-08-24T00:31:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32759#p32759 <![CDATA[Re: No Registration form after PayPal]]>
WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 17.92 MB :: Real Memory 18.25 MB :: Peak Memory 18.01 MB :: Real Peak Memory 18.25 MB
ohdinner.com/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
array (
'subscr_gateway' => 'paypal',
's2member_log' =>
array (
0 => 'No Return-Data. Customer must wait for Email Confirmation.',
1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only ( i.e. behind-the-scene ), and the Customer must wait for Email Confirmation in these cases.',
),
)

Statistics: Posted by kevinsperrine — August 24th, 2011, 12:31 am


]]>
2011-08-24T00:30:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32758#p32758 <![CDATA[Re: No Registration form after PayPal]]> WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 21.12 MB :: Real Memory 21.50 MB :: Peak Memory 21.24 MB :: Real Peak Memory 21.50 MB
ohdinner.com/?s2member_paypal_notify=1
User-Agent:
array (
'txn_type' => 'subscr_signup',
'subscr_id' => 'I-KBLHA8RVBW0A',
'last_name' => 'Perrine',
'option_selection1' => 'ohdinner.com',
'option_selection2' => 'XX.XXX.XXX.XX',
'residence_country' => 'US',
'mc_currency' => 'USD',
'item_name' => 'Monthly Subscription / description and pricing details here.',
'amount1' => '0.00',
'business' => 'XXXX@gmail.com',
'amount3' => '6.99',
'recurring' => '6.99',
'verify_sign' => 'An5ns1Kso7MWUdW4ErQKJJJ4qi4-AjCqCjfo66cPUqSwHPvzB4929-pa',
'payer_status' => 'verified',
'payer_email' => 'XXXX@gmail.com',
'first_name' => 'Kevin',
'receiver_email' => 'XXXX@gmail.com',
'payer_id' => '4KRSFQZ9CSP6C',
'option_name1' => 'Originating Domain',
'option_name2' => 'Customer IP Address',
'reattempt' => '1',
'item_number' => '1',
'subscr_date' => '21:52:42 Aug 23, 2011 PDT',
'custom' => 'ohdinner.com',
'charset' => 'windows-1252',
'notify_version' => '3.2',
'period1' => '2 W',
'mc_amount1' => '0.00',
'period3' => '1 M',
'mc_amount3' => '6.99',
'ipn_track_id' => '98Fsj9DAWmYY-2O48Pq7jA',
's2member_log' =>
array (
0 => 'IPN received on: Wed Aug 24, 2011 4:52:46 am UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
5 => 'Signup Confirmation Email sent to: "Kevin Perrine" <XXXXXX@gmail.com>.',
6 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
),
'subscr_gateway' => 'paypal',
'eotper' => NULL,
'ccaps' => NULL,
'level' => '1',
'ip' => 'XX.XXX.XXX.XX',
'initial_term' => '2 W',
'initial' => '0.00',
'regular' => '6.99',
'regular_term' => '1 M',
)

Statistics: Posted by kevinsperrine — August 24th, 2011, 12:30 am


]]>
2011-08-24T00:27:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32756#p32756 <![CDATA[Re: No Registration form after PayPal]]>
Could you please post the log entries related to this problem? (x'ing out any private info.) Thanks!

Statistics: Posted by Cristián Lávaque — August 24th, 2011, 12:27 am


]]>
2011-08-23T22:59:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14666&p=32747#p32747 <![CDATA[[SOLVED - mod_security] No Registration form after PayPal]]> http://www.primothemes.com/forums/viewtopic.php?f=36&t=3151, so I'm aware of the limitations. We are offering free trials, and in most situations users get the registration form via the link in the email; however, we had a situation arise today where the email link didn't take them to the registration form. The tinyurl in the email simple redirects them back to our sign-up page--not the form.

Ideas?

Edit: I've just tried again with multiple test accounts and get the same results each time. We're using the newest version of wordpress and s2member pro. I've enabled logging and have the correct return data from paypal, but something about the registration link is broken.

Edit 2: Actually, it's failing because I'm getting a 403 Forbidden when attempting to return the page using the ?s2member_register=**ENCRYPTED_DATA_HERE**

Statistics: Posted by kevinsperrine — August 23rd, 2011, 10:59 pm


]]>