Help me with this problem
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=18191
Printed Date: 13 April 2026 at 12:12pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Help me with this problem
Posted By: NickyPhils
Subject: Help me with this problem
Date Posted: 29 January 2006 at 11:40pm
When I try to go to my forum, the following message appears:
Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'internationalDateTime'
/[my site name]/Forum/common.asp, line 469
So what is my problem? How do I fix it? I tried searching this forum but I couldn't find anything, so I decided to post my question.
It seems to be referring to this section of the code:
'If the cookie is older than 5 mintues set a new one If IsDate(Request.Cookies(strCookieName & "LV")("LV")) Then
If CDate(Request.Cookies(strCookieName & "LV")("LV")) < DateAdd("n", -5, Now()) Then Response.Cookies(strCookieName & "LV")("LV") = internationalDateTime() Response.Cookies(strCookieName & "LV").Expires = DateAdd("yyyy", 1, Now()) End If
'If there is no date in the cookie or it is empty then set the date to now() Else [469] Response.Cookies(strCookieName & "LV")("LV") = internationalDateTime() Response.Cookies(strCookieName & "LV").Expires = DateAdd("yyyy", 1, Now()) End If
So yeah, how should I go about fixing this?
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 30 January 2006 at 1:49pm
The function internationalDateTime() is found in the functions/functions_common.asp file.
You haven't said what version your are using or if this is after an upgrade?
If this is a clean install then you may have a corrupted file, so try re-uploading the files again.
If this is an upgrade then you may not have upgraded all the files, so make sure you are using the functions/functions_common.asp from the latest version.
------------- 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
|
|