Hi,
I’m having a few problems with the eForm snippet. Every time a form is submitted I’m getting an Internal Server Error 500. Funny thing is, the report email is sent fine, just can’t get to a "thank you" page after the form is sent. Here is the error log:
[Tue Jan 11 10:23:07 2011] [error] [client 80.175.159.225] malformed header from script. Bad header=/home/sites/annuitiesadvice.co: index.php, referer:
http://www.annuitiesadvice.co.uk/
Here’s my form chunk:
<form method="post" action="[~[*id*]~]" name="contactform" onSubmit="javascript:populateHiddenFields(this);" id="rc_form">
(I’ve also tried just setting the form action to a static page where the form chunk is included, such as about-us.html).
Here’s the snippet call:
[!eForm? &formid=`rc_form` &to=`
[email protected],
[email protected],
[email protected]` &subject=`Quick Annuity Quote Submitted ` &tpl=`rc_form` &report=`rc_form_report` &gotoid=`55` &eFormOnBeforeFormMerge=`ref` &eFormOnBeforeMailSent=`form_user_ok`!]
MODx 1.02
Any idea what could cause this?