Hi, after installation (drupal 5.2, chatroom 5.x-1.8), configuring permisison, creating chat room node, create chat, server have made the file in the tmp directory (whit apache privilege) I open the chat and immeditely the sistem give me this message: "You have been kicked out of prova chat for misbehaving.". But I have write nothing.
There is somewhere a wiky or a documntation? So, It's hard to undestand what's wrong in my system....
Thanks

Comments

akrywko’s picture

I have the same problem if i remove line:
$cookie_domain = 'www.test.krywko.pl';
from [drupal directory]/site/default/settings.php

Try to add $cookie_domain

kikko’s picture

Thanks, tomorrow I try.
Goodnight

darren oh’s picture

This is caused by mismatch between the $base_url of your site and the one Chat Room uses to request updates. I thought that we had prevented this. I would like to look at your site before you fix it if you don't mind.

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)
kikko’s picture

Hi,
this morning I have uncommented the $cookie_domain in the settings.php of http://www.lanuovastagionerimini.net, as suggested by akrywko.
Sorry, Darren Oh, I have not see your message, this morning, before to do it.
So, looking at the setting.php, I have see that I haven't set the base url, so I do it.
The chat is ok, I try it with some users.
The chat room is enable only for some kind of user: if you want, i can change something for your test, during these days, if you like. My own site is www.enricorotelli.it/blog, here you can find my contact (skype, mail ecc ecc), if you prefere.
Thanks for the answers.

darren oh’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

Turns out I committed the wrong patch for issue 160068.

kikko’s picture

Hi,
I try something.
I post a phrase in the chat, then I comment the base url in the settings.php, Darren Oh, and the chat doesn't receive any more message. But does't kick me off.
So uncommented the settings.php and the chat start again.
Hope this help.
Thanks again to all,
Kikko

Kirsten’s picture

Hello,

I downloaded and installed the Chat Room module on a fresh (unmodded) Drupal 5.1 yesterday. I encountered the problem mentioned in this thread of being kicked out automatically on entering and without typing anything in. After reading http://drupal.org/node/160068, I asked my web developer to install the prescribed patch. She reviewed the files and said it was already part of the package I had installed.

Other than the patch, are there any other fixes for this problem? The demo is exactly what I'm looking for and I'd really like to use this module.

My system specs:
Apache version 1.3.37 (Unix)
PHP version 4.4.7
MySQL version 4.1.22-standard-log
Linux

I can make access available to you, Darren Oh, if that would be helpful.

Thanks!

rafaxgx’s picture

Version: 5.x-1.8 » 5.x-1.9
Priority: Normal » Critical

Hi Darren Oh (and others),

I have the same problem. I've just installed the drupal app and installed the module 5.x-1.9. I've tried as guest, registered user, admin, etc. but there's no way! Without writing anything, displays the message "You have been kicked out of '...' for misbehaving".

I've tried to set writing permission to 644 to 'settings.php', but I reverted again to 444.

System specs:
Drupal: 5.1
Configuration file: Protected
GD Library: bundled (2.0.34 compatible)
MySQL database: 4.1.20
PHP: 5.2.2
Unicode Library: PHP Mbstring Extension
Web Server: Apache/2.0.52 (Red Hat)

Thanks in advance. Rafael.

contact@rafaxgx.com

www.rafaxgx.com/drupal

(The main site is under construction, don't get shocked!!!) ;-)

femrich’s picture

Same problem. I see this is marked as a "duplicate" issue, but I did not notice a link to the duplicate. Tracking this...

darren oh’s picture

See #6 for link. If that's not your problem, see issue 179785.

femrich’s picture

Hmmm.... Your link for "#6" goes to an issue dealing with XML_Sitemap, and I don't see how it relates to this problem. As for the second link, it seems to suggest this is an unresolved issue. I will try to track there and hope someone comes up with a solution that a coding pre-neophyte can understand. In the meantime, uninstalling...