I've just installed Chat Room and have been testing it out. I've fun into this same problem twice now, and can't determine the cause (or the fix).

I have a chatroom here: http://bassplaying.com/?q=basschat. There are two chats inside it: testchat001 (http://bassplaying.com/?q=chatrooms/archives/1) and testchat002 (http://bassplaying.com/?q=chatrooms/chat/2). I archived testchat001 when it started experiencing this error.

Here's the issue: at a certain point in the chat, usually following a lengthy comment, the box where chat's show up will stop updating. Other posts will still be there, but nothing new will appear. Refreshing the screen (or leaving and coming back to it) blanks out the entire thing: none of the chat shows up. But you can still see the last message if you view all the chats in that room (http://bassplaying.com/?q=basschat). And, when I archived a chat, all of the posts showed up.

So, the posts clearly get written to the DB, but there's some issue with displaying them. I've been using Firefox 2.0. But they're also blanked out using the IE tab extension.

Thanks,

Wheat

Comments

wheat’s picture

Component: User interface » Code
Priority: Normal » Critical

Firebug reports the error as being in line 52 of chatroom.js. The error message is "missing } after property list." Line 52 is part of the chatroomMsgCallback function. The specific line is this:

var resArray = eval(HttpRequest.responseText);

Any ideas?

wheat’s picture

Note: this issue http://drupal.org/node/124359 is not relevant. I'm running Drupal 4.7.10 and MySQL 5.0.24.

Anonymous’s picture

Status: Active » Closed (fixed)