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 w/ MySQL in content.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

blues
Starting Member

26 Posts

Posted - 30 May 2003 :  07:01:28  Show Profile
hi all

i have this problem in content.asp

ADODB.Recordset error '800a0cb3'

Current Recordset does not support bookmarks. This may be a limitation of the provider or of the selected cursortype.

/forum/content.asp, line 125


my code is that's near the line 125

rs.open strSql, my_Conn, 3, adLockReadOnly, adCmdText

if Not rs.EOF then
arrTopicData = rs.GetRows(TopicCount,1)
iTopicCount = UBound(arrTopicData, 2)
else
iTopicCount = ""
end if

before i 've thats code

select case DisplayOrder ' Change ASC to DESC if preferred...
case 0 ' By Last Posted Date
strSql = strSql & " ORDER BY T.T_LAST_POST DESC "
case 1 ' By Topics Order field
strSql = strSql & " AND T.T_ORDER > 0 " ' Required because NULLs and ZEROs come before 1
strSql = strSql & " ORDER BY T.T_ORDER ASC "
case 2 ' By most View Counts
strSql = strSql & " ORDER BY T.T_VIEW_COUNT DESC "
case 3 ' By most Replies
strSql = strSql & " ORDER BY T.T_REPLIES DESC "
case 4 ' By msgIcons value
strSql = strSql & " ORDER BY T.T_MSGICON ASC "
case 5 ' By author
strSql = strSql & " ORDER BY T.T_AUTHOR ASC "
case 6 ' By original post Date
strSql = strSql & " ORDER BY T.T_DATE ASC "
case 7 ' By Forum ID
strSql = strSql & " ORDER BY T.FORUM_ID DESC "
case 8 ' By Cat ID
strSql = strSql & " ORDER BY T.CAT_ID DESC "
case else ' Use the "default" - By Last Posted Date - DESC
strSql = strSql & " ORDER BY T.T_LAST_POST DESC "
end select

set rs = Server.CreateObject("ADODB.Recordset")
rs.cachesize = 20

rs.open strSql, my_Conn, 3, adLockReadOnly, adCmdText

if Not rs.EOF then
arrTopicData = rs.GetRows(TopicCount,1)
iTopicCount = UBound(arrTopicData, 2)
else
iTopicCount = ""
end if

Edited by - Davio on 30 May 2003 12:41:31

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 30 May 2003 :  07:03:25  Show Profile
is this part of a mod? there is no file called content.asp in the base code.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

blues
Starting Member

26 Posts

Posted - 30 May 2003 :  10:21:32  Show Profile
yes it's a mod!!!!
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 30 May 2003 :  10:36:51  Show Profile
Can a Moderator please move this to the MOD Implementation forum please.

blues ... saying that it is a mod is all fine and good, but I know I can't help much unless I know WHAT mod it is.

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 May 2003 :  12:38:08  Show Profile
I don't see any bookmarks being used in the code you posted. Post a link to a txt version of your content.asp file.

Are you sure you are using a MySQL database?

Support Snitz Forums

Edited by - Davio on 30 May 2003 12:40:37
Go to Top of Page

blues
Starting Member

26 Posts

Posted - 02 June 2003 :  07:00:23  Show Profile
sorry for all my error , my friends!!!

ok the mod is content display mod,
yes i'm sure i'm using a Mysql database

this is the link with te txt files

thanks http://www.assitecforum.com/forum2/content.txt
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 June 2003 :  11:39:14  Show Profile
Comment out line 124:
'rs.cachesize = 20
Cachesize is not supported by mysql.

Support Snitz Forums
Go to Top of Page

blues
Starting Member

26 Posts

Posted - 03 June 2003 :  10:44:03  Show Profile
how i can solve this problem????

thanks for your answer
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 03 June 2003 :  12:54:05  Show Profile
I just showed you how to solve it. Comment out line 124, by placing a single quote (I highlighted it in red so you can see it in my last post) in front of the code.

Support Snitz Forums
Go to Top of Page

blues
Starting Member

26 Posts

Posted - 04 June 2003 :  10:05:10  Show Profile
ops i'm a stupid!!!! thanks my friend
Go to Top of Page

blues
Starting Member

26 Posts

Posted - 04 June 2003 :  10:30:00  Show Profile
i've the same error in this line

arrTopicData = rs.GetRows(TopicCount,1)
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 June 2003 :  13:29:40  Show Profile
Are you surE? Post all of the error message you are getting.

Support Snitz Forums
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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07