The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
thanks page not appearing—solved - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17) +--- Thread: thanks page not appearing—solved (/showthread.php?tid=206) |
thanks page not appearing—solved - xnau - Jul 6th, 2009 I'm a long-time FormTools user, just now trying the new version. My forms were submitting, but the thanks page never happened. I just got blank screen—no error, no error in the PHP log. What I finally found was that the form must be processed by the API before any output because the API is sending a header change. What this means is that all your form processing must happen before your DOCTYPE or anything is output to the browser—what was hanging me up was a space between php tags: Code: ?> Maybe this will save someone some time. RE: thanks page not appearing—solved - Ben - Jul 11th, 2009 Thanks for posting the solution - appreciated! - Ben |