Hi,
In the FormMail configuration section, set PUT_DATA_IN_URL to false: http://www.tectite.com/fmdoc/put_data_in_url.php
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Hi,
When not all required fields are filled in, fmbadhandler handles this.
But in the $return_link the path to fmbadhandler is only partially set.
This is the $return_link:The domain name is missing.Code:http://templates/HB-home/forms/fmbadhandler.php?bad_state=1&this_form=http%3A%2F%2Fhb.vuyk.eu%2Fnl%2Fcontact-met-uw-tuinman-hovenier-uit-drenthe%2Fcontactformulier%2F&bad_template=http%3A%2F%2Fhb.vuyk.eu%2Fnl%2Fonvolledige-contactaanvraag%2F&error=Sommige+ingevulde+waarden+waren+niet+in+orde+en+de+site+gaf+deze+melding%3A+&extra=vul+het+e-mail+adres+juist+in+a.u.b.%0Avul+uw+bericht+in+a.u.b.%0A&errcode=&isusererror=1&alerted=0&erroritem1=vul+het+e-mail+adres+juist+in+a.u.b.&erroritem2=vul+uw+bericht+in+a.u.b.&zend_naam=Arno+Vuyk&zend_adres=&zend_postcode=&zend_plaats=&zend_telefoon=&zend_email=&zend_bericht=&zend_zend=verzend&vuyk=9b0675dc3edc5fdb1508e863ede6cabb
How could I set this URL?
Thanks!
Hi,
In the FormMail configuration section, set PUT_DATA_IN_URL to false: http://www.tectite.com/fmdoc/put_data_in_url.php
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Hi, thanks for your reply
I've set the PUT_DATA_IN_URL to false, this abbreviates the $return_link to:
However, the domainname still is not prepended and the browser gives "server not found" when clicking on the $return_link.Code:templates/HB-home/forms/fmbadhandler.php?bad_state=1&insession=1&vuyk=9b0675dc3edc5fdb1508e863ede6cabb
Is there a setting that manages the format of $return_link?
Hi,
You probably haven't set the "this_form" field.
Make sure you follow the HOW TO guide: http://www.tectite.com/fmhowto/adverror.php
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Hi,
No, in my form I have the hidden field
That should work I think.Code:<input name="this_form" type="hidden" value="http://hb.vuyk.eu/nl/contact-met-uw-tuinman-hovenier-uit-drenthe/contactformulier/" />
Is there no other setting that manages the format of $return_link?
Hi,
Make sure you use a full URL to fmbadhandler in the "bad_url" field.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Hi,
This is the setting:
I got the $return_link working by hardcoding the URL of fmbadhandler in fmbadhandler.php line 1162Code:<input name="bad_url" type="hidden" value="http://hb.vuyk.eu/templates/HB-home/forms/fmbadhandler.php" >
and replacedbyCode:$s_url = $sThisScript.($b_quest ? "&" : "?")."bad_state=1&$sQueryString";however, this is a bit dirty and might break other things?Code:$s_url = "templates/HB-home/forms/fmbadhandler.php?bad_state=1&$sQueryString";
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks