View Full Version : Error mail
nancyk
25-Sep-2006, 07:10 AM
The form I have made works perfect, but I have set required fields in it. If a field is not filled in you go to an errorpage. That works fine. The only problem I have is that I've got an error mail when someone not filled in all fields correctly. I don't want to get that mail. I just want to recieve the correct filled in forms. How can I solve this?
(sorry for my bad english):o
russellr
25-Sep-2006, 07:18 AM
Hi,
It's the ALERT_ON_USER_ERROR setting in FormMail's configuration section.
Change:
define("ALERT_ON_USER_ERROR",true);
to
define("ALERT_ON_USER_ERROR",false);
nancyk
25-Sep-2006, 07:50 AM
:confused: When I do that the following error appears:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in E:\webhosting\rietcons\home\formmail3\formmail3.php on line 8206
crabtree
25-Sep-2006, 10:37 AM
you've made a typographical error
you've damaged the PHP code
start again with a fresh copy if you can't figure out what you've done wrong.
david_de
25-Sep-2006, 02:41 PM
Do not use Dreamweaver to upload (Put) the files to the server. Use an FTP program. DW has a habit of changing some code thinking it is wrong. This will cause a parse error.
This was an error a friend had "You had a parse error on line 8081:
( '''''''// <A NAME="PatternInfo">)"
Notice the ''''''' before the comment added by DW thus causing a parse error. This is in the same area as your error. DW added one more ' every time he uploaded it.
Powered by vBulletin® Version 4.1.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.