The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Errors using Submission Pre-Parser for Simple Spam Protection - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16) +--- Thread: Errors using Submission Pre-Parser for Simple Spam Protection (/showthread.php?tid=854) |
Errors using Submission Pre-Parser for Simple Spam Protection - Big Al - Sep 20th, 2010 I wasent able to find anything on this subject in the Forums, but if Im missing it, please point me in the right direction. Im trying to implement "Simple Spam Protection" using the Submission Pre-Parser. It sorta works. When a submission is made normally, all works as it should. But when the hidden field is filled, ass I get it this: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/triad/public_html/formtools/global/code/submissions.php on line 516 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/triad/public_html/formtools/global/code/submissions.php on line 516 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/triad/public_html/formtools/global/code/submissions.php on line 516 Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/triad/public_html/formtools/global/code/submissions.php on line 516 Warning: Cannot modify header information - headers already sent by (output started at /home/triad/public_html/formtools/global/code/submissions.php:516) in /home/triad/public_html/formtools/process.php on line 284 So, line 516 is: $submission = mysql_fetch_assoc($submission_info); which I did not change. What am I missing here? Thanks in advance for your help. AL RE: Errors using Submission Pre-Parser for Simple Spam Protection - Ben - Sep 25th, 2010 Hi Al, Huh! I'll look at this today, see if I can reproduce it & get back to you. - Ben RE: Errors using Submission Pre-Parser for Simple Spam Protection - Big Al - Oct 14th, 2010 Any luck Ben? RE: Errors using Submission Pre-Parser for Simple Spam Protection - thepeel - Jun 29th, 2011 Was there ever a resolution to this? I'm currently in a similar situation. The spam detection works and everything goes through as expected without any mysql/php errors, however, the email is still sent. How can I get it to keep from sending the email on submission? Thanks, -peel RE: Errors using Submission Pre-Parser for Simple Spam Protection - Ben - Jul 1st, 2011 Hi Peel, You're right! This is a bug. I'll include a fix for this in 2.1.0, but I won't make a separate patch release for this. Do you have a POST form, or an API form (or both)? - Ben |