Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Post Reply not working correctly ...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Post Reply not working correctly ...

 Post Reply Post Reply
Author
pbanks View Drop Down
Groupie
Groupie


Joined: 22 August 2008
Location: Ireland
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote pbanks Quote  Post ReplyReply Direct Link To This Post Topic: Post Reply not working correctly ...
    Posted: 01 September 2008 at 3:40pm
I am getting an error when Posting a reply and the Post Reply box doesn't appear? However the quick reply works ok! Updated to 9.51 SQL2005 and have Paging=True set.
 
Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'intTotalRecords'

/Forum/includes/message_form_inc.asp, line 557

 
Any ideas what might be causing this error??
Back to Top
pbanks View Drop Down
Groupie
Groupie


Joined: 22 August 2008
Location: Ireland
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote pbanks Quote  Post ReplyReply Direct Link To This Post Posted: 01 September 2008 at 5:42pm
Actually, I've fixed this problem but it might need to be updated (if there is any other revision to 9.51). I'm surprised no-one else has seen this?
 
In /includes/message_form_inc_asp line 557 it reads:
            Response.Write(vbCrLf & "    <input type=""hidden"" name=""ThreadPos"" id=""ThreadPos"" value=""" & (intTotalRecords + 1) & """ />")
 
It should, however, read:
            Response.Write(vbCrLf & "    <input type=""hidden"" name=""ThreadPos"" id=""ThreadPos"" value=""" & (lngTotalRecords + 1) & """ />")
 
chant intTotalRecords to lngTotalRecords.
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: 01 September 2008 at 7:09pm
You need to update the file message_form_inc_asp to that from the latest 9.51 version.

With so many files and a number of global search and replaces done in version 9.51 you should update ALL the files in your Web Wiz Forums installation.
Back to Top
haq View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2008
Location: Russia, Moscow
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote haq Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2008 at 8:58pm

2Bruce:

Hello!
I updated the files forum v.9.50 to v.9.53 and now have the same problem as the author of the topic.


Variable is undefined: 'lngTotalRecords'
/forum/includes /message_form_inc.asp, line 552

I understand that in order to resolve this problem, enough to replace 'lngTotalRecords' to' intTotalRecords'?


Edited by haq - 07 December 2008 at 9:15pm
Back to Top
haq View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2008
Location: Russia, Moscow
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote haq Quote  Post ReplyReply Direct Link To This Post Posted: 08 December 2008 at 7:47pm

Forgot to clarify.
I did Updated from 9.50 to 9.53 for SQL2000.

I looked up the file message_form_inc.asp in v.9.50 and there is a variable that is' intTotalRecords', not 'lngTotalRecords'!

Hence the question.
In Updated 9.53 for SQL2000 in the 552 line - typo and correctly will be 'intTotalRecords'?

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: 09 December 2008 at 8:16am
The line should be lngTotalRecords in the latest release.

You need to ensure that you have updated ALL the files from 9.50 to 9.54 so that they are all running the same version with the same variables throughout.
Back to Top
haq View Drop Down
Newbie
Newbie
Avatar

Joined: 06 January 2008
Location: Russia, Moscow
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote haq Quote  Post ReplyReply Direct Link To This Post Posted: 12 December 2008 at 8:50pm
The first year I found WWF v.9.08

In order to adapt the forum to Russian language, I immediately had to edit 15 files.
Therefore, when a new update comes out - I only update those files that are identified in the Release Notes, and verify the existence of previous adaptations to the Russian language.

I have updated all of the stated edits several times, but the problem above still exists.

I understood that one must first fill the forum anew and again adapt it to Russian language.

Thanks for your reply.
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: 15 December 2008 at 9:59am
If you have a look at the release notes several global search and replaces have been done to change variables since 9.08, so the global search and replaces files are not listed just a reference that a global search and replaces was made.

9.50 was a big release, so with these types of more major releases you should replace all files and images.
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.