• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 2.x Branch ‹ General Support (v2.x)
  • Change font size
  • FAQ
  • Register
  • Login

Javascript error on IE8

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
5 posts • Page 1 of 1

Javascript error on IE8

Postby paulwye » Tue Feb 05, 2013 11:56 pm

Hi,

I'm having an issue where the chat works fine in all modern browsers, but on IE8 I have the issue as outlined below. Yes, I realize it's kind of old and I would like to be able to drop support for it entirely, but that's not really feasible, at least for the time being.

The configs for my chats are pretty standard other than changing the title, no advanced config or parameters, but loaded up two fresh configs and the problem is still there. It's on a dedicated server, sorry for using IPs and not FQDNs.

PFC Version: 2.0.0 and 2.0.5 (tested on an earlier version as well, just to be sure)
PHP Version: 5.3

Dedicated hosting.

v2.0.5: http://38.110.69.122/testchat/examples/default.html
v2.0.0: http://38.110.69.122/testchat2/examples/default.html

I can't reproduce this on the official demo, although I'm presented with two other Javascript errors, as outlined further down.

The principal issue is that the list of participants on the right-hand side is not displayed when a user is on IE8, and the following Javascript error is given:
==================================
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)
Timestamp: Tue, 5 Feb 2013 22:11:16 UTC


Message: Object doesn't support this property or method
Line: 1
Char: 2987
Code: 0
URI: http://38.110.69.122/testchat/client/jq ... hat.min.js
====================================

When trying the official demo, the participant lis is displayed correctly but two different and separate Javascript errors are given:
=====================================
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3)
Timestamp: Tue, 5 Feb 2013 22:12:40 UTC


Message: Object doesn't support this property or method
Line: 1
Char: 200
Code: 0
URI: http://www.phpfreechat.net/lib/plugins/ ... nu/edit.js


Message: 'console' is undefined
Line: 1
Char: 27264
Code: 0
URI: http://www.phpfreechat.net/js/bootstrap.min.js
==================================================

I'd be grateful for any insight you'd be able to provide.

Cheers,

-Paul
paulwye
New member
 
Posts: 2
Joined: Tue Feb 05, 2013 11:34 pm
Top

Re: Javascript error on IE8

Postby phpfreechat » Wed Feb 06, 2013 10:29 pm

This bug should have been fixed so wait for the next release or try the latest code from github.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Javascript error on IE8

Postby paulwye » Fri Feb 08, 2013 6:06 pm

phpfreechat wrote:This bug should have been fixed so wait for the next release or try the latest code from github.


Fantastic--pulled the code out of git and it's working perfectly. Thanks so much!
paulwye
New member
 
Posts: 2
Joined: Tue Feb 05, 2013 11:34 pm
Top

Re: Javascript error on IE8

Postby phpfreechat » Fri Feb 08, 2013 6:21 pm

Ok great, thank you for the feedback.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Re: Javascript error on IE8

Postby rick001 » Tue Feb 19, 2013 3:55 pm

the bug has been fixed, i remember posting a trouble similar to this and phpfreechat did find out the errors and modifying the script a bit worked. Though i pulled the edits from the github page so cant really remember the modifications that were made. May be you could look into the forum for previous threads and u will find what u need
rick001
Member
 
Posts: 35
Joined: Sun Oct 16, 2011 1:28 pm
Top


Post a reply
5 posts • Page 1 of 1

Return to General Support (v2.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub