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
 error/bug in AU4 mod
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

crash
Advanced Member

Netherlands
2064 Posts

Posted - 22 April 2002 :  15:14:24  Show Profile  Visit crash's Homepage
when someone is viewing an archived topic, it shows this error on the active_users.asp page:
Microsoft JET Database Engine error '80040e14' 
Syntax error (missing operator) in query expression 'TOPIC_ID==106'.

/active_users.asp, line 477

i updated the file with the update Nathan posted about the "ARCHIVEVIEW" bit (the three-places-update) but ow i get the above...

please help!



Crash's Site | Crash is from

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 22 April 2002 :  15:21:58  Show Profile  Send ruirib a Yahoo! Message
Crash,

looks like an extra '=' is being added to the SQL statement. Can't you detect where the SQL statement is being generated and remove the '=' character?

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 22 April 2002 :  15:27:20  Show Profile  Visit crash's Homepage
Ruirib, i already checked for that and there isn't an extra '=' in the SQL statement...



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

Nathan
Help Moderator

USA
7664 Posts

Posted - 22 April 2002 :  18:25:14  Show Profile  Visit Nathan's Homepage
Crash, is this a repeatable error?

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

crash
Advanced Member

Netherlands
2064 Posts

Posted - 22 April 2002 :  18:34:43  Show Profile  Visit crash's Homepage
yes. everytime a member, including admin/moderators, look at a topic that has been archived, the error appears. i believe there is a minor glitch in the "ARCHIVEDVIEW" patch you suggested...
if analyzeQuery(strQuery, "ARCHIVEVIEW") = "True" then

i'm not feeling too good about the "analyzeQuery" bit...



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

Nathan
Help Moderator

USA
7664 Posts

Posted - 22 April 2002 :  19:28:13  Show Profile  Visit Nathan's Homepage
Well no wonder, snitz has a little bug on line 758 of topic.asp. The part in the strin should just be ARCHIVE= not ARCHIVEVIEW=

So therefor all three of those if analyzeQuery(strQuery, "ARCHIVEVIEW") = "True" then should really be if analyzeQuery(strQuery, "ARCHIVE") = "True" then

Ok, I think I've got it worked out now.

if analyzeQuery(strQuery, "ARCHIVEVIEW") = "True" then 

needs to be
strQuery = fQuery
if lcase(analyzeQuery(strQuery, "ARCHIVE")) = "true" then


Nathan Bales
Snitz Exchange | Do's and Dont's

Edited by - Nathan on 22 April 2002 19:34:14
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 22 April 2002 :  19:30:10  Show Profile  Visit crash's Homepage
i figured that out too, but it resulted in the same error... hold on... i am not sure i had refreshed my browser... will check tomorrow



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

crash
Advanced Member

Netherlands
2064 Posts

Posted - 23 April 2002 :  00:45:45  Show Profile  Visit crash's Homepage
yes! that did it! great one Nathan! Thanks!



Crash's Site | Crash is from
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 1.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07