Page 1 of 1

S2member code stoping my site from loading

PostPosted: November 5th, 2011, 8:46 pm
by cashmunkey
Hey Guys,

I am trying to set up the FREE PLUGIN on one of my sites for now, I have Pro on my fbtrainer.com site.

I pasted the Paypal code in the page and it's not working at all .. the website fails to load past the s2member coding in the form script.

HELP ASAP!!! is this a membership site and I have 1000 members merge within the next 24 hours.

http://eliteearners.com/actnow

Thanks,

Michael Somerville

Re: S2member code stoping my site from loading

PostPosted: November 5th, 2011, 9:12 pm
by cashmunkey
.... Just noticed in Firefox is shows a Fatal Error ( view in the code )

I have no clue how to fix this, I am trying to have the customer sign up on that page and then be returned to the ../access site.

Follow:

http://eliteearners.com/actnow <=== Buy Now
http://eliteearners.com/access <=== WP Site / Membership area


Code: Select all
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="paypal@eliteearners.com" />
<input type="hidden" name="cmd" value="_xclick" />
<!-- Instant Payment Notification & Return Page Details -->
<input type="hidden" name="notify_url" value="http://eliteearners.com/access/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://eliteearners.com/access/" />
<input type="hidden" name="return" value="http://eliteearners.com/access/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" />

<!-- Configures Basic Checkout Fields -->
<input type="hidden" name="lc" value="" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="eliteearners.com" />
<input type="hidden" name="currency_code" value="CAD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="item_name" value="Elite Earners Website Membership Access" />

<input type="hidden" name="item_number" value="1:imranmichael" />
<!-- Configures s2Member's Unique Invoice ID/Code  -->
<input type="hidden" name="invoice" value="<br />
<b>Fatal error</b>:  Call to undefined function S2MEMBER_VALUE_FOR_PP_INV() in <b>/home/content/35/5556835/html/domains/eliteearner/actnow/index.php</b> on line <b>75</b><br />

Re: S2member code stoping my site from loading

PostPosted: November 5th, 2011, 10:52 pm
by Cristián Lávaque
I see. Are you using the shortcode of full code for the button? Could you post here what you're using that's giving this error? Thanks!

Re: S2member code stoping my site from loading

PostPosted: November 5th, 2011, 10:57 pm
by cashmunkey
Click the link ... it takes you to the site brother ... It's not inside the wordpress .. I am using the FULL CODE as seen above .. when it gets to the PHP in the FULL CODE .. it shuts the rest of the page down and gives that error.

Re: S2member code stoping my site from loading

PostPosted: November 5th, 2011, 11:06 pm
by Cristián Lávaque
OK, I understand it's not a page in WordPress, and that'd explain why you're getting that error.

I suggest you create a button over at PayPal following the instructions Jason gave here: viewtopic.php?f=36&t=309#p1333

I hope that helps. :)

Re: S2member code stoping my site from loading

PostPosted: November 6th, 2011, 3:04 am
by cashmunkey
I have done it like this before and it worked no problem.