rbspro has asked for the wisdom of the Perl Monks concerning the following question:
Hi There,
I Have this script whish should send info to me via email with the edited fields fulled in by the user, they should then get a email confirming this. But getting errors when uploaded to server the dreaded 500 Internal Server Error. When I look at this script in detail the errors seem to be coming from the 3rd line.
$mail_prog = '/usr/sbin/sendmail' -froot@willettsbutchers.co.uk; Warning: Content-Type header not found in the script output. Array found where operator expected at willettsform.cgi line 3, at end + of line Unquoted string "co" may clash with future reserved word at willettsfo +rm.cgi line 3. Unquoted string "uk" may clash with future reserved word at willettsfo +rm.cgi line 3. syntax error at willettsform.cgi line 3, near "froot@willettsbutchers" Execution of willettsform.cgi aborted due to compilation errors
Please can you help as I know nothing about scripting and have not got a clue what this means.
rbspro
Retitled by davido from 'snytax errors'.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Tracking down the source of '500 server' errors
by dragonchild (Archbishop) on Feb 21, 2005 at 15:27 UTC | |
by rbspro (Initiate) on Feb 21, 2005 at 18:44 UTC | |
|
Re: Tracking down the source of '500 server' errors
by gellyfish (Monsignor) on Feb 21, 2005 at 15:31 UTC | |
by rbspro (Initiate) on Feb 21, 2005 at 18:46 UTC | |
|
Re: Tracking down the source of '500 server' errors
by chas (Priest) on Feb 21, 2005 at 15:50 UTC |