Currently, when you create a new chat type node and then try send a message, it fails silently.

I am working on it.

CommentFileSizeAuthor
#2 chatroom_1184396_2.patch1.8 KBdarklrd

Comments

darklrd’s picture

Further investigation showed that server returns the following response when the message is posted by Drupal.chatroom.postMessage:

responseText: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /chatroom/chatroom/chat/post/message/1/0 was not found on this server.</p>
<hr>
<address>Apache/2.2.17 (Ubuntu) Server at localhost Port 80</address>
</body></html>

The url to which POST request is made is incorrect and even after correcting it, the module doesn't handle the path.

darklrd’s picture

StatusFileSize
new1.8 KB

Here is a patch:

nikkubhai’s picture

subscribing

nikkubhai’s picture

Hey ! Sorry for this delay. Actually I am new to drupal and did not know previously how to apply patch.

I just applied the patch now and tested the module. It works great now. You can commit it. Thanks!

nikkubhai’s picture

Status: Active » Reviewed & tested by the community
nikkubhai’s picture

Please commit!!!!

Anonymous’s picture

Status: Reviewed & tested by the community » Fixed

ok, committed a revised version of the patch to both 7.x-1.x and 6.x-2.x branches, thanks:

http://drupalcode.org/project/chatroom.git/commit/08c6089
http://drupalcode.org/project/chatroom.git/commit/9feb4b2

kashyapvishwas’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev

I still have the same error with drupal 6.22 ! I uninstalled the previous versions and installed the latest development release ...But still getting the same error as above... Help required!

drein’s picture

Status: Fixed » Active

Unfortunately from commit in 25 august, I can't send message any more.
So, also 6.2.17 is broken.

I suggest to remove in the momepage that d6 version is stable, because now, chat doesn't work, and also chatroom blocks don't appear.

zhongguo999999’s picture

Yes. I find that the Chat Room 6.x-2.17 don't work!
And the server always becomes unresponsive (CPU 100%).

demoshane’s picture

http://www.photoecstatic.net/kehitys/node/19

Same here, after migrating from DAMP stack to live server, chat just doesn't show any sent messages. Tried latest dev version too and nothing, uninstalled, reinstalled, purged database etc nothing helps. Also it seems chat room module makes site to crawl so I think 100% CPU issue too.

Such a shame as this feature was no. 1 request for site =/

anjelonline’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev

I have 7x-8.x and when I create a chat room I can't add chat in the room , it just creates a simple node! any idea what could be wrong?

Seneschall’s picture

Did you remember to move "chatroomread.php" to the root folder? It's in the readme.txt file, though should probably be added to the description on the module page itself just for a reminder. Worked fine for me once I did that.

Tarab’s picture

I am using 6.x-2.18 and I am unable to post messages, and the active chat block is not appearing on the navigation menu. Please help!