| Author |
Topic Search Topic Options
|
pbanks
Groupie
Joined: 22 August 2008
Location: Ireland
Status: Offline
Points: 70
|
Post Options
Thanks(0)
Quote Reply
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??
|
 |
pbanks
Groupie
Joined: 22 August 2008
Location: Ireland
Status: Offline
Points: 70
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
haq
Newbie
Joined: 06 January 2008
Location: Russia, Moscow
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
haq
Newbie
Joined: 06 January 2008
Location: Russia, Moscow
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
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'?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
haq
Newbie
Joined: 06 January 2008
Location: Russia, Moscow
Status: Offline
Points: 22
|
Post Options
Thanks(0)
Quote Reply
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.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |