Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Last post doesn’t always work (RC1)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Last post doesn’t always work (RC1)

 Post Reply Post Reply
Author
rowdyvdveen View Drop Down
Newbie
Newbie


Joined: 24 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote rowdyvdveen Quote  Post ReplyReply Direct Link To This Post Topic: Last post doesn’t always work (RC1)
    Posted: 23 March 2006 at 10:26am
If you go to this page: http://www.starbase74.nl/forum80/forum_topics.asp?FID=2
and then click on the 'last post' icon of the topic:
'Gaat dit forum ook al dood?
1 2 3 4 5 6 7 8'
(I mean clicking on the arrow-icon to the right), you end up on page 4 instead of page 8.

I'm also looking in to this, trying to find what's causing this.
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: 23 March 2006 at 11:43am
A few other users have reported this problem, and it would be in the code that calculates the page the post is on within the 'forum_posts.asp' page.

The problem is that at the moment I have been unable to replicate the problem so that I can find a solution.

Could you please tell me your forum setup of how many posts and topics you have set it to display per page as this may help workout where the page calculation code is going astray as hopefully I can then replicate the error.
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: 23 March 2006 at 11:48am
I had a look at your forum and it seems it only happening on the one topic because for some reason it has the last post data incorrect on the forum index page.

This may have happened in the update process, to fix this, put a new post in the topic, then delete it, this should reset the 'Last Post' data for that topic.
Back to Top
rowdyvdveen View Drop Down
Newbie
Newbie


Joined: 24 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote rowdyvdveen Quote  Post ReplyReply Direct Link To This Post Posted: 23 March 2006 at 6:52pm
Thanks for your quick response.
I've had reports from other users as well, I will ask them which topics have these problems besides this one. (if any, it is possible they all mean this topic)
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: 24 March 2006 at 12:36pm
I have found the issue, it was in the calculation for working out which page.

I have fixed it for the next version by using the VbScript built in function 'FIX' when doing the calculation so that the correct page is always returned.
Back to Top
rowdyvdveen View Drop Down
Newbie
Newbie


Joined: 24 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote rowdyvdveen Quote  Post ReplyReply Direct Link To This Post Posted: 27 March 2006 at 9:59am
Okay, thanks!
Wonder what else we can fix with the FIX instruction... Sounds very useful to me ;-)
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 March 2006 at 11:16am
I wish 'FIX' was a universal 'FIX' solution but it's not.

It is used to return the whole integer number when doing a calculation.
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.