Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem from 8.04 to 8.05
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem from 8.04 to 8.05

 Post Reply Post Reply
Author
materialare.nu View Drop Down
Newbie
Newbie


Joined: 02 January 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote materialare.nu Quote  Post ReplyReply Direct Link To This Post Topic: Problem from 8.04 to 8.05
    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 ?

Back to Top
disrael View Drop Down
Groupie
Groupie


Joined: 28 November 2006
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote disrael Quote  Post ReplyReply Direct Link To This Post 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
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: 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
Back to Top
materialare.nu View Drop Down
Newbie
Newbie


Joined: 02 January 2007
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote materialare.nu Quote  Post ReplyReply Direct Link To This Post 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


Edited by materialare.nu - 13 January 2007 at 7:08am
Back to Top
Melkor View Drop Down
Groupie
Groupie


Joined: 11 December 2006
Location: United States
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote Melkor Quote  Post ReplyReply Direct Link To This Post 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
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.