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.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
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
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.
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.
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" />
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
Should be:
or for ANY email address at that domain ...Code:$TARGET_EMAIL = array("^gday@pngwebdesign\.co.\uk$");
Code:$TARGET_EMAIL = array(EMAIL_NAME."@pngwebdesign\.co\.uk$");
I took out EMAIL_NAME from
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 appreciatedCode:$TARGET_EMAIL = array("^gday@pngwebdesign\.co.\uk$");
thanks
Last edited by aconite; 13-Apr-2011 at 05:39 PM. Reason: needed to add more on forum
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
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
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:
the reason I have typed gdayHFYT45pngwebdesign.co.uk under recipients is for spambots.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>
thanks
Last edited by aconite; 19-Apr-2011 at 12:18 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks