Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Calender MOD not working properly...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

crazee
Starting Member

30 Posts

Posted - 23 October 2003 :  20:11:14  Show Profile  Visit crazee's Homepage
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  Show Profile  Visit dayve's Homepage
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.

Go to Top of Page

crazee
Starting Member

30 Posts

Posted - 23 October 2003 :  22:00:17  Show Profile  Visit crazee's Homepage
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...
Go to Top of Page

crazee
Starting Member

30 Posts

Posted - 23 October 2003 :  22:07:28  Show Profile  Visit crazee's Homepage
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...
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 23 October 2003 :  22:24:07  Show Profile  Visit dayve's Homepage
" <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 & _

Go to Top of Page

crazee
Starting Member

30 Posts

Posted - 23 October 2003 :  22:31:13  Show Profile  Visit crazee's Homepage
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...
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 23 October 2003 :  22:38:29  Show Profile  Visit dayve's Homepage
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.

Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 23 October 2003 :  23:44:35  Show Profile
that's not a text file.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

crazee
Starting Member

30 Posts

Posted - 24 October 2003 :  14:19:08  Show Profile  Visit crazee's Homepage
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...
Go to Top of Page

crazee
Starting Member

30 Posts

Posted - 25 October 2003 :  00:10:36  Show Profile  Visit crazee's Homepage
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07