Print Page | Close Window

Post Reply not working correctly ...

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=26199
Printed Date: 28 March 2026 at 10:35pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Post Reply not working correctly ...
Posted By: pbanks
Subject: Post Reply not working correctly ...
Date 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??



Replies:
Posted By: pbanks
Date 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.


Posted By: WebWiz-Bruce
Date 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.


-------------
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: haq
Date 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'?


Posted By: haq
Date 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'?



Posted By: WebWiz-Bruce
Date 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.


-------------
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: haq
Date 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.


Posted By: WebWiz-Bruce
Date 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.


-------------
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net