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: General / Classic ASP versions(v3.4.XX)
 Config Order - Not working
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

TheBigSnake
Junior Member

154 Posts

Posted - 17 June 2004 :  22:07:42  Show Profile
Done :P
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 June 2004 :  23:05:36  Show Profile
try it now...
Go to Top of Page

TheBigSnake
Junior Member

154 Posts

Posted - 17 June 2004 :  23:08:38  Show Profile
Great!!

Thanks alot :)
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 June 2004 :  23:13:36  Show Profile
quote:
Originally posted by ruirib

Well I simply don't understand how is it possible for the count SQL statements not to work! I have no explanation for that. And you wrote that uploading a new admin_order_config.asp doesn't change it, right?

ruirib,

Here is what I did to get it working:

for the categorycount:

replaced this:
		'## Forum_SQL
		strSql2 = "SELECT COUNT(CAT_ID) AS PAGECOUNT "
		strSql2 = strSql2 & " FROM " & strTablePrefix & "CATEGORY" 
		set rsCount = my_Conn.Execute(strSql2)
		categorycount = rsCount("PAGECOUNT")
		rsCount.close

		rs.open strSql, my_Conn, adOpenStatic
with this:
		rs.open strSql, my_Conn, adOpenStatic
		categorycount = cLng(rs.recordcount)


for the forumcount:

replaced this:
				'## Forum_SQL
				strSql2 = "SELECT COUNT(F.FORUM_ID) AS PAGECOUNT "
				strSql2 = strSql2 & " FROM " & strTablePrefix & "FORUM F" 
				strSql2 = strSql2 & " WHERE F.CAT_ID = " & rs("CAT_ID")
				set rsCount = my_Conn.Execute(strSql2)
				forumcount = rsCount("PAGECOUNT")
				rsCount.close
				set rsCount = nothing
with this:
				forumcount = cLng(rsForum.recordcount)
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 18 June 2004 :  08:07:07  Show Profile  Send ruirib a Yahoo! Message
Ok Richard, thx for the info.

What is troubling is that some simple SQL statements don't seem to execute adequately. What's even more weird is that the code you replaced now replace code similar to the code you used now as a fix, that was not working!!!

I guess I won't even try to understand why!


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 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