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
 Private Messages MOD Error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Umar
Starting Member

Pakistan
7 Posts

Posted - 03 August 2005 :  14:29:51  Show Profile  Visit Umar's Homepage  Send Umar a Yahoo! Message
after installing Private Messages MOD, I am getting an error in ALL my topics... the first post shows, the second post has an error on it as follows:

"Microsoft VBScript runtime error '800a0006'
Overflow: 'cLng'

/snitz/inc_func_secure.asp, line 46"


here is the code from inc_fun_secure.asp error is pointed in Brown color down there ..


-------------------inc_fun_secure.asp---------------------
function getMemberName(fUser_Number)

dim strSql
dim rsGetmemberName

'## Forum_SQL
if isNull(fUser_Number) then exit function
strSql = "SELECT M_NAME "
strSql = strSql & " FROM " & strMemberTablePrefix & "MEMBERS "
'response.write (fUser_number)
strSql = strSql & " WHERE MEMBER_ID = " & cLng(fUser_Number)
set rsGetMemberName = Server.CreateObject("ADODB.Recordset")
rsGetMemberName.open strSql, my_Conn

if rsGetMemberName.EOF or rsGetMemberName.BOF then
getMemberName = ""
else
getMemberName = chkString(rsGetMemberName"M_NAME"),"display")
end if

rsGetMemberName.close
set rsGetMemberName = nothing

end function

----------------------------------------------------------



And no other post show in any topics beyond the second one with the error.

Umar Farooqi
Pak-EPA

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 03 August 2005 :  14:41:59  Show Profile
Can you post link to a *.txt copy of your topic.asp file? My guess is you didn't edit the array numbers for the replies correctly.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Umar
Starting Member

Pakistan
7 Posts

Posted - 03 August 2005 :  15:18:59  Show Profile  Visit Umar's Homepage  Send Umar a Yahoo! Message
quote:
Originally posted by Shaggy

Can you post link to a *.txt copy of your topic.asp file? My guess is you didn't edit the array numbers for the replies correctly.





Ohh yeh! Shaggy you are very right, I dont know why I did forget this simple point. Anyway Its wr\orking now, I just edit the array numbers for the replies....

Umar Farooqi
Pak-EPA
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07