Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Bug discovered in Forum v. 7.5
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug discovered in Forum v. 7.5

 Post Reply Post Reply
Author
Multe View Drop Down
Newbie
Newbie


Joined: 20 October 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Multe Quote  Post ReplyReply Direct Link To This Post Topic: Bug discovered in Forum v. 7.5
    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?

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: 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.
Back to Top
Multe View Drop Down
Newbie
Newbie


Joined: 20 October 2003
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Multe Quote  Post ReplyReply Direct Link To This Post 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.

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.