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
 Active users mod
 New Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

spreadpoems
New Member

52 Posts

Posted - 02 April 2014 :  22:34:23  Show Profile
Only the admin can see it,

Edited by - spreadpoems on 03 April 2014 12:28:20
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 03 April 2014 :  03:21:16  Show Profile
Duhh - I'm retarded. I left a test line in there.

Delete line 228

	ua = Request.ServerVariables("HTTP_USER_AGENT")

Edited by - Carefree on 03 April 2014 08:29:44
Go to Top of Page

spreadpoems
New Member

52 Posts

Posted - 03 April 2014 :  14:04:50  Show Profile
Carefree, Thanks for the fix and effort!

Unfortunately I'm still seeing 500 errors all the time:
ErrFile ErrLine ErrColumn ErrDescription
/active_users.asp 456 456 Invalid procedure call or argument: 'Mid'

So, I'm just printing the entire user agent string to the screen. I have had enough of these errors.


But, this next one is a bigger problem because my members really like the active user page and being able to see what page people are visiting.
Any idea what this error is. I just started seeing it.

quote:
ErrFile: /active_users.asp
ErrLine: 741
ErrDescription: Invalid column name 'eply'.



Here is the code. My line 741 is in red.

Case "post.asp"
	strQuery = fQuery
	fMethod = analyzeQuery(strQuery, "method")
	If lCase(fMethod) = "topicquote" OR lCase(fMethod) = "replyquote" Then
		fMethod = "reply"
	End if
	Select Case lCase(fMethod)
		Case "reply"
			strQuery = fQuery
			fTopic_ID = analyzeQuery(strQuery, "TOPIC_ID")
			strQuery = fQuery
			fForum_ID = analyzeQuery(strQuery, "FORUM_ID")
			If fTopic_ID = "" or fForum_ID = "" Then
				strPage = fLang(strLangMOD_Ls3kAU_01270)
			Else
				strSql = "SELECT T_SUBJECT FROM " & strTablePrefix & "TOPICS WHERE TOPIC_ID=" & fTopic_ID
				Set rst = my_conn.Execute(strSql)
				If rst.EOF or rst.BOF Then
					strPage = fLang(strLangMOD_Ls3kAU_01270)
				Else
					fSubject = rst("T_SUBJECT")
					rst.Close
					If chkForumAccess(fForum_ID, MemberID, False) Then
						strPage = fLang(strLangMOD_Ls3kAU_01340) & "<br><a href=""link.asp?TOPIC_ID=" & fTopic_ID & """>"
						strPage = strPage & fSubject
					Else
						strOnlineLocation = fLang(strLangMOD_Ls3kAU_01350)
					End if
				End if
				Set rst = Nothing
			End if

Go to Top of Page

spreadpoems
New Member

52 Posts

Posted - 03 April 2014 :  14:46:22  Show Profile
I just realized that whole block of code is for post.asp which is not really relevant for visitors, so I commented it out and replaced it with:

Case "post.asp"
strPage = "Posting Topic"


Hopefully that it's.
One can always hope
Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07