Author |
Topic  |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 08 January 2013 : 18:26:15
|
I am receiving the following error message in the "Member Spotlight" mod:
Member Spotlight ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/tfp/inc_member_spotlight.asp, line 18 Here are lines 13 - 23
set rsMemInSpot = Server.CreateObject("ADODB.Recordset") strSql = "SELECT " & strTablePrefix & "MEMBERS.MEMBER_ID, " & strTablePrefix & "MEMBERS.M_AVATAR_URL, " & strTablePrefix & "MEMBERS.M_NAME, " strSql = strSql & strTablePrefix & "MEMBERS.M_FIRSTNAME, " & strTablePrefix & "MEMBERS.M_LASTNAME, " & strTablePrefix & "MEMBERS.M_AGE" strSql = strSql & " FROM " & strTablePrefix & "MEMBERS" strSql = strSql & " WHERE FORUM_MEMBERS.M_AVATAR_URL <> ''" rsMemInSpot.Open strSql, my_Conn,3,,adCmdText Dim intRnd Randomize Timer intRnd = (Int(RND * rsMemInSpot.RecordCount)) rsMemInSpot.Move intRnd strMemInSpot = rsMemInSpot("M_AVATAR_URL")
Any ideas?
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 08 January 2013 : 18:41:43
|
I redid that whole thing some time ago. Try this:
|
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 08 January 2013 : 20:14:56
|
Used that and received this error:
Microsoft VBScript runtime error '800a01a8'
Object required: ''
/tfp/inc_member_spotlight.asp, line 5
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 09 January 2013 : 01:15:30
|
I'm sorry; I failed to mention that something went wrong when I did "Zuel's Avatar" mod. The mod works fine; members can now upload their own avatar and the avatars display fine, too. But if a member has a URL for a picture in his/her profile area, it will only display the red x. However; it will display the picture if someone clicks on the red x. Of course no one would think to do that, I'm sure. So, I disabled that feature rather than ask someone to help me. At that time, I thought the avatar was sufficient for the members but now I'm wondering if the "Member Spotlight" mod requires that feature to be on and for it to display their picture in their profile area. Am I making sense with this? I sure hope so! 
If this mod does require the members to have the URL/picture in their profile, will it display an error when it selects a member who doesn't?
All members do have an avatar in their profile so I would like to know if this mod would/could work with those?
My mind is tired so again, I do hope this makes sense!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 09 January 2013 : 07:03:20
|
No, that's an indication that the connection to the database has been closed by some other mod. We can reopen it in this mod, but if it's already open when you try to use it, it'll result in a different error.
So, we'll tell it to ignore the error and continue.
|
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 09 January 2013 : 15:33:02
|
No errors with this, Carefree. . .but no members in the spotlight either. Nothing at all displayed.
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
|
Topic  |
|
|
|