Errors Output
- error compiling mailer.asp: Can't modify constant item in scalar assignment at /home/eric/public_html/support/mailer.asp line 3, near ")
if"
syntax error at /home/eric/public_html/support/mailer.asp line 3, near "<>"
syntax error at /home/eric/public_html/support/mailer.asp line 8, near "1 Then"
syntax error at /home/eric/public_html/support/mailer.asp line 78, near "if
if"
(Might be a runaway multi-line '' string starting on line 8)
syntax error at /home/eric/public_html/support/mailer.asp line 81, near "'fromemail=request.form("fromaddy")
'toemail"
syntax error at /home/eric/public_html/support/mailer.asp line 95, at EOF
(Might be a runaway multi-line '' string starting on line 93)
syntax error at /home/eric/public_html/support/mailer.asp line 96, at EOF
(Might be a runaway multi-line '' string starting on line 95)
, /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 1468
Debug Output
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 3, near """ Then"
- (Missing operator before Then?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 3, near ") Else"
- (Missing operator before Else?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 8, near "1 Then"
(Might be a runaway multi-line '' string starting on line 3)
- (Missing operator before Then?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 78, near "2 Then"
- (Missing operator before Then?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 81, near "'fromemail=request.form("fromaddy")
'toemail"
(Might be a runaway multi-line '' string starting on line 80)
- (Missing operator before toemail?)
- String found where operator expected at /home/eric/public_html/support/mailer.asp line 83, near ""eric@netline.be"
'subject=request.form("subline")
'"
(Might be a runaway multi-line '' string starting on line 82)
- (Missing operator before
'subject=request.form("subline")
'?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 83, near "'subject=request.form("subline")
'body"
- (Missing operator before body?)
- String found where operator expected at /home/eric/public_html/support/mailer.asp line 85, near ")
'For i=1 To request.form.count
'"
(Might be a runaway multi-line '' string starting on line 84)
- (Missing operator before 'For i=1 To request.form.count
'?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 85, near "'For i=1 To request.form.count
' strMessage"
- (Missing operator before strMessage?)
- String found where operator expected at /home/eric/public_html/support/mailer.asp line 88, near "vbCrLf
'Next
'"
(Might be a runaway multi-line '' string starting on line 86)
- (Do you need to predeclare vbCrLf?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 88, near "'Next
'Dim"
- (Missing operator before Dim?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 90, near "'Set objMail = CreateObject("CDONTS.NewMail")
'objMail"
(Might be a runaway multi-line '' string starting on line 89)
- (Missing operator before objMail?)
- String found where operator expected at /home/eric/public_html/support/mailer.asp line 92, near "strMessage
'if err Then
'"
(Might be a runaway multi-line '' string starting on line 91)
- (Do you need to predeclare strMessage?)
- Bareword found where operator expected at /home/eric/public_html/support/mailer.asp line 92, near "'if err Then
'response"
- (Missing operator before response?)
- error compiling mailer.asp: Can't modify constant item in scalar assignment at /home/eric/public_html/support/mailer.asp line 3, near ")
if"
syntax error at /home/eric/public_html/support/mailer.asp line 3, near "<>"
syntax error at /home/eric/public_html/support/mailer.asp line 8, near "1 Then"
syntax error at /home/eric/public_html/support/mailer.asp line 78, near "if
if"
(Might be a runaway multi-line '' string starting on line 8)
syntax error at /home/eric/public_html/support/mailer.asp line 81, near "'fromemail=request.form("fromaddy")
'toemail"
syntax error at /home/eric/public_html/support/mailer.asp line 95, at EOF
(Might be a runaway multi-line '' string starting on line 93)
syntax error at /home/eric/public_html/support/mailer.asp line 96, at EOF
(Might be a runaway multi-line '' string starting on line 95)
, /usr/lib/perl5/site_perl/5.8.8/Apache/ASP.pm line 1468
Compiled Data with Error
-: package Apache::ASP::Compiles::__ASP__tmp_aspx; ;; sub Apache::ASP::Compiles::__ASP__tmp_aspx::__ASP_eric_public_html_support_mailer_aspx67f407074de0d7b01cf024b5cfe4169fxINC { ;; package Apache::ASP::Compiles::__ASP__tmp_aspx; ;; no strict;;use vars qw($Application $Session $Response $Server $Request);;
-: #line 1 /home/eric/public_html/support/mailer.asp
1: ;; ; ; &Apache::ASP::WriteRef($main::Response, \('
2: '));Script_Name = Request.ServerVariables("SCRIPT_NAME")
3: if Request("Page") <> "" Then Page = Request("Page") Else Page = 1; &Apache::ASP::WriteRef($main::Response, \('
4: <HTML><HEAD>
5: <TITLE>Send Form By Mail Netline v.3.0</TITLE>
6: </HEAD><BODY>
7: <div align=center>
8: '));If Page = 1 Then; &Apache::ASP::WriteRef($main::Response, \('
9: <FORM name="request" action="" method="POST">
10: <TABLE border="1" cellpadding="4" cellspacing="4" style="border-collapse: collapse" bordercolor="#111111" width="300" bgcolor="#006699">
11: <TR>
12: <TD width="100%">
13:
14: <DIV align="center">
15: <CENTER>
16: <TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111">
17: <TR>
18: <TD width="50%"><B><FONT face="Verdana" size="1" color="#FFFFFF">Send
19: From:</FONT></B></TD>
20: <TD width="50%"><B><FONT face="Verdana" size="1" color="#FFFFFF">Send
21: To:</FONT></B></TD>
22: </TR>
23: <TR>
24: <TD width="50%"> <FONT size="1" color="#FFFFFF">
25: <INPUT type="text" size="18" name="x" style="font-family: Verdana; font-size:8pt">
26: </FONT></TD>
27: <TD width="50%"> <FONT size="1" color="#FFFFFF">
28: <INPUT type="text" size="18" name="x" style="font-family: Verdana; font-size:8pt">
29: </FONT></TD>
30: </TR>
31: <TR>
32: <TD width="100%" colspan="2"> <B><FONT size="1" face="Verdana"><FONT color="#FFFFFF">Subject
33: Line:</FONT><BR>
34: </FONT></B> <FONT size="1" color="#FFFFFF">
35: <INPUT type="text" size="40" name="subline" style="font-family: Verdana; font-size:8pt">
36: </FONT></TD>
37: </TR>
38: <TR>
39: <TD width="100%" colspan="2"><B> <FONT size="1" face="Verdana" color="#FFFFFF">Comments:</FONT></B></TD>
40: </TR>
41: <TR>
42: <TD width="100%" colspan="2"> <FONT size="1">
43: <TEXTAREA rows="5" cols="38" name="comments" style="font-family: Verdana; font-size:8pt"></TEXTAREA>
44: </FONT></TD>
45: </TR>
46: <TR>
47: <TD width="100%" colspan="2"> </TD>
48: </TR>
49: <TR>
50: <TD width="100%" colspan="2"><font face="Verdana, Arial, Helvetica, sans-serif" size="-1" color="#FFFFFF">Champ
51: 1
52: <input type="text" name="textfield">
53: </font></TD>
54: </TR>
55: <TR>
56: <TD width="100%" colspan="2"><font color="#FFFFFF">Champ 2
57: <input type="text" name="textfield2">
58: </font></TD>
59: </TR>
60: <TR>
61: <TD width="100%" colspan="2"> </TD>
62: </TR>
63: <TR>
64: <TD width="100%" colspan="2">
65: <P align="center"><FONT face="Verdana" size="1"> <BR>
66: <INPUT type="submit" value="Envoyer" name="B1">
67: <INPUT type="reset" value="Reset" name="B2">
68: </FONT>
69: </TD>
70: </TR>
71: </TABLE>
72: </CENTER>
73: </DIV>
74: </TR>
75: </TABLE>
76: </FORM>
77: '));End if
78: if Page = 2 Then; &Apache::ASP::WriteRef($main::Response, \('
79: '));
80: 'fromemail=request.form("fromaddy")
81: 'toemail= "eric@netline.be"
82: 'subject=request.form("subline")
83: 'body=request.form("comments")
84: 'For i=1 To request.form.count
85: ' strMessage = strMessage & request.form.key(i) & ": " & request.form.item(i) & vbCrLf
86: 'Next
87:
88: 'Dim objMail
89: 'Set objMail = CreateObject("CDONTS.NewMail")
90: 'objMail.Send fromemail,toemail,subject,strMessage
91: 'if err Then
92: 'response.Write err.Description
93: Else; &Apache::ASP::WriteRef($main::Response, \('
94: <B><FONT face="Verdana" size="2">Disabled because of spam</FONT></B>
95: '));End if; &Apache::ASP::WriteRef($main::Response, \('
96: '));End if; &Apache::ASP::WriteRef($main::Response, \('
97: </div>
98: </BODY></HTML>')); ;; }
An error has occured with the Apache::ASP script just run.
If you are the developer working on this script, and cannot work
through this problem, please try researching it at the
Apache::ASP web site,
specifically the FAQ section.
Failing that, check out your
support options, and
if necessary include this debug output with any query.