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
 error trying to delete calendar event
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

mtercek
New Member

56 Posts

Posted - 14 January 2005 :  10:12:33  Show Profile
The calendar works great except when I try to delete an event. I get this error message:

Microsoft VBScript compilation error '800a03ee'

Expected ')'

/forum/cal_delete.asp, line 20

Event_Date = cDate(Request("DATE")
----------------------------------^


This is the code above, at, and around line 20:


<!--#INCLUDE FILE="cal_functions.asp"-->

<LINK rel="stylesheet" href="cal_style.asp" type="text/css">

<%

'Reset the Forum_ID
arrRqCalForumID = Trim(ChkString(Join(arrCalForumID, ","), "SQLString"))


'Write the Forum_ID to cookies
If Not IsNull(arrRqCalForumID) and arrRqCalForumID <> "" Then
If strSetCookieToForum = 1 then
Response.Cookies(strUniqueID & "arrRqCalForumID").Path = strCookieURL
Else
Response.Cookies(strUniqueID & "arrRqCalForumID").Path = "/"
End if
Response.Cookies(strUniqueID & "arrRqCalForumID") = arrRqCalForumID
Response.Cookies(strUniqueID & "arrRqCalForumID").expires = dateAdd("yyyy", 1, strForumTimeAdjust)
End If


I did not alter the code in the cal_delete.asp so I don't know why it's throwing up for me.

Edited by - mtercek on 14 January 2005 10:18:01

red1
Junior Member

355 Posts

Posted - 14 January 2005 :  11:11:09  Show Profile
replace this:
Event_Date = cDate(Request("DATE")

with this:
Event_Date = cDate(Request("DATE"))

My Mods:
New Events Calendar
New Non-database Active Users
Go to Top of Page

mtercek
New Member

56 Posts

Posted - 14 January 2005 :  14:16:57  Show Profile
That fixed it, thanks.

My apologies, that code I copied and pasted as the code on and around line 20 was from the cal_default.asp anyway - wrong file.

This is an awesome calendar. Thanks!
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.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07