Form Exceptions

Hi All,

I'm checking my logs and finding that I have sporadic exceptions with a form that is housed in a Stack. I'm not really sure what it means. If I submit the form, it always works. So I'm not sure if all the mail is getting through. The exception always lists the user as Guest.

Anyone have any ideas?

Exception Occurred: /home/mydomain/public_html/updates/concrete5.6.1.2_updater/concrete/core/controllers/blocks/form.php:256 Oops, something is wrong with the form you posted (it doesn't have a question set id). (0)

#0 /home/mydomain/public_html/updates/concrete5.6.1.2_updater/concrete/core/models/block.php(411): Concrete5_Controller_Block_Form->action_submit_form()
#1 /home/mydomain/public_html/updates/concrete5.6.1.2_updater/concrete/startup/process.php(297): Concrete5_Model_Block->passThruBlock('submit_form')
#2 /home/mydomain/public_html/updates/concrete5.6.1.2_updater/concrete/dispatcher.php(244): require('/home/mydomain/...')
#3 /home/mydomain/public_html/concrete/startup/updated_core_check.php(6): require('/home/mydomain/...')
#4 /home/mydomain/public_html/concrete/dispatcher.php(20): require('/home/mydomain/...')
#5 /home/mydomain/public_html/index.php(2): require('/home/mydomain/...')
#6 {main}

View Replies:
juddc replied on at Permalink Reply
mlocati replied on at Permalink Reply
I think that's because of some spam-machine trying to post data to your website.
When users submit a form, the browser sends the question set id.
When those spam-machines try to post data, they may not send this question set id, and concrete5 stops signaling that error.
rayjohn66 replied on at Permalink Reply
I get a ton of these, especially on large sites and I think you may be right on the spam. Is there a way to find out what form is being used on this exception?
basalba replied on at Permalink Reply
I get the same exception too!!
Have you Chit-Chat found out what was the problem?

I run concrete5 too and I use the default form block.
mnakalay replied on at Permalink Reply
I have seen this error on pretty much every version of C5 I worked on (legacy)

I don't know about spam but often, If I had automated emails, for instance an email sent after somebody registered, it would appear twice in the log. First the same error message you have and then the message saying the email was sent.

It's like it's sent twice and the first one fails but no idea why.
Gondwana replied on at Permalink Reply
I discovered similar phenomena when trying to write a form add-on: many times, it got posted twice per submit, and I had to include code to detect which post was the one to action. I tried to sort out what was going on by tracing through the c5 source, but failed.
rayjohn66 replied on at Permalink Reply
I'm on later 5.7 I tried to correlate the exception with a form submit but didn't find one, which makes sense I guess because the exception was a failed form from someone who is up to no good. If I come up with anything I'll reply again. Thanks for your interest.