Print Page | Close Window

Bug discovered in Forum v. 7.5

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=6580
Printed Date: 03 April 2026 at 5:57pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Bug discovered in Forum v. 7.5
Posted By: Multe
Subject: Bug discovered in Forum v. 7.5
Date Posted: 20 October 2003 at 4:19am

In this code something is wrong (file: functions/ functions_common.asp )

'*****************************
 '***** Internet Explorer *****
 '*****************************

 'See if MSIE is found in the user agent string then the broser is not a MAC or Opera pretending to be IE
 If InStr(1, strUserAgent, "MSIE", 1) AND InStr(1, strUserAgent, "MAC", 1) = 0 AND InStr(1, strUserAgent, "Opera", 1) = 0 Then

  'Now we know this is Windows IE we need to see if the version number is 5
  If Trim(Mid(strUserAgent, CInt(inStr(1, strUserAgent, "MSIE", 1)+5), 3)) = "5.0" Then

   RTEenabled = "winIE5"


  'Now we know this is Windows IE we need to see if the version number is above 5
  ElseIf Trim(Mid(strUserAgent, CInt(inStr(1, strUserAgent, "MSIE", 1)+5), 3)) => 5.5 Then

   RTEenabled = "winIE"

  'Else the IE version is below 5 so return na
  Else

   RTEenabled = "false"
  End If

In explorer 6 with SP1 the script failes when trying to post a new topic, file "post_message_form.asp" returns a blank page with source that says :

(quoted)
p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a000d'</font>
<p>
<font face="Arial" size=2>Type mismatch: '[string: &quot;6.0&quot;]'</font>
<p>
<font face="Arial" size=2>/forum/functions/functions_common.asp</font> ..

(/quoted)

The line reference is marked with bold red.
Any suggestions?




Replies:
Posted By: WebWiz-Bruce
Date Posted: 20 October 2003 at 4:49am
If you search the forum this has been asked quite a number of times and solutions have been posted!!!

It's all down to your server using a different sign other than a period (.) for decimal numbers.


-------------
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: Multe
Date Posted: 20 October 2003 at 5:40am
bOrg: Thanks, finally I found the soultion on a thread from oct. 8.
Thank you very much, and sorry for the inconvience.




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