Hello. I've set up a fresh installed of the lastest stable Drupal release and the latest version of the Chat Room module. I followed the installation instructions carefully. I've put the chatroomread.php file in the site root, and I've gone as far as giving authenticated and non-authenticated users complete role/permission settings to ensure that wasn't the issue.
However, when I enter text into the message window and hit enter or press the 'chat' button, nothing happens with the exception of the text disappearing.
I've also tried the latest dev version of the module with no luck.
I'm pretty new to Drupal, so I could be missing something simple?
Thanks in advance for any help!
Comments
Comment #1
Jolva commentedUpdate: I learned you need to have Clean URL's turned on for the Chat Room module to function at all. This isn't noted in the documentation as far as I can tell? My apologies if I over looked something obvious!
Comment #2
zatox commentedThanks, enabling Clean URL's solved the problem for me
Comment #3
vj0914 commentedI have the same issue with Jolva. I do have clean url turned on. but it still doesn't show message.
I am using drupal 6.19 and latest version of chat room
Comment #4
Gray Pockets commentedI have found the fix! In the new version of drupal, the Drupal Bootstrap command is destroying all local variables. In chatroomread.php, local variables are set, then drupal bootstrap is called, then the local variables are used.
Modify "chatroomread.php"
Move the following lines to the top of the page:
// Bootstrap configuration to make sure we get the right
// value from session_name() and some paths for caching.
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_CONFIGURATION);
Comment #5
librarywebchic commentedI'm experiencing this same problem. I've tried what is suggested in #4 but it doesn't seem to make any difference. I'm using Drupal 6.19 and the 6.x-2.x-dev version of Chatroom.
Comment #6
Anonymous (not verified) commentedi can't reproduce this with the latest chatroom code and drupal 6.19.
can one of the reporters give me any more information, or maybe a test site that shows the bug?
Comment #7
AlexisWilke commentedJustin,
I had the same problem. There is a patch which is better (I think) than what is proposed in #4, which is to move the local variables under the bootstrapping. This way, you still avoid wasting time if you don't actually need to bootstrap.
There is a patch attached.
Thank you.
Alexis Wilke
Comment #8
Anonymous (not verified) commentedthanks for the patch, committed here:
http://drupalcode.org/project/chatroom.git/commit/698d7f3