Sep 20th, 2010, 9:41 AM
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
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