get_last_post cint error
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25146
Printed Date: 03 April 2026 at 11:02am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: get_last_post cint error
Posted By: dan74
Subject: get_last_post cint error
Date Posted: 14 January 2008 at 10:48am
Hi,
We're using version 9.06 and recently went past 32,767 topics (e.g. max(topic_id) in tbltopic is currently 32940).
This caused an error on get_last_post.asp (line 62) cint overflow because ASP cint() function has a limit up to 32767 (I think that's the number).
I edited the cint to clng and that seems to work.
Danny
------------- ---
Danny
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 14 January 2008 at 10:54am
Thank-you this will be looked into
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: kiklop
Date Posted: 27 June 2008 at 2:14pm
Just an info that i experienced the same (v9.50)
------------- http://www.dyxum.com" rel="nofollow - dyxum.com
|
Posted By: WebWiz-Bruce
Date Posted: 27 June 2008 at 3:27pm
If you change CInt on line 62 of get_last_post.asp to CLng it will stop this error from occurring.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: kiklop
Date Posted: 27 June 2008 at 3:57pm
THanks, Yes, i know that (done that already); i only wanted to confirm the problem with v9.5.
------------- http://www.dyxum.com" rel="nofollow - dyxum.com
|
|