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
 Report to Mod MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 07 April 2002 :  11:15:28  Show Profile  Visit Syko BA's Homepage
I am trying to install the Report to moderator MOD
but keep getting this error

Type mismatch: 'rs'
/forum99/topic.asp, line 640

Line 640 is as follows

 <font size="1"><a href='ComplainToModerator.asp?IsTopic=0&action=REPORT&REPLY_ID=<% =rs("REPLY_ID") %>&TOPIC_ID=<% =Request.QueryString("TOPIC_ID") %>&FORUM_ID=<% =Request.QueryString("FORUM_ID") %>&CAT_ID=<% =Request.QueryString("CAT_ID")%>&ReporterID=<%=rs("MEMBER_ID")%>&TOPIC_TITLE=<%=Request.QueryString("Topic_Title")%>'>Report To Moderator</a></font>


I am using a SQL DB.

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 07 April 2002 :  11:45:00  Show Profile
I don't see anything wrong with this, but you're posting in the wrong forum. Report to Moderator is not a feature in the standard forums, it's a MOD. Next time please post your MOD installation problems in the appropriate forum.

Thank you



http://www.frutzle.com

Snitz Exchange | Do's and Dont's
Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 07 April 2002 :  18:48:23  Show Profile  Visit Syko BA's Homepage
I keep getting this Type mismatch: 'rs' error.

Has anyone any ideas why ?

Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 07 April 2002 :  18:58:01  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
Around Line Line 640 :
change
rs("REPLY_ID")
for
rsReplies("REPLY_ID")

and
rs("MEMBER_ID")
for
rsReplies("MEMBER_ID")




Around Line 920:
change
rs("MEMBER_ID")
for
rsTopic("MEMBER_ID")

image

~ Image Forum 2001 ~

Edited by - Image on 07 April 2002 19:07:16
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 07 April 2002 :  19:05:41  Show Profile  Visit crash's Homepage
easy does it. maybe someone should make a little FAQ on this; that there are two main parts in topic.asp, namely the rsTopic part and the rsReplies part.

just a tip...



Crash's Site | Crash is from
Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 08 April 2002 :  04:51:17  Show Profile  Visit Syko BA's Homepage
Thank you Gents

A little new to all this

Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 08 April 2002 :  13:30:24  Show Profile  Visit Syko BA's Homepage
I have installed the MOD and get the 'Report to MOD' message at the bottom of both topics and replies but when I post a complaint i get this message.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ','.
/forum99/ComplainToModerator.asp, line 111


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Page:
POST 18 bytes to /forum99/ComplainToModerator.asp

POST Data:
msg=&Submit=Submit

Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 08 April 2002 :  16:06:22  Show Profile  Visit Syko BA's Homepage
Here is a link to the ComplainToModerator.asp file in text format http://80.4.80.113/forum99/ComplainToModerator.txt

I keep getting this error.

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ','.
/forum99/ComplainToModerator.asp, line 111


Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Page:
POST 33 bytes to /forum99/ComplainToModerator.asp

POST Data:
msg=%5B%5B%5D%0D%0A&Submit=Submit

Any help on this would be appreciated.

Thanks

Edited by - Syko BA on 08 April 2002 19:27:22
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 09 April 2002 :  00:53:26  Show Profile  Visit crash's Homepage
perhaps you could post that line



Crash's Site | Crash is from
Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 09 April 2002 :  02:34:38  Show Profile  Visit Syko BA's Homepage
Crash

This is the link to the asp file in txt format.

http://80.4.80.113/forum99/ComplainToModerator.txt

Thanks

Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 09 April 2002 :  02:54:30  Show Profile  Visit crash's Homepage
no. i don't want the complete code. just the line that gives the error



Crash's Site | Crash is from
Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 09 April 2002 :  13:10:24  Show Profile  Visit Syko BA's Homepage
Crash

Thease are the lines that are causing the problem.

	SQL = SQL &  " VALUES(" & ForumID & ", " & TopicID & ", " & CatID & ", '" & message & "', " & ReporterID & ", " & IsTopic & ", " & ReplyID & ", " & 0 & ")"
'Response.Write SQL
my_Conn.execute SQL
Response.Write "<center><b>Thank you for keeping this forum clean....... <br><br> redirection to forum page" & _
"<meta http-equiv='refresh' content='3;url=default.asp'>"


The line in Red is line number 111 in file ComplainToModerator.asp

Cheers

Go to Top of Page

Syko BA
Junior Member

United Kingdom
257 Posts

Posted - 10 April 2002 :  06:34:13  Show Profile  Visit Syko BA's Homepage
Can anyone help me with this error ?

If you goto http://80.4.80.113/forum99/topic.asp?TOPIC_ID=29 and try 'Alert Moderator' you will after entering your message see an error.

I have no idea why this is occuring.

Thank you

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