This is a very nice module, but you will have a error If you log out and then log in again.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; Embedded Web Browser from: http://bsalsa.com/; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; CIBA; .NET4.0C)
Timestamp: Sun, 21 Aug 2011 13:49:13 UTC
Message: Object doesn't support this property or method
Line: 2
Char: 7657
Code: 0
URI: http://localhost/sites/all/modules/drupalchat/js/drupalchat-min.js?v
This problem is caused by Internet Explorer use of cache.
You should clear the IE recent history(cache) and the error was gone.
So the drupalchat-min.js have a bug.
Have anyone solved the problems yet?
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | repeat.jpg | 8.24 KB | zhongguo999999 |
| #8 | the same message repeat.JPG | 6.07 KB | zhongguo999999 |
Comments
Comment #1
zhongguo999999 commentedMy solution:
Comment #2
darklrd commentedI have changed the code to use drupalchat.js in the latest release instead of drupalchat-min.js. Please check it out. Re-open this if the issue still exists.
Comment #3
zhongguo999999 commentedI try the 6.x-2.0-beta5,
But I have the error(in ie8):
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 14 Sep 2011 11:03:11 UTC
Message: Object doesn't support this property or method
Line: 243
Char: 6
Code: 0
URI: http://localhost/sites/all/modules/drupalchat/js/drupalchat.js?X
Comment #4
darklrd commentedPlease clear your IE cache once and try again.
Comment #5
zhongguo999999 commentedI clear the IE cache again and again, but there has always been the error.
You'll have the error when you receive the message, but you don't have the error when you don't have message.
Comment #6
zhongguo999999 commentedI clear my IE cache once and try again. It's OK, but....
If the page is being refreshed or is being loaded other page, you will receive the error in IE.
If you logged out and then logged in, you will receive the error in IE.
You’ve been keeping to clear the IE cache................
BTW, on another machine I always receive the error,even though I clear the IE cache again and again. The Drupalchat don't work.
Comment #7
zhongguo999999 commentedI try the 6.x-2.0-beta6,
But I have the error(in ie8):
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 2.0.50727)
Timestamp: Fri, 16 Sep 2011 09:45:25 UTC
Message: '0.scrollHeight' Null or not an object
Line: 64
Char: 12
Code: 0
URI: http://localhost/sites/all/modules/drupalchat/js/drupalchat.js?j
But soon I discovered that the error caused by disabling the Long Polling in admin/settings/drupalchat or not opening the subpanel. So minor changes can help make code more robust and easier to use.
Comment #8
zhongguo999999 commentedin 6.x-2.0-beta6:
I find that the same message always will be displayed again and again, never stopping . See the attachment.
Comment #9
darklrd commentedFixed in 6.x-2.0-beta7.
Comment #10
zhongguo999999 commentedI try the 6.x-2.0-beta7. It's OK. Thank you!
BTW, The blocking issues in IE continue to exist. If you click the links on the page you will find the IE is getting slow(More than two clicks). See here: http://drupal.org/node/1276674
Comment #11
zhongguo999999 commentedThe error repeating the same message continue to exist, but sometimes It's ok.
I don't know what is wrong with it.
Comment #12
zhongguo999999 commentedI tested the Drupalchat 6.x-2.0-beta8 in localhost and intranet again.
1. In localhost it's OK in IE8.
2. in intranet computer A, it's OK in IE8 too.
3. But in intranet computer B, an error occurs again in ie8.
Message: Object doesn't support this property or method
Line: 246
Char: 6
Code: 0
URI: http://localhost/sites/all/modules/drupalchat/js/drupalchat.js?X
So I comment out the obj.drupalchatbeep(), and the computer B works in IE8.
I can't work out what was going wrong, so I google and find that blow.
But I don't know how to do. It's just a simple indication.
Comment #13
zhongguo999999 commentedComment #14
zhongguo999999 commentedHi.
The error appear again in intranet computer C (in IE7).
Message: Object doesn't support this property or method
Line: 247
Char: 6
Code: 0
URI: http://168.192.1.1/sites/all/modules/drupalchat/js/drupalchat.js?X
I comment out the obj.drupalchatbeep(), and the computer C works.
Comment #15
zhongguo999999 commentedComment #16
darklrd commentedDoes this work fine in IE8?
Comment #17
zhongguo999999 commentedNo, The error appear in IE7 and IE8 sometimes, but some machine don't appear sometimes.
Comment #18
zhongguo999999 commentedToday, I test the Drupalchat 6.x-2.0-beta8 again.
I test 4 computer across the intranet with IE.
In localhost , Everything is all right. It's browser version is IE8(8.0.6001.18702).
In intranet, computer A is all right. It's browser version is IE8(8.0.6001.18702).
In intranet, computer B don't work. It's browser version is IE8(8.0.6001.18702).
In intranet, computer C don't work. It's browser version is IE7.
BTW: if using the Firefox, all computer work !
The error is caused by obj.drupalchatbeep().
So I comment out the obj.drupalchatbeep(), and all computer work !
Comment #19
darklrd commentedFixed - http://drupalcode.org/project/drupalchat.git/commit/34a94d2.