Author |
Topic |
pethson
Starting Member
Sweden
19 Posts |
Posted - 10 October 2002 : 19:41:18
|
Hi!
For me everythings work great so far with CAL. But when I want to include it on an other page I read in the readme.wri to include the line <!--#INCLUDE FILE="cal_functions.asp"-->. I did found out that it should be <!--#INCLUDE FILE="cal_include.asp"-->. But then I get an Error under Upcoming Events saying:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'chkForumAccess'
/forumtest/forum/cal_functions.asp, line 325
I guess I need to include some more files, do you have any sugestion which one?
///Peter!< |
|
|
n/a
deleted
593 Posts |
Posted - 10 October 2002 : 21:24:13
|
quote: Originally posted by laser
Phew glad it's working for you now.
Yeap. Thanks, Laser. I downloaded yours so I may try yours as well when time permits... Many thanks.< |
Taku
|
|
|
red1
Junior Member
355 Posts |
Posted - 10 October 2002 : 21:39:31
|
quote: Originally posted by pethson
Hi!
For me everythings work great so far with CAL. But when I want to include it on an other page I read in the readme.wri to include the line <!--#INCLUDE FILE="cal_functions.asp"-->. I did found out that it should be <!--#INCLUDE FILE="cal_include.asp"-->. But then I get an Error under Upcoming Events saying:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'chkForumAccess'
/forumtest/forum/cal_functions.asp, line 325
I guess I need to include some more files, do you have any sugestion which one?
///Peter!
Thanks for catching that. I guess I have to update the zip file again. To use cal_include you need to put these lines on top of your page: <!--#INCLUDE FILE="config.asp"--> <!--#include file="inc_sha256.asp"--> <!--#include file="inc_func_secure.asp"--> <!--#include file="inc_func_common.asp"--> <!--#include file="inc_header.asp"-->
and at the bottom put this:
<!--#include file="inc_footer.asp"-->
If you don't want to use the forum header and footer you can just put this in before cal_include: <% set my_Conn = Server.CreateObject("ADODB.Connection") my_Conn.Open strConnString %>
and after it insert this: <% my_Conn.Close set my_Conn = nothing %>
< |
My Mods: New Events Calendar New Non-database Active Users |
|
|
mark
Starting Member
46 Posts |
Posted - 10 October 2002 : 22:25:14
|
Where can i donwload the file, coz the link the you posted is not working... < |
im the king of the world |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 11 October 2002 : 01:17:23
|
Any possibility of adding event registrations?
< |
|
|
red1
Junior Member
355 Posts |
|
ahimanikya
Starting Member
22 Posts |
Posted - 13 October 2002 : 05:40:22
|
Who ever update this Mod if they can consider to add a feature so that user can add/update him/her in attendant/HeadCount List ( I need this part very badly). Headcount is very helpful, when organizing community events thru this forum.< |
|
|
Guru
Starting Member
32 Posts |
Posted - 14 October 2002 : 11:52:24
|
Hi,
Maybe a little bug? When i select monthly view, i got an error.
Debugging the code I changed line 590 from asp.cal from
rs.open StrSql, My_conn
into
rs.open StrSql, My_conn, adOpenStatic
This seems to work fine now.....< |
|
|
Gandiel
Starting Member
21 Posts |
Posted - 14 October 2002 : 11:58:08
|
quote: Originally posted by Fresdar
Red1,
Thanks that seemed to halfway fix the problem on my site. Now is there a way not to show the calendar on the default.asp if they dont have access to the forum where the message is.
For instance. All of my events are posted in an annoucement section. This section uses a allowed members. If I post something on the calendar and one of the members aren't in the allowed members list then it gets stuck in a loop again. Other than that everything seems to be working great.
Thanks.
Has this issue been addressed yet? I'd love to use this MOD (as I've used it before) and look forward to the new features... but I won't install it unless this issue has been addressed.
Yes? No?
Gandiel< |
|
|
red1
Junior Member
355 Posts |
Posted - 14 October 2002 : 12:13:22
|
Guru: Can you please tell me what error you were getting? I don't believe I have anything in monthly view that requires a static cursor.
Gandiel: Fresdar was the only one who was getting that error, and he hasn't replied yet so I don't know if he fixed it or not.< |
My Mods: New Events Calendar New Non-database Active Users |
|
|
juuso2
Starting Member
19 Posts |
Posted - 14 October 2002 : 12:20:36
|
Getting this in Weekly Display....
Microsoft VBScript runtime (0x800A01A8) Object required: 'rs' /forum/cal.asp, line 354
Any idea why ?
This problem seems to happen only if I logged in as Admin and trying to view a weekly...
I had no problem viewing weekly along with others if I logged in as a regular member. There was no problem either as a guest or visitor to the site..
Im using SQL2000 if this makes a diff.< |
|
|
mcain004
Starting Member
USA
15 Posts |
Posted - 14 October 2002 : 12:38:59
|
Microsoft VBScript runtime error '800a01ca'
Variable uses an Automation type not supported in VBScript: 'cLng'
/forum/post_info.asp, line 536
I am receiving this error when attempting to update/change a calendar entry. Once I click on Post Changes I receive the error. The line 536 contains:
530 strSql = "UPDATE " & strActivePrefix & "TOPICS " 531 strSql = strSql & " SET T_MESSAGE = '" & txtMessage & "'" 532 strSql = strSql & ", T_SUBJECT = '" & txtSubject & "'" 533 strSql = strSql & ", T_EVENT_DATE = '" & dateHolder & "'" 534 strSql = strSql & ", T_MSGICON = " & "'" 535 'Line above added "'" 536 cLng(Request.Form("strMessageIcon")) 537 if blnTopicMoved then
I have gone over the code 3 times making sure everything was in the correct order and placed where it should be.
If it helps I also receive the error when attempting to move a posting to another category.< |
|
|
red1
Junior Member
355 Posts |
Posted - 14 October 2002 : 13:42:23
|
quote: Originally posted by mcain004
Microsoft VBScript runtime error '800a01ca'
Variable uses an Automation type not supported in VBScript: 'cLng'
/forum/post_info.asp, line 536
I am receiving this error when attempting to update/change a calendar entry. Once I click on Post Changes I receive the error. The line 536 contains:
530 strSql = "UPDATE " & strActivePrefix & "TOPICS " 531 strSql = strSql & " SET T_MESSAGE = '" & txtMessage & "'" 532 strSql = strSql & ", T_SUBJECT = '" & txtSubject & "'" 533 strSql = strSql & ", T_EVENT_DATE = '" & dateHolder & "'" 534 strSql = strSql & ", T_MSGICON = " & "'" 535 'Line above added "'" 536 cLng(Request.Form("strMessageIcon")) 537 if blnTopicMoved then
I have gone over the code 3 times making sure everything was in the correct order and placed where it should be.
If it helps I also receive the error when attempting to move a posting to another category.
This is a message icons mod error. You can't put in line 535 like that. Just combine lines 534-536 into 1 line: strSql = strSql & ", T_MSGICON = " & cLng(Request.Form("strMessageIcon")) < |
My Mods: New Events Calendar New Non-database Active Users |
|
|
mcain004
Starting Member
USA
15 Posts |
Posted - 14 October 2002 : 13:57:21
|
red1 thanks for helping out on that one. Could not believe it was so easy. The only reason I posted here was I did not receive that error until I installed the events Calendar mod.
There is one other issue I am having that I hope is just as easily fixed. When clicking on the active topics link I receive the following error: Microsoft JET Database Engine error '80040e14'
Syntax error (missing operator) in query expression 'F.F_PASSWORD_NEW T.T_ISEVENT'.
/forum/active.asp, line 310
That line is as follows:
rs.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText
I am guessing that line is refering back to line 268:
266 "F.F_PRIVATEFORUMS, " & _ 267 "F.F_PASSWORD_NEW " & _ 268 "T.T_ISEVENT " & _ 269 "FROM " & strMemberTablePrefix & "MEMBERS M, " & _
I say this because If I remove line 268 the error goes away. If you need more info please let me know. Thank you again.< |
|
|
red1
Junior Member
355 Posts |
|
Topic |
|