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
 Issue with active_users.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

i011877
Junior Member

Denmark
169 Posts

Posted - 18 January 2005 :  14:32:19  Show Profile  Visit i011877's Homepage
Sometimes when I check my active users page i get the following error:

Microsoft OLE DB Provider for SQL Server error '80040e14'
Line 1: Incorrect syntax near '='.
/active_users.asp, line 379


This only happens on some occasions. Most of the time it looks good.
Here is a picture of the error, and how the page looks:


(The line marked below is line 379)
strPage = fLang(strLangMOD_Ls3kAU_01300)
          end if
        end if
      end if
    case "topic.asp"
      strQuery = fQuery
      fTopic_ID = analyzeQuery(strQuery, "TOPIC_ID")
      if fTopic_ID = "" then
        strPage = fLang(strLangMOD_Ls3kAU_01270)
      else
	    strQuery = fQuery
        if lcase(analyzeQuery(strQuery, "ARCHIVE")) = "true" then
          strSql = "SELECT FORUM_ID, TOPIC_ID, T_SUBJECT FROM " & strTablePrefix & "A_TOPICS WHERE TOPIC_ID=" & fTopic_ID
        else
          strSql = "SELECT FORUM_ID, TOPIC_ID, T_SUBJECT FROM " & strTablePrefix & "TOPICS WHERE TOPIC_ID=" & fTopic_ID
        end if
        set rst = my_conn.execute(strSql)
        if rst.EOF or rst.BOF then
          strPage = fLang(strLangMOD_Ls3kAU_01270) 
        else
          fSubject = rst("T_SUBJECT")
          fForum_ID = rst("FORUM_ID")
          rst.close
          set rst = nothing
          if chkForumAccess(fForum_ID, MemberID, false) then
            strQuery = fQuery
			if lcase(analyzeQuery(strQuery, "ARCHIVE")) = "true" then
              strPage = fLang(strLangMOD_Ls3kAU_01310) & "<br><a href=""topic.asp?" & fQuery & """>"
            else
              strPage = fLang(strLangMOD_Ls3kAU_01320) & "<br><a href=""topic.asp?" & fQuery & """>"
            end if
            strPage = strPage & fSubject
          else
            strOnlineLocation = fLang(strLangMOD_Ls3kAU_01330)


Please help out with this



Edited by - ruirib on 18 January 2005 22:26:32

masterao
Senior Member

Sweden
1678 Posts

Posted - 18 January 2005 :  16:13:13  Show Profile  Visit masterao's Homepage
Do you have the calendar mod installed as well? If so, this topic contains the fix for your problem. If you dont have that mod installed, perhaps the fix in this post can help you.

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 18 January 2005 :  17:22:32  Show Profile  Visit i011877's Homepage
Thanks a million!
Did both the changes just in case...

Splendid


Go to Top of Page

masterao
Senior Member

Sweden
1678 Posts

Posted - 19 January 2005 :  15:52:23  Show Profile  Visit masterao's Homepage
You're welcome

Jan
===========
FR Portal Forums | Active Users 4.0.20 Mod
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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07