Print Page | Close Window

Problem from 8.04 to 8.05

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=22400
Printed Date: 08 April 2026 at 8:23am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem from 8.04 to 8.05
Posted By: materialare.nu
Subject: Problem from 8.04 to 8.05
Date Posted: 12 January 2007 at 8:36pm
Hi,
I receive this under "active users"  

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtGuests'

/forum/default.asp, line 792

default.asp has this on line 792:

Response.Write(strTxtInTotalThereAre & " " & intActiveUsers & " <a href=""active_users.asp" & strQsSID1 & """>" & strTxtActiveUsers & "</a> " & strTxtOnLine & ", " & intActiveGuests & " " & strTxtGuests & ", " & intActiveMembers & " " & strTxtMembers & ", " & intAnonymousMembers & " " & strTxtAnonymousMembers)

I found an message stating that i could insert Const strTxtGuest = "Gäst" in language_file_inc  (I use a swedish language file) and it has:

Const strTxtGuest = "Gäst" on line 381

Someone that can help me ?




Replies:
Posted By: disrael
Date Posted: 12 January 2007 at 9:31pm
Originally posted by materialare.nu materialare.nu wrote:

Hi,
I receive this under "active users"  

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtGuests'

/forum/default.asp, line 792

default.asp has this on line 792:

Response.Write(strTxtInTotalThereAre & " " & intActiveUsers & " <a href=""active_users.asp" & strQsSID1 & """>" & strTxtActiveUsers & "</a> " & strTxtOnLine & ", " & intActiveGuests & " " & strTxtGuests & ", " & intActiveMembers & " " & strTxtMembers & ", " & intAnonymousMembers & " " & strTxtAnonymousMembers)

I found an message stating that i could insert Const strTxtGuest = "Gäst" in language_file_inc  (I use a swedish language file) and it has:

Const strTxtGuest = "Gäst" on line 381

Someone that can help me ?



The undefined variable is 'strTxtGuests' and you defined 'strTxtGuest'...  (notice the missing 's' at the end of yours...)

Fix the typo and I bet it will work for you...

Tongue


-------------
-D. Israel


Posted By: WebWiz-Bruce
Date Posted: 12 January 2007 at 9:47pm
The string strTxtGuests is a new string in the language file.

Make sure you have also updated your language file to 8.05


-------------
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: materialare.nu
Date Posted: 13 January 2007 at 6:58am
Problem fixed.
 
 
 
 
Ok
If i change to no ´s´or ´s´in both the result is:
 Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strTxtGuest'

/forum/includes/global_variables_inc.asp, line 145

I use a swedish language_file and i can´t find one for 8.05


Posted By: Melkor
Date Posted: 13 January 2007 at 7:18am
Just add;


Dim strTextGuest

under

Dim strTextGuests

and make sure you add the necessary text translation in the....

strTextGuest = whatever Swedish for guests is

part
Thumbs%20Up



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