Results 1 to 7 of 7

Thread: $return_link doesn't contain the full URL to fmbadhandler

  1. #1
    Join Date
    Feb 2014
    Posts
    4

    Default $return_link doesn't contain the full URL to fmbadhandler

    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:
    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
    The domain name is missing.
    How could I set this URL?

    Thanks!

  2. #2
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: $return_link doesn't contain the full URL to fmbadhandler

    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/

  3. #3
    Join Date
    Feb 2014
    Posts
    4

    Default Re: $return_link doesn't contain the full URL to fmbadhandler

    Hi, thanks for your reply
    I've set the PUT_DATA_IN_URL to false, this abbreviates the $return_link to:
    Code:
    templates/HB-home/forms/fmbadhandler.php?bad_state=1&insession=1&vuyk=9b0675dc3edc5fdb1508e863ede6cabb
    However, the domainname still is not prepended and the browser gives "server not found" when clicking on the $return_link.
    Is there a setting that manages the format of $return_link?

  4. #4
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: $return_link doesn't contain the full URL to fmbadhandler

    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/

  5. #5
    Join Date
    Feb 2014
    Posts
    4

    Default Re: $return_link doesn't contain the full URL to fmbadhandler

    Hi,
    No, in my form I have the hidden field
    Code:
      <input name="this_form" type="hidden"  value="http://hb.vuyk.eu/nl/contact-met-uw-tuinman-hovenier-uit-drenthe/contactformulier/"  />
    That should work I think.
    Is there no other setting that manages the format of $return_link?

  6. #6
    Join Date
    Dec 2003
    Posts
    3,980

    Default Re: $return_link doesn't contain the full URL to fmbadhandler

    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/

  7. #7
    Join Date
    Feb 2014
    Posts
    4

    Default Re: $return_link doesn't contain the full URL to fmbadhandler

    Hi,

    This is the setting:
    Code:
    <input name="bad_url" type="hidden" value="http://hb.vuyk.eu/templates/HB-home/forms/fmbadhandler.php" >
    I got the $return_link working by hardcoding the URL of fmbadhandler in fmbadhandler.php line 1162
    and replaced
    Code:
    $s_url = $sThisScript.($b_quest ? "&" : "?")."bad_state=1&$sQueryString";
    by
    Code:
    $s_url = "templates/HB-home/forms/fmbadhandler.php?bad_state=1&$sQueryString";
    however, this is a bit dirty and might break other things?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Probelm with fmbadhandler $return_link
    By mitchellyachting in forum Community Support
    Replies: 10
    Last Post: 26-Aug-2008, 04:33 AM
  2. $return_link doesn't work, but everything else does.
    By amhoffmaster in forum Community Support
    Replies: 7
    Last Post: 07-Jul-2008, 01:54 PM
  3. fmbadhandler doesn't retain name and email info
    By Jeremy in forum Community Support
    Replies: 8
    Last Post: 14-May-2008, 07:51 PM
  4. $return_link works, but HTML form page doesn't fully load
    By Jeremy in forum Community Support
    Replies: 8
    Last Post: 12-May-2008, 01:59 PM
  5. No return_link in fmbadhandler
    By racsw in forum Community Support
    Replies: 4
    Last Post: 24-Jul-2007, 09:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •