Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Probelm with fmbadhandler $return_link

  1. #1
    Join Date
    Aug 2008
    Posts
    4

    Default Probelm with fmbadhandler $return_link

    Firstly let me thank the developers of Formmail and the fmbadhandler for some excellent software. The email generation and the redirect to a success page work perfectly.

    I have implemented this on my website but I am getting an error when I try to use the return to form link when the form is not filled in correctly..

    The error I receive is:-

    Cannot open form URL: http://www.mitchellyachting.com/form...6a1f799e7cc9&: Failed: 404 Not Found

    My site is configured so that formmail.php which is named ttfp.php, fmbadhandle.php form.htm are all in a directory called forms. The success.htm and failure.htm files are in a sub directory called /forms/templates

    I have the following configuration in form.htm:-

    <input type="hidden" name="bad_template" value="failure.htm" />

    <input type="hidden" name="bad_url" value="http://www.mitchellyachting.com/forms/fmbadhandler.php" />

    <input type="hidden" name="this_form" value="http://www.mitchellyachting.com/forms/form.htm" />


    In fmbadhandler.php I have the following configs:-

    $TARGET_URLS = array("http://www.mitchellyachting.com/");
    $TEMPLATEDIR = "";
    $TEMPLATEURL = $SCHEME.$SERVER."/forms/templates";

    I have searched the forums and the documentation but I don't seem to be able to find what I am doing wrong.

    Can someone help please.

    Thanks,

    Craig M

  2. #2
    Join Date
    Aug 2008
    Posts
    4

    Default Re: Probelm with fmbadhandler $return_link

    Looks liek the thread software rtruncated the error message I was trying to post. Here it is again:-

    Cannot open form URL: http://www.mitchellyachting.com/forms/form.htm?
    USER_AGENT=Mozilla%2F4.0+%28compatible%3B+MSIE+7.0%3B+
    Windows+NT+5.1%3B+.NET+CLR+1.1.4322%3B+.NET+
    CLR+2.0.50727%29&sessid=304faebe6b2a562b1fef6a1f799e7cc9&:
    Failed: 404 Not Found

  3. #3
    Join Date
    Jul 2007
    Posts
    37

    Default Re: Probelm with fmbadhandler $return_link

    Hello, I am getting a similar error. I'm not sure what is causing it. I just upgraded my server's PHP version to 5.2.4 from 4.4.4 and now the return links aren't working on some of my sites forms (the httpS ones - SSL certs).

    I know that the OpenSSL was installed on a different directory from default due to a cPanel bug but i'm not sure if that is related to this problem.

    Here is my error on SSL forms:
    Cannot open form URL: https://www.myDomain.com
    /CreditApplication.htm?USER_AGENT=Mozilla%2F5.0+%28Windows%3B+U
    %3B+Windows+NT+6.0%3B+en-US%3B+rv%3A1.9.0.1%29+Gecko%2F2008070208
    +Firefox%2F3.0.1&sessid=05a7eb711c55cba52958835003b31659&:

    I don't get the 404 error at the end like you do though.

  4. #4
    Join Date
    May 2008
    Posts
    1,291

    Default Re: Probelm with fmbadhandler $return_link

    Hi,

    Mitchellyachting's problem is caused because he has the wrong file extension (.htm instead of .html). The form is called "form.html", but the value in "this_form" is "value.htm".

    ginger

  5. #5
    Join Date
    Aug 2008
    Posts
    4

    Default Re: Probelm with fmbadhandler $return_link

    Hi Ginger23,

    Thanks for that. This was a stupid mistake that cost me two days of work.

    The return to the form now works BUT now I have a new problem in that the fields that have been filled in are cleared of information when I select to go back to the form.

    Any thoughts or hints?

    Thanks,

    Mitchellyachting

  6. #6
    Join Date
    May 2008
    Posts
    1,291

    Default Re: Probelm with fmbadhandler $return_link

    Hi,

    It looks like it is maintaining all of the fields except realname and email. You can find the solution for that by viewing this thread:

    http://www.tectite.com/vbforums/showthread.php?t=2869

    ginger

  7. #7
    Join Date
    Jul 2007
    Posts
    37

    Default Re: Probelm with fmbadhandler $return_link

    Unfortunately i don't have the same problem. My forms were all working before i upgraded php to 5 from 4.

    Should i hijack this thread or build another?

  8. #8
    Join Date
    May 2008
    Posts
    1,291

    Default Re: Probelm with fmbadhandler $return_link

    Hi,

    You really should start a new thread for your issue. It's totally different from Craig's error.

    I really can't help you on this other than to ask if you're getting any error emails. The only other thing I can think to try is to rerun the test alert (using https) and see what it shows that might be different than what you currently have in the script.

    ginger

  9. #9
    Join Date
    Aug 2008
    Posts
    4

    Default Re: Probelm with fmbadhandler $return_link

    Hi Ginger23,

    I just wanted to say thank you for your help. It all works well now. I just need to work out the style of my submit button and I am done.

    So thanks again.

    Craig

  10. #10
    Join Date
    May 2008
    Posts
    1,291

    Default Re: Probelm with fmbadhandler $return_link

    You're welcome. Glad it's all working now.

    ginger

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem using return_link...
    By mjdublah in forum Community Support
    Replies: 1
    Last Post: 25-May-2006, 12:18 PM
  2. Problem with $return_link
    By dynamo in forum Community Support
    Replies: 1
    Last Post: 09-Mar-2006, 10:57 AM
  3. $return_link
    By dynamo in forum FormMail Subscription Support
    Replies: 2
    Last Post: 09-Mar-2006, 09:45 AM
  4. "<return_link/>" not parsed
    By johnny in forum FormMail Subscription Support
    Replies: 4
    Last Post: 19-Jun-2005, 02:30 AM
  5. Problem with return_link
    By antix in forum FormMail Subscription Support
    Replies: 9
    Last Post: 13-Sep-2004, 09:25 AM

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
  •