Closed (fixed)
Project:
Chatroom
Version:
5.x-1.7
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2007 at 16:55 UTC
Updated:
21 Sep 2007 at 17:02 UTC
Using IE7 if it matters.
Installed the Chatroom module and when i load the page it is on it has the following error:
Line: 577
Char: 9
Error: 'chatroom.userColours[...].unUsed' is null or not an object
Code: 0
Behavior is as follows:
Loads the chat window (atleast a box, not sure if it is just the place holder though, I haven't seen a working chatroom module before).
Won't post any chat. Clicking the "Send" button does nothing.
Did I configure something incorrectly?
Comments
Comment #1
bryancall commentedSame problem here...been looking all over for a fix for this but found none...any help is appreciated.
Comment #2
darren ohThis is documented on the project page and INSTALL.txt. You must use a development release of Drupal or change line 1702 of includes/common.inc yourself:
change
to
Comment #3
cwsiteadmin commentedBrilliant. Works perfectly now that I changed that line.
Comment #4
gurukripa commentedhi..
the chatroom worked for a while after changing the 1702 line in includes/common.inc
but now again no more chats visible..and cant enter anymore..
pls help
Comment #5
gurukripa commentedthis problem mentioned above is for the new version..1.6..pls help
Comment #6
gurukripa commentedpls help with this problem..chats work for a while..then dont..also they are not visible till someone types something..so it gives the false impression..that no chat is on
help
Comment #7
detectedstealth commentedSeems like I am having the same issue almost:
On my local computer I patched common.inc, and everything works fine. So I uploaded the modified common.inc to my hosting server and when I send a message there is nothing being sent. I made another change in common.inc to break the site just to make sure it is working, then removed my change, still with no luck.
So I know it has something to do with my host but what should I be looking for? Is there some setting that would be stopping the chat from sending messages? (There is no messages in the messages table)
Comment #8
darren ohUnfortunately, a patch that breaks Chat Room was recently committed to Drupal 5. A fix is available. See issue 159854. Please set it to "ready to be committed" if it works.
Comment #9
zarin commentedI have same problem: messages in chat window appears only after I post a message.
Comment #10
gracearoha commentedHi,
I am also having a problem with chat not working. It was working for a little while and now, when someone types something in, it does not show in the screen. I have patched both the common.inc file and the bootstrap.inc files according to the posts here. I have cleared all my caches and deleted the chatroom cache, but still no go.
Please help!
Comment #11
saml commentedChat room does never send messages for me either.
Using Drupal 5.2 which have the patch in http://drupal.org/node/124359 applied, and the official release of Chatroom, of 2007-Jul-10.
Tried both on my laptop with Win XP/Apache 2.2.3/MySQL 5.0.24a/PHP 5.1.6/PEAR (basic package)
...and on a shared host, Debian/Apache 1.3.37/PHP Version 5.2.2/MySql 4.1.15
Comment #12
saml commentedIt started working when I set the cookie domain in settings.php: (
$cookie_domain = 'the-name-of-my-domain';).Comment #13
darren ohThe latest version of Drupal has a new bug that keeps Chat Room from working. I did my best to warn the Drupal maintainers against releasing version 5.2 until it was fixed, but they wouldn't listen.
Comment #14
gracearoha commentedI am still using Drupal 5.1 and having this problem.
Comment #15
keesje commentedLook here:
http://drupal.org/node/166072#comment-288330
Comment #16
darren ohComment #17
darren oh