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

Thread: Form submission error

  1. #1
    Join Date
    Aug 2007
    Posts
    17

    Default Form submission error

    Hi,

    I have searched through the forum for my question but there doesn't seem to be an answer to my question.
    I have uploaded formail and tested out my form but it comes up with the following error message:

    An error occurred while processing the form .

    Please contact us (www.pngwebdesign.co.uk) directly since this form is not working .


    What would be some of the reasons why the form is not working?

    thanks

  2. #2
    Join Date
    Apr 2011
    Location
    Melbourne
    Posts
    12

    Smile Re: Form submission error

    Check your field settings on your website.

    Example: Your recipients is incorrect.
    See here for examples: http://www.tectite.com/fmdoc/creating_forms.php

    If you need help, get in contact with me and I'll do it for you.

  3. #3
    Join Date
    Aug 2007
    Posts
    17

    Default Re: Form submission error

    hi,

    I've changed the recipients to @ but I still get the same error message.
    I used the * for the AT_MANGLE feature to hide the email addresses from spambots.

  4. #4
    Join Date
    Apr 2011
    Location
    Melbourne
    Posts
    12

    Default Re: Form submission error

    My Define Mangel looks something like this:
    define("AT_MANGLE","HFYT45");

    My form html looks like this:
    <input type="hidden" name="recipients" value="infoHFYT45domain.com" />

  5. #5
    Join Date
    Aug 2007
    Posts
    17

    Default Re: Form submission error

    thanks for that, I also thought you could also put *, anyway ran a test alert and got an error message in the browser but first:

    a. I set the target email to:
    $TARGET_EMAIL = array(EMAIL_NAME."^gday@pngwebdesign\.co\uk$"
    b. I set def alert to:
    define("DEF_ALERT","gday@pngwebdesign.co.uk")

    c. read through the solving email problems on the website and did the simple test mail scripts stored in the forums, came back also with errors, with the first testmail script I got mail function failed and with testmail2 I got mail function failed with f parameter, I have contacted my hosting provider to ask why the two test scripts weren't working & they have sent me a sample script which I will try out

    thanks again

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

    Default Re: Form submission error

    Should be:

    Code:
    $TARGET_EMAIL = array("^gday@pngwebdesign\.co.\uk$");
    or for ANY email address at that domain ...

    Code:
    $TARGET_EMAIL = array(EMAIL_NAME."@pngwebdesign\.co\.uk$");

  7. #7
    Join Date
    Aug 2007
    Posts
    17

    Default Re: Form submission error

    Quote Originally Posted by ginger23 View Post
    Should be:

    Code:
    $TARGET_EMAIL = array("^gday@pngwebdesign\.co.\uk$");
    or for ANY email address at that domain ...

    Code:
    $TARGET_EMAIL = array(EMAIL_NAME."@pngwebdesign\.co\.uk$");
    I took out EMAIL_NAME from
    Code:
    $TARGET_EMAIL = array("^gday@pngwebdesign\.co.\uk$");
    uploaded it again, did a test alert and got the error message FAILED to send alert message. Check your server error logs which I did & it says [warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored. Probably need to look up the documentation on the f-parameter on the tectite website which I did, set the SEND_F_OPTION to true but still getting above error message, any help appreciated
    thanks
    Last edited by aconite; 13-Apr-2011 at 04:39 PM. Reason: needed to add more on forum

  8. #8
    Join Date
    Aug 2007
    Posts
    17

    Default Re: Form submission error

    Managed to get the test alert to work but now I get the following:

    An error occurred while processing the form .
    The form required some values that you did not seem to provide.
    Your email address
    Your phone number


    I think I need a fresh pair of eyes to help solve the problem, I have looked through previous posts regarding the above error message, tried the solutions but still not working. Have created a folder called fmtemplates to house the plain.txt file, this is what is in the plain.txt file:

    Required fields on form:

    Email: $email
    Your full name: $realname
    Telephone: $telephone

    under $TEMPLATEDIR I did:
    $TEMPLATEDIR = "/home1/photores/public_html/pngwebdesigncouk/fmtemplates"; hope this correct


    Thanks again for any help


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

    Default Re: Form submission error

    Sounds like you've specified those field are required, so I would expect to get that message if the fields are not filled in.

    Are you using an INI file for form configuration, or is everything defined in the form itself? Can you provide a link to the form, or at least post the code here?

    ginger

  10. #10
    Join Date
    Aug 2007
    Posts
    17

    Smile Re: Form submission error

    Forgot to mention that even when I have already filled in the form and submit it, I still get the error messages. Below is my form:

    Code:
    <form method="post" action="http://www.pngwebdesign.co.uk/fm.php" name="form">
    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER" />
     <input type="hidden" name="mail_options" value="PlainTemplate=plain.txt" />
     <input type="hidden" name="required" value="FullName:Your name, email:Your email address, phone:Your phone number">
     <input type="hidden" name="recipients" value="gdayHFYT45pngwebdesign.co.uk" />
     <input type="hidden" name="good_url" value="http://www.pngwebdesign.co.uk/thankyou.html">
                        
                 <ul>
                    <li><label>Full Name*</label><input class="text" type="text" name="FullName"/></li>
                    <li><label>Email*</label><input class="text" type="text" name="Email"/></li>
                    <li><label>Phone No.*</label><input class="text" type="text" name="PhoneNumber"/></li>
                    <li><label>Message</label><textarea class="textarea" name="Message"></textarea></li>
                </ul>
                       <p class="submit"><input type="submit" value="send"></p>               
    </form>  
    the reason I have typed gdayHFYT45pngwebdesign.co.uk under recipients is for spambots.

    thanks
    Last edited by aconite; 19-Apr-2011 at 11:18 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create a price sum for the submission of an order form?
    By bonzovt in forum FormMail Subscription Support
    Replies: 6
    Last Post: 14-Mar-2005, 07:46 PM
  2. Return All Variables To Form Page On Error
    By cornernote in forum FormMail Subscription Support
    Replies: 12
    Last Post: 31-Oct-2004, 09:20 PM
  3. An error occurred while processing the form
    By jloyzaga in forum FormMail Subscription Support
    Replies: 1
    Last Post: 24-Oct-2004, 08:11 AM
  4. limit form submission
    By nexile in forum FormMail Subscription Support
    Replies: 1
    Last Post: 17-Aug-2004, 08:31 PM
  5. Errors after from submission
    By LPac in forum FormMail Subscription Support
    Replies: 1
    Last Post: 18-Feb-2004, 02:23 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
  •