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: General / Current Version (Old)
 topic.asp error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RDoGG™
Junior Member

USA
329 Posts

Posted - 04 July 2001 :  09:54:48  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
hey. i am using Richard Kinser's topic.asp file (he named his topic2.asp in one of his releases).

i get this error:

Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters

/forums/topic.asp, line 490


lines 474-490 read:

sub GetFirst()

'## Forum_SQL - Get Origional Posting
strSql = "SELECT FORUM_MEMBERS.M_NAME, FORUM_MEMBERS.M_ICQ, "
strSql = strSql & "FORUM_MEMBERS.M_YAHOO, FORUM_MEMBERS.M_AIM, "
strSql = strSql & "FORUM_MEMBERS.M_TITLE, FORUM_MEMBERS.M_HOMEPAGE, "
strSql = strSql & "FORUM_MEMBERS.MEMBER_ID, FORUM_MEMBERS.M_LEVEL, "
strSql = strSql & "FORUM_MEMBERS.M_POSTS, FORUM_MEMBERS.M_COUNTRY, "
strSql = strSql & "FORUM_MEMBERS.M_CITY, FORUM_MEMBERS.M_STATE, "
strSql = strSql & "FORUM_MEMBERS.M_DATE, FORUM_MEMBERS.M_PMRECEIVE, "
strSql = strSql & "FORUM_TOPICS.T_DATE, FORUM_TOPICS.T_SUBJECT, FORUM_TOPICS.T_AUTHOR, "
strSql = strSql & "FORUM_TOPICS.TOPIC_ID, FORUM_TOPICS.T_MSGICON, FORUM_TOPICS.T_MESSAGE "
strSql = strSql & " FROM FORUM_MEMBERS, FORUM_TOPICS "
strSql = strSql & " WHERE FORUM_MEMBERS.MEMBER_ID = FORUM_TOPICS.T_AUTHOR "
strSql = strSql & " AND FORUM_TOPICS.TOPIC_ID = " & Request.QueryString("TOPIC_ID")

**<490>** set rs = my_Conn.Execute (strSql)

' (some more code here)




the **<490>** is not included (i just showed that cuz that's the line with the error)

RDoGG™

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 04 July 2001 :  10:28:36  Show Profile
Do you have the Message Icons MOD and the Private Messages MOD installed?

If not, you'll need to either install them, or remove:

FORUM_MEMBERS.M_PMRECEIVE and FORUM_TOPICS.T_MSGICON

from both this select statement, and the one that is further up in topic.asp

You'll also need to remove the code that shows the Message Icon and the code that displays the link to send someone a private message. ( both show up twice also)

There is also code in that topic.asp file that requires the Active Users MOD be installed.

And, you'll also need to add the following function to inc_functions.asp :

function ChkDatec(fDate)
if fDate = "" then
exit function
end if
ChkDatec = Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,1,4)
end function
Go to Top of Page

RDoGG™
Junior Member

USA
329 Posts

Posted - 04 July 2001 :  11:48:06  Show Profile  Visit RDoGG™'s Homepage  Send RDoGG™ an AOL message  Send RDoGG™ a Yahoo! Message
quote:

Do you have the Message Icons MOD and the Private Messages MOD installed?

If not, you'll need to either install them, or remove:

FORUM_MEMBERS.M_PMRECEIVE and FORUM_TOPICS.T_MSGICON

from both this select statement, and the one that is further up in topic.asp

You'll also need to remove the code that shows the Message Icon and the code that displays the link to send someone a private message. ( both show up twice also)

There is also code in that topic.asp file that requires the Active Users MOD be installed.

And, you'll also need to add the following function to inc_functions.asp :

function ChkDatec(fDate)
if fDate = "" then
exit function
end if
ChkDatec = Monthname(Mid(fDate,5,2),1) & " " & _
Mid(fDate,1,4)
end function




thanks. i didn't the Message Icons MOD installed. I do have the Active Users MOD and the Private Messages MOD, though.

i didn't notice that the MSGICON field was called.

can you lock this topic now?

RDoGG™
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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07