Author |
Topic  |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 15 February 2007 : 16:28:25
|
I've been working with 3.4.06 in updating my site to that, It's a fresh install, no mods, just layout changes so far... I've noticed that when I click the jump to last post from the default.asp page, I end up with decimals in the URL: http://www.coastergaming.com/forum/topic.asp?whichpage=21.8666666666667&TOPIC_ID=11748#153803 like so, btw that page isn't accessible beause it is pwd protected. I checked it out on toppics witgh like 4-5 pages but those go out fine, I don't have any topics currently that I know of between 5-21 pages to see where it starts going off. I mean I am not getting any problems, at first IE started opening up tons of tabs on it's own, I thought it was related to this decimal problem so I tried again and got no problems but just seems out of the ordinary for it to do that when I click the arrow to just to the last post. |
coaster crazy |
|
HuwR
Forum Admin
    
United Kingdom
20600 Posts |
Posted - 15 February 2007 : 18:10:56
|
this is not the cause of any problems you may have with ie, it is just that the whichpage value is not getting rounded before appending to the url |
 |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 15 February 2007 : 19:49:20
|
ok, so I should not worry about it being a decimal value then? I only noticed it in 3.4.06 and not of the older versions. |
coaster crazy |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 16 February 2007 : 04:39:59
|
Find the following on line 231 of topic.asp:
intPageNumber = ((iReply+1)/strPageSize)
And the following on line 237:
intPageNumber = ((iReplyCount+1)/strPageSize)
And try changing the / to a \ on both those lines.
|
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.” |
 |
|
weeweeslap
Senior Member
   
USA
1077 Posts |
Posted - 16 February 2007 : 13:20:57
|
Thanks Shaggy! That fixed it. |
coaster crazy |
 |
|
Shaggy
Support Moderator
    
Ireland
6780 Posts |
Posted - 19 February 2007 : 05:10:11
|
Keep a close eye on it for a couple of days to make sure it still returns the correct page numbers especially when replies start to reach the end of one page or have just started on to a new one.
|
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.” |
 |
|
|
Topic  |
|