Page 1 of 1

Free Registration Form - Invalid form configuration.

PostPosted: April 18th, 2011, 10:36 am
by w1nk5
I am receiving the following error on my Free Registration form after moving my site from my localhost to our live server. There currently is no domain pointed at the website, however it is accessible via the temporary domain: http://174.121.149.72/~futures/

There error is as follows: Invalid form configuration. Invalid "custom" attribute. When provided, must start with your domain name. (You can view it here: http://174.121.149.72/~futures/registration/)

After moving the site from our localhost to the live server we changed the shortcode tag custom from "localhost" to "174.121.149.72", here is the current code:

Code: Select all
[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it's Free!" custom="174.121.149.72" tp="0" tt="D" captcha="clean" /]


Is there a way to get this to work before we point the domain at this account?

Thanks

Re: Free Registration Form - Invalid form configuration.

PostPosted: April 18th, 2011, 12:58 pm
by w1nk5
Ok. So the domain has propagated. I regenerated the shortcode and inserted it on my page as follows:

Code: Select all
[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it's Free!" custom="www.forfuturesale.com" tp="0" tt="D" captcha="clean" /]


I am still receiving the same error you can see here: http://www.forfuturesale.com/registration/

Any advice? Thanks :)

Re: Free Registration Form - Invalid form configuration.

PostPosted: April 19th, 2011, 12:51 am
by Cristián Lávaque
Hmm... Check to make sure it's not being caused by this viewtopic.php?f=36&t=1066

Re: Free Registration Form - Invalid form configuration.

PostPosted: April 20th, 2011, 11:42 am
by w1nk5
I've tried both futuresale.com and www.forfuturesale.com for the custom value in the shortcode. Neither works. Could this be because instead of point the domain at our server, our client is simply using the A Name to map the domain which would result in different IP addresses? Not too savvy with server configuration.

Thanks

Re: Free Registration Form - Invalid form configuration.

PostPosted: April 21st, 2011, 11:59 am
by Cristián Lávaque
Hmm... It needs to match the value of $_SERVER["HTTP_HOST"].

Why don't run a test with this and see if it matches the custom value in your shortcode?

Code: Select all
<?php echo $_SERVER["HTTP_HOST"]; ?>

Re: Free Registration Form - Invalid form configuration.

PostPosted: April 21st, 2011, 3:36 pm
by w1nk5
It returns 'www.forfuturesale.com'.

Here is my shortcode:
Code: Select all
[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it's Free!" custom="www.forfuturesale.com" tp="0" tt="D" captcha="clean" /]


I am still getting this error: http://www.forfuturesale.com/registration/

If I provide my ftp and WordPress access can somebody take a look at this?

Thanks

Re: Free Registration Form - Invalid form configuration.

PostPosted: April 21st, 2011, 5:06 pm
by Cristián Lávaque
w1nk5 wrote:If I provide my ftp and WordPress access can somebody take a look at this?


Yes, please send Jason an email using the form here http://s2member.com/contact/