Author |
Topic |
|
crazee
Starting Member
30 Posts |
Posted - 23 October 2003 : 20:11:14
|
hello. I have installed the calender mod and everything looks ok except i get this error when I click on "GO" to add and event.
Microsoft VBScript compilation error '800a0400'
Expected statement
/forum/post.asp, line 783
" <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"edit")) & """ size=""40""></td>" & vbNewLine & _ ^ Any help is appreciated. |
I am always learning... |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 23 October 2003 : 21:17:00
|
You did something wrong with the code. post a few lines that show before and after the line you posted above. My initial guess is that you either need to add a &_ before the line above or remove the &_ at the end of the line above. This is purely guessing though, we need to see more lines of the code. |
|
|
|
crazee
Starting Member
30 Posts |
Posted - 23 October 2003 : 22:00:17
|
Response.Write " <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"edit")) & """ size=""40""></td>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Subject:</b></font></td>" & vbNewLine " <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"edit")) & """ size=""40""></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " <script language=""JavaScript"" type=""text/javascript"">document.PostTopic.Subject.focus();</script>" & vbNewLine if Request.QueryString("event")="1" or isevent="1" then if dateHolder = "" then if Request.QueryString("date") <> "" then dateHolder=CDate(Request.QueryString("date")) else dateHolder=DateValue(strForumTimeAdjust) end if end if dateHolder = FormatDateTime(dateHolder,vbshortDate) Response.Write " <tr>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & strCalEventDate & "</b></font></td>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""event_Date"" value=""" & dateHolder & """ size=""40""></td>" & vbNewLine & _ " </tr>" & vbNewLine end if |
I am always learning... |
|
|
crazee
Starting Member
30 Posts |
Posted - 23 October 2003 : 22:07:28
|
i highlighted the wrong text. but i did add some "& _" and i am no longer receiving the VBScript error. I now have a "HTTP 500 internal server error" any more hints? |
I am always learning... |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 23 October 2003 : 22:24:07
|
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Subject:</b></font></td>" & vbNewLine &_ " <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"edit")) & """ size=""40""></td>" & vbNewLine & _
|
|
|
|
crazee
Starting Member
30 Posts |
Posted - 23 October 2003 : 22:31:13
|
yes I have done that, but like i said before, I get the "HTTP 500 internal server error" now. If anyone has/had the same problem please post if you got the solution |
I am always learning... |
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 23 October 2003 : 22:38:29
|
post your entire script in a text file. this is not a common problem, you typo'd something or did not set it up correctly. |
|
|
|
Nikkol
Forum Moderator
USA
6907 Posts |
|
crazee
Starting Member
30 Posts |
Posted - 24 October 2003 : 14:19:08
|
I went back over the file and I forgot to delete some script however, it still did not work. I will reinstall the MOD and see if I get the errors again. TY for helping. If you do see a fix from the txt file I have provided, then any help you provide will be appreciated! |
I am always learning... |
|
|
crazee
Starting Member
30 Posts |
Posted - 25 October 2003 : 00:10:36
|
I reinstalled it and it works fine now. ty If you would like to see the finished product go to http://www.fno.graphicwebs.com/forum/forum.asp |
I am always learning... |
Edited by - crazee on 25 October 2003 00:13:03 |
|
|
|
Topic |
|