Jul 31st, 2011, 9:43 AM
Hi jjohnson,
Welcome to the forums!
Any time I get errors when setting up a form with the API, I always manually enter the URL of my "thankyou" page in the browser. Sessions are - frankly - a total pain in the butt at times. They cache stuff behind the scenes and it's not always obvious what has been cached and what hasn't. This can lead to the error you're experiencing.
So by going to your thankyou page (which has the ft_api_clear_form_sessions() function at the top), it will ensure that when you return to your form again the sessions have cleared out and that any weird errors like this are in fact genuine, and not related to old sessions.
Alternatively, you could temporarily switch to another browser to see if the error occurs there as well. That's another way to check.
Let me know if this helps or not and we'll go from there!
- Ben
Welcome to the forums!
Any time I get errors when setting up a form with the API, I always manually enter the URL of my "thankyou" page in the browser. Sessions are - frankly - a total pain in the butt at times. They cache stuff behind the scenes and it's not always obvious what has been cached and what hasn't. This can lead to the error you're experiencing.
So by going to your thankyou page (which has the ft_api_clear_form_sessions() function at the top), it will ensure that when you return to your form again the sessions have cleared out and that any weird errors like this are in fact genuine, and not related to old sessions.
Alternatively, you could temporarily switch to another browser to see if the error occurs there as well. That's another way to check.
Let me know if this helps or not and we'll go from there!
- Ben