+ Reply to Thread
Results 1 to 6 of 6

Thread: OMG, i'm going insane. please help...Script error

  1. #1
    Join Date
    Mar 2011
    Posts
    1

    Default OMG, i'm going insane. please help...Script error

    ok. So for the last two days i've been working on trying to get this form up and running and i've had nothing but dissapointment.

    Finally, I said ok fine. i'll use the sample form and a fresh copy of the php file and get that one working....problem is i cant even get that one to work.

    After submitting the form, i get this error on the website:

    "An error occurred while processing the form .

    The staff at *****.com have been alerted to the error .
    *******.com apologizes for any inconvenience this error may have caused. "

    Then i get the email :

    Subject : Script error

    "
    The following error occurred in FormMail :
    no_valid_recipients
    **********
    Error=The form has an internal error - no valid recipients were specified.


    email: james@*****.com
    realname: james

    FullName: 'james'
    EmailAddr: 'james@*******.com'
    contact: 'Y'
    vehicles: 'Truck'
    mesg: ''
    Referring page was http://www.**********.com/test/sampleform.htm
    SERVER_NAME was *********.com
    REQUEST_URI was /test/formmail.php

    User IP address was **.**.**.***
    User agent was Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; BRI/2) "

    This was the same error i was getting when i tried using my form. Now I am also getting it when i use the sample form as well.

    The only thing i changed on the sampleform.htm was:

    form method="post" action="http://******.com/test/formmail.php" name="SampleForm">
    and
    <input type="hidden" name="recipients" value="james@****.com" />

    and on the php file, i only changed the

    $TARGET_EMAIL = array(EMAIL_NAME."james@*********\.com$");
    and
    define("DEF_ALERT","james@*******.com");

    Can someone please help me before i go insane?

    Thank you so much

  2. #2
    Join Date
    May 2008
    Posts
    1,274

    Default Re: OMG, i'm going insane. please help...Script error

    Hi,

    Quote Originally Posted by jmorse00 View Post
    no valid recipients were specified.
    . . .
    and on the php file, i only changed the

    $TARGET_EMAIL = array(EMAIL_NAME.james@*********\.com$);
    That error message means there's a problem with $TARGET_EMAIL. Since you only want one specific email address to be allowed, it should be:

    Code:
    $TARGET_EMAIL = array("^james@*******\.com$");
    This is clearly defined on the Tectite website: http://www.tectite.com/fmdoc/target_email.php

    . . . as well as numerous posts about this in the forum if you do a search for that error message.

    The search feature is your friend.

    ginger

  3. #3
    Join Date
    Apr 2011
    Location
    California Sierra Nevada
    Posts
    6

    Default Re: OMG, i'm going insane. please help...Script error

    made exactly the same change as suggested by ginger for james:

    $TARGET_EMAIL = array("^james@*******\.com$");
    but with my email address of course - and also have a "hidden" input element in my form as suggested in documentation - formmail passes through to 'success notification' page as it should - but STILL no email notifications.

  4. #4
    Join Date
    Mar 2011
    Posts
    8

    Default Re: OMG, i'm going insane. please help...Script error

    Quote Originally Posted by ibnelson View Post
    - but STILL no email notifications.
    Any Luck with this yet?

  5. #5
    Join Date
    May 2008
    Posts
    1,274

    Default Re: OMG, i'm going insane. please help...Script error

    If you're receiving the success page but no email, check out the email troubleshooting guide:

    http://www.tectite.com/vbforums/faq....formmail_email


  6. #6
    Join Date
    Apr 2011
    Location
    California Sierra Nevada
    Posts
    6

    Default Re: OMG, i'm going insane. please help...Script error

    to WilliamJames;

    followed gingers suggestion - went to help at:
    http://www.tectite.com/vbforums/faq....formmail_email

    am now getting all form submissions (properly formatted as expected) but all arrive in spam folder. But at least they are arriving. Have been told it is a DNS problem which is fixable

    The more difficult part was writing in a link to our site page containing link to paying for desired membership - took a while to find the code in formmail. Found createPage() function at lines 6515 where I was able to write in code for a link to appear on formmail 'success page' for clients to get to our "correct page". That page is 'invisible' to users unless they fill form out first

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Script Works, Email Contains No Information
    By JakeForest in forum FormMail Subscription Support
    Replies: 10
    Last Post: 28-Dec-2005, 11:51 PM
  2. Thanks for the great script, but I am having issues...
    By darknightjedi in forum FormMail Subscription Support
    Replies: 12
    Last Post: 26-Aug-2004, 09:08 PM
  3. FormMail Script Error Message
    By rose in forum FormMail Subscription Support
    Replies: 2
    Last Post: 27-Jun-2004, 05:59 AM
  4. DEF_ALERT setup in script - Don't understand
    By jodmcc in forum FormMail Subscription Support
    Replies: 2
    Last Post: 17-Jun-2004, 08:02 AM
  5. Great script but.....
    By Remosz in forum FormMail Subscription Support
    Replies: 3
    Last Post: 23-Mar-2004, 11:47 PM

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