latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Custom Success Page after Registration

Home Forums Community Forum Custom Success Page after Registration

This topic contains 45 replies, has 2 voices. Last updated by  Toby Milroy 3 years, 8 months ago.

Topic Author Topic
Posted: Thursday Apr 18th, 2013 at 10:06 pm #47817
Toby Milroy
Username: tobytkd

I’ve read through a bunch of posts on this topic, but I’m still at a loss.

I’m trying to direct subscribers to a different page after successful registration…
https://www.masteryoursmallbusiness.com/members/gold-membership-enrollment-form?s2-ssl=yes

I’m using the success=” ” attribute in the form shortcode.
[s2Member-Pro-AuthNet-Form success=”http://www.masteryoursmallbusiness.com/members/new-member-bonuses/” level=”1″ ccaps=”” desc=”6 Week Trial for Just $9.97 / then Should you choose not to cancel, $64.97 USD per Month Membership!” cc=”USD” custom=”www.masteryoursmallbusiness.com” ta=”9.97″ tp=”6″ tt=”W” ra=”64.97″ rp=”1″ rt=”M” rr=”1″ rrt=”” accept=”visa,mastercard,amex,discover” coupon=”” accept_coupons=”0″ default_country_code=”US” captcha=”0″ /]

I’ve completed a couple test registrations, and all goes well, except I’m not redirected to the new page.

I’ve tried a bunch of variation of syntax, full url etc…etc…

Doesn’t seem to be following the success = command???

Any thoughts??

Thanks!

List Of Topic Replies

Viewing 25 replies - 1 through 25 (of 45 total)
Author Replies
Author Replies
Posted: Friday Apr 19th, 2013 at 7:01 pm #47900
Toby Milroy
Username: tobytkd

Any thoughts on this one guys??

Posted: Friday Apr 19th, 2013 at 10:17 pm #47909
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I’ve completed a couple test registrations, and all goes well, except I’m not redirected to the new page.

Did you have logging enabled during these tests? If you did, send us your log files here, please:

s2Member® » Private Contact Form

Posted: Friday Apr 19th, 2013 at 10:38 pm #47915
Toby Milroy
Username: tobytkd

I did not…but I will now and run new test.

Posted: Friday Apr 19th, 2013 at 10:39 pm #47916
Bruce
Username: Bruce
Staff Member

I did not…but I will now and run new test.

Thanks. :-)

Posted: Friday Apr 19th, 2013 at 10:44 pm #47917
Toby Milroy
Username: tobytkd

I ran another test….
It seems when the form is submitted all works appropriately (meaning I get the confirmation emails, and confirmaiton from AuthNet RIGHT AWAY), BUT for 2 items:
#1 – I’m not redirected to the success = page…
#2 – it takes a LONG time for the page that it does land on to load. (the same page the form resides on).

Sending log files now.

Posted: Friday Apr 19th, 2013 at 11:07 pm #47920
Bruce
Username: Bruce
Staff Member

Details Received. Thank you.

Posted: Friday Apr 19th, 2013 at 11:09 pm #47921
Bruce
Username: Bruce
Staff Member

I’m looking at your logs, and it looks like your hosting company has loopbacks disabled to me.

Try running this Server Scanner:

Knowledge Base » s2Member® Server Scanner

The best way to tell for sure is to use the information provided in Cristian’s post here:

http://www.s2member.com/forums/topic/paypal-success-return-url-not-working/#post-22492

If you’d like, I can test this for you.

Posted: Friday Apr 19th, 2013 at 11:19 pm #47925
Toby Milroy
Username: tobytkd

Ok,
I’ve installed the file, and looked at the page…

I saw a couple errors….before the scan results, which also has a couple notices.

Can you help me decipher, and let me know what I should do?

http://www.masteryoursmallbusiness.com/members/s2-server-scanner.php

Thanks!

Posted: Friday Apr 19th, 2013 at 11:24 pm #47929
Bruce
Username: Bruce
Staff Member

Thanks for the follow-up.

I took a look at your scanner and I’m almost certain now that the problem here is with your server’s inability to loopback. Please try using the information in the link for the post from Cristian I posted in my last reply, and if that comes back with an error then that’s definitely the problem.

Posted: Friday Apr 19th, 2013 at 11:27 pm #47933
Toby Milroy
Username: tobytkd

Uhhh….ok…..but I’m not using multisite….does that make a difference?

Posted: Friday Apr 19th, 2013 at 11:29 pm #47934
Bruce
Username: Bruce
Staff Member

Uhhh….ok…..but I’m not using multisite….does that make a difference?

No, that code snippet is only seeing if you can connect to your website through PHP from within your website (or “loopback”).

Posted: Friday Apr 19th, 2013 at 11:32 pm #47938
Toby Milroy
Username: tobytkd

I installed the file here:
http://www.masteryoursmallbusiness.com/members/wp-content/mu-plugins/s2-diagnostics.php

But I’m not seeing anything on the sreen if I visit the page…
I’m not a coder…so I’m not exactly what I’m looking for….heh..

Any thoughts???

Posted: Friday Apr 19th, 2013 at 11:35 pm #47939
Bruce
Username: Bruce
Staff Member

But I’m not seeing anything on the sreen if I visit the page…
I’m not a coder…so I’m not exactly what I’m looking for….heh..

The page you should be looking at is:

http://www.masteryoursmallbusiness.com?s2_diagnostics

but based on my tests just now, it looks like your server isn’t picking up the plugin at all. Mind if I try?

Posted: Friday Apr 19th, 2013 at 11:39 pm #47942
Toby Milroy
Username: tobytkd

please do.
I created the directory as in the instructions….BUT, I’m not using MU, so I just creaded it directly etc….
Maybe it needs to be in teh regular plug in directory???

Yes, please…any help is great!

Thanks!

Posted: Friday Apr 19th, 2013 at 11:40 pm #47943
Bruce
Username: Bruce
Staff Member

Thanks, I’m going taking a look now.

Posted: Friday Apr 19th, 2013 at 11:49 pm #47946
Bruce
Username: Bruce
Staff Member

Investigation Complete.

If you’ll take a look at this URL, you’ll see that it’s returning an error:

http://www.masteryoursmallbusiness.com/members/?s2_diagnostics

The code I had you upload is trying to connect back to this URL, and failing:

http://www.masteryoursmallbusiness.com/members/

This tells me that your server is blocking loopbacks, which is not something that’s normally done. You should contact your hosting company and see if they can stop this from happening. s2Member needs it to work for several things, including redirecting after coming back from your payment gateway, doing Cron Jobs (to demote Users), and many other things.

Posted: Friday Apr 19th, 2013 at 11:54 pm #47948
Toby Milroy
Username: tobytkd

Ok…on the line with them now…..
they seem unclear what a “loopback” is…
is this a php.ini setting???

Anything else I can use to describe what needs to be done??

Posted: Friday Apr 19th, 2013 at 11:56 pm #47949
Bruce
Username: Bruce
Staff Member

they seem unclear what a “loopback” is…
is this a php.ini setting???

Anything else I can use to describe what needs to be done??

They should know what’s causing this. It’s not a PHP.ini file thing. It’s something they have set up specifically on their server. Tell them that you’re not able to connect back to your server from your server, rather than calling it a loopback.

Posted: Friday Apr 19th, 2013 at 11:59 pm #47950
Toby Milroy
Username: tobytkd

Ok…
on the phone with them…
the agent is escalating me to a tier 2…..they still seem unclear about what I mean.
I read the thread to them…..so we know it’s not a PHP.ini issue….etc.

Anything else that might help them “get it”??

Thanks!

Posted: Saturday Apr 20th, 2013 at 12:01 am #47952
Bruce
Username: Bruce
Staff Member

Anything else that might help them “get it”??

I can’t think of anything, sorry. The best way to describe it would be that their servers are rejecting connections that come from itself. As in you can’t connect from your site, to your site. That’s basically all that’s happening here, and they should know what’s causing this, and if/how they can fix it.

Posted: Saturday Apr 20th, 2013 at 12:02 am #47953
Toby Milroy
Username: tobytkd

Are you describing a “remote connection”??
If so….that’s not something they do…….but it doesnt’ sound right to me…

Thoughts???

Posted: Saturday Apr 20th, 2013 at 12:03 am #47954
Bruce
Username: Bruce
Staff Member

Are you describing a “remote connection”??
If so….that’s not something they do…….but it doesnt’ sound right to me…

The connection is being done through PHP’s fopen(), or cUrl. This is the same method used to do remote connections, but the connection itself is to your server.

Posted: Saturday Apr 20th, 2013 at 12:04 am #47956
Toby Milroy
Username: tobytkd

Is there an error log, or some way I can submit a ticket showing them the error….
They seem to not really understand…..I’m not getting through…heh.

Posted: Saturday Apr 20th, 2013 at 12:07 am #47957
Bruce
Username: Bruce
Staff Member

Is there an error log, or some way I can submit a ticket showing them the error….
They seem to not really understand…..I’m not getting through…heh.

The s2-http-api-debug.log file you sent us contains the error, and you can also direct them to this URL to see the error WordPress is throwing (connection done through wp_remote_request())

Posted: Saturday Apr 20th, 2013 at 12:08 am #47958
Bruce
Username: Bruce
Staff Member
Viewing 25 replies - 1 through 25 (of 45 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.