I am running the current version of drupal 6 and the chat does not update, i.e. if user a enters a message then it does not appear on users b screen until use b is enetering its own message. I used firefoy and safari to check the module, javascript is enabled.
Also I get the following error message: warning: file_put_contents(/tmp/chatroom.chat.4201.cache) [function.file-put-contents]: failed to open stream: No such file or directory in C:\xampp\htdocs\np\sites\all\modules\contrib\chatroom\chatroom.module on line 895.
I had a look at the code and it seems that the module does not make use of drupal's standard tmp directory but uses its own tmp-filepath that is possibly not correctly configures. Maybe chatroom.module could use the drupals sitewide settings?
Comments
Comment #1
Anonymous (not verified) commentedthanks for the report, i've committed:
http://drupal.org/cvs?commit=288100
to fix the temp directory path.
is suspect this code:
is causing the non-update behaviour - directory doesn't exist, so chatroomread.php just exits.
please test with the latest cvs, which will hopefully fix your issue.
i guess i might need to revisit that check just silently exiting.
Comment #2
Docc commentedSame problem here, latest dev
Shouldnt the url point to the module directory for chatroomread.php instead of basepath? "url: Drupal.settings.basePath + 'chatroomread.php'"
I have also the problem of the tmp directory. Could be a local problem though.
Comment #3
Anonymous (not verified) commentedDocc: chatroomread.php needs to be copied into the base directory next to index.php, as the README.txt explains. do you still have the /tmp issue even with the code that uses drupal's configured tmp directory?
Comment #4
Docc commentedhmz typical example of RTFM. All works well know. You can close this issue.
Comment #5
Anonymous (not verified) commentedthanks :-)
Comment #6
Anonymous (not verified) commented