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
 Simpleslash returns no topics error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rory
Starting Member

12 Posts

Posted - 20 October 2004 :  18:24:42  Show Profile
Today I made a post to one forum and immediately got an error on the page where I use SimpleSlash. Error was about closing a non-existant object, but I tracked it down to this line:

While Not objRS.EOF
strSQL = "SELECT COUNT(*) FROM FORUM_REPLY WHERE TOPIC_ID = " & objRS("TOPIC_ID")
Set objRS2 = objConn.Execute(strSQL)


After commenting out this line, I discovered the original query is not returning any records, hence objRS.EOF is true.

I haven't made any changes to SimpleSlash recently, so it looks like this happened because of a post. However, if I run the original strSQL directly on my database, I also get no records.

Any clues? Let me know if you want me to post the sql query. Is SimpleSlash still being maintained?

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 20 October 2004 :  21:04:51  Show Profile  Visit Gremlin's Homepage
Simpleslash I don't think has ever been "maintained" really. I posted some code snippets which ended up being released as a mod with my name on it heh.

Hard to really say what the problem is, I'd suggest putting some response.writes in to see just whats coming back from each query.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 20 October 2004 21:05:22
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 20 October 2004 :  23:09:20  Show Profile
you should be looking at the SQL statement that builds objRS
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.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07