Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Can't send a message on IE. Little Icon on bottom left shows an error
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; Comcast Install 1.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Tue, 10 Nov 2009 22:37:03 UTC
Message: Expected identifier, string or number
Line: 86
Char: 5
Code: 0
URI: /sites/all/modules/chatroom/chatroom.js?l
BManuel, thanks for the report, which version of the code are you using?
if you're trying the module for the first time, i'd recommend using the 6.x-2 code, as the 6.x-1 code is slow and buggy, and i'll be deprecating it shortly.
Testing with 6.2 and thanks for taking my advice on button. Great work! However when I click it I get this error.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; Comcast Install 1.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Wed, 11 Nov 2009 20:34:10 UTC
Message: Expected identifier, string or number
Line: 86
Char: 5
Code: 0
URI: sites/all/modules/chatroom/chatroom.js?l
So I thought I investigate (get my hands dirty) and
I think this may be a syntax error.
Komodo editor says "strict warning: trailing comma is not legal in ECMA-262 object initializers (on column 21)
It is on line "86" and type is "warning" .
After you fix can you pls explain to me what this means. Like to learn a little, so I can help better in future
I use Drupal 6.14 and IE7
The version 2.3
I cant send a message because Javascript error like this
Line 87
Zeichen 5
Error Bezeichner, Zeichenfolge oder Zahl erwartet
Code 0
then
Line 26
Zeichen 1
Drupal.chatroom ist Null oder kein Objekt
on Firefox is no Javascript error but the new message is not shown since I leaf the chat and come back
Hi, i'm using 2.5 chat room version... i had problems with IE8.
It came out that there was an error in the file "chatroom.js" at line 85.
I fix the problem changing line 85 from :
uid: uid,
to
uid: uid
I hope this will be helpfull. Im my case work fine
Comments
Comment #1
Anonymous (not verified) commentedplease reopen this if you can reproduce in the latest beta or in the 6.x-2 branch.
Comment #2
BManuel commentedCan't send a message on IE. Little Icon on bottom left shows an error
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; Comcast Install 1.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Tue, 10 Nov 2009 22:37:03 UTC
Message: Expected identifier, string or number
Line: 86
Char: 5
Code: 0
URI: /sites/all/modules/chatroom/chatroom.js?l
Comment #3
Anonymous (not verified) commentedBManuel, thanks for the report, which version of the code are you using?
if you're trying the module for the first time, i'd recommend using the 6.x-2 code, as the 6.x-1 code is slow and buggy, and i'll be deprecating it shortly.
Comment #4
BManuel commentedTesting with 6.2 and thanks for taking my advice on button. Great work! However when I click it I get this error.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; Comcast Install 1.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Wed, 11 Nov 2009 20:34:10 UTC
Message: Expected identifier, string or number
Line: 86
Char: 5
Code: 0
URI: sites/all/modules/chatroom/chatroom.js?l
So I thought I investigate (get my hands dirty) and
I think this may be a syntax error.
Komodo editor says "strict warning: trailing comma is not legal in ECMA-262 object initializers (on column 21)
It is on line "86" and type is "warning" .
After you fix can you pls explain to me what this means. Like to learn a little, so I can help better in future
Comment #5
Anonymous (not verified) commentedah, it means that IE is choking on the comma at the end of the last line of this object definition:
i've committed a fix here, thanks for the report:
http://drupal.org/cvs?commit=288018
Comment #6
Anonymous (not verified) commentedComment #7
pixelchen commentedI use Drupal 6.14 and IE7
The version 2.3
I cant send a message because Javascript error like this
Line 87
Zeichen 5
Error Bezeichner, Zeichenfolge oder Zahl erwartet
Code 0
then
Line 26
Zeichen 1
Drupal.chatroom ist Null oder kein Objekt
on Firefox is no Javascript error but the new message is not shown since I leaf the chat and come back
Comment #8
Anonymous (not verified) commentedi'll have to get an IE7 setup to test this. any chance of a screenshot?
Comment #9
andrea.vivaldi commentedHi, i'm using 2.5 chat room version... i had problems with IE8.
It came out that there was an error in the file "chatroom.js" at line 85.
I fix the problem changing line 85 from :
uid: uid,
to
uid: uid
I hope this will be helpfull. Im my case work fine
Andrea
Comment #10
Anonymous (not verified) commentedargh, thought i'd got all the trailing ',' - thanks for the fix, committed here:
http://drupal.org/cvs?commit=296810
Comment #11
andrea.vivaldi commentedcommas are my nightmares too... :-D