Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - get_last_post cint error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

get_last_post cint error

 Post Reply Post Reply
Author
dan74 View Drop Down
Newbie
Newbie


Joined: 20 August 2007
Location: United Kingdom
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote dan74 Quote  Post ReplyReply Direct Link To This Post Topic: get_last_post cint error
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2008 at 10:54am
Thank-you this will be looked into
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2008 at 2:14pm
Just an info that i experienced the same (v9.50)
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
kiklop View Drop Down
Groupie
Groupie


Joined: 14 July 2005
Status: Offline
Points: 137
Post Options Post Options   Thanks (0) Thanks(0)   Quote kiklop Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.