PDA

View Full Version : Error messages


buddy
10-30-2000, 03:38 PM
What does this error message "premature end of script" mean? I've installed a formmail script from Matt's archive and I thought I did everything right but the script does not work on the server I installed it on. I checked the permissions and the server send mail location but it still does not work. I am confused! Any help will be greatly appreciated.

kevin
10-31-2000, 05:51 AM
The error message means the script is ending when it shouldn't (premature ending). If you have the file permissions set correctly and the paths to PERL and sendmail are correct, and you are using a UNIX or LINUX server, I don't know why the script is bombing out. Start over using the simplest form you can, with just an email address and some comments. Use only default settings in the rest of the script and see if it runs. If it does run, add one more field to the form and test again. If it doesn't run, using only the simplest of forms, and all criteria is met to run the script.... maybe your server is/was experiencing technical problems?

Regards,
Kevin