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)
 Bug report: CInt -> CLng
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

kulnor
Starting Member

USA
1 Posts

Posted - 14 May 2002 :  09:38:40  Show Profile
I just installed Snitz and am customizing it for my web site. Since I'm using a replicated MS-access databases, the ID fields in the tables are random Long Integer. This causes an overflow error since some of the VB variables in the ASP code are defined as CInt().
I replaced them with CLng() and it works fine. I'll report if I find more of these...

in post.asp:
"if clng(strRqCatID) = rsCat("CAT_ID") then"
and "if clng(strRqForumId) = rsForum("FORUM_ID") then"

in pop_delete.asp:
all occurences of "cint(delAr(i))" should be changed to clng(delAr(i))



HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 14 May 2002 :  11:49:28  Show Profile  Visit HuwR's Homepage
these have all been dealt with for the next release of the forum.

however, because code does not work against your non-standard snitz db, that does not make it a bug, just an icompatability with your db.

Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 15 May 2002 :  12:06:55  Show Profile  Visit Etymon's Homepage

I'm using Aaron's download of Snitz. Are these bugs fixed in that one for now?

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