Closed (fixed)
Project:
Chatroom
Version:
6.x-2.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jul 2010 at 18:17 UTC
Updated:
13 Jul 2010 at 14:52 UTC
Jump to comment: Most recent
Hi, great module!
I've had this module working once, and then it stopped, with chats only updating when text is entered. I have the correct module path and chatroomread.php in webroot. Im not getting any errors in httpd logs.
I've also upgraded to the latest 2.11 release and still the same problem.
Any suggestion for hints on the problem?
Comments
Comment #1
Bimble commentedI do get the following errors in the browser console:
When typing, each character pressed generates:
Warning: The 'charCode' property of a keyup event should not be used. The value is meaningless.
(against the chat node)
When submitting the text:
Warning: Unknown pseudo-class or pseudo-element 'last'.
(against the chat node)
Comment #2
Anonymous (not verified) commentedwhich browser? do you have any other modules enabled that load a lot of javascript?
Comment #3
Bimble commentedThe browser is firefox,
The following JS is enabled:
src="/modules/jquery_update/replace/jquery.js?U">
src="/misc/drupal.js?U">
src="/modules/fivestar/js/fivestar.js?U">
src="/modules/panels/js/panels.js?U">
src="/sites/all/modules/chatroom/chatroom.js?U">
src="/misc/textarea.js?U">
src="/sites/all/modules/chatroom/chatroom.user.add.widget.js?U">
src="/misc/autocomplete.js?U">
src="/misc/collapse.js?U">
src="/sites/all/plugins/imageflow/imageflow.packed.js?U">
src="/modules/views_slideshow_imageflow/views_slideshow_imageflow.js?U">
with Panels, imageflow, and views:slidshow running on the page...
Comment #4
Anonymous (not verified) commentedok, thanks for the info.
is it possible to disable one/some of those and see if that helps? it would be a big help to me if in narrowing down where the incompatible js comes from.
Comment #5
Bimble commentedI can get it down to this:
="text/javascript" src="/misc/drupal.js?6">
="text/javascript" src="/modules/panels/js/panels.js?6">
="text/javascript" src="/sites/all/modules/chatroom/chatroom.js?6">
="text/javascript" src="/misc/textarea.js?6">
="text/javascript" src="/sites/all/modules/chatroom/chatroom.user.add.widget.js?6">
="text/javascript" src="/misc/autocomplete.js?6">
="text/javascript" src="/misc/collapse.js?6">
="text/javascript">
And still same problem.
Im guessing its not panels, no panels are active on the page and you would have everyone screaming if there were a pnel clash...
Still the same console errors.
Comment #6
Bimble commentedOk, got it working again. Trying to repliacate the fault. I did two things, not sure which one fixed:
- I made the edit to chatroom.install mentioned here :http://drupal.org/node/851070 though I had no error logs, i thought a silent error might exist if the install was wrong (straw clutching maybe)
- I also enabled all the permissions. Since I had the module working previously I'd tried to tighten the access permissions (so certain roles couln't admin the chatooms). There might be an error there and Im going to mess around a bit and post conclusions...
Comment #7
Anonymous (not verified) commentedthanks for looking into it, i'll leave this open until you report back.
Comment #8
Bimble commentedOk, set permissions back to restricted, and still working. I've enabled some of the other modules with javascript and still working
Can't offer any explanations..
Comment #9
Bimble commentedWhatever happened to fix it, the browser console errors also disappeared...
Perhaps the chatroom.install edit fixed it?
Comment #10
Anonymous (not verified) commentedok, i'll close this issue. please reopen if you manage to reproduce the bug.
sometimes drupal's caching can cause this sort of issue...
Comment #11
Bimble commentedI got to the bottom of why it wasnt working, it was because the default values for the chatroom created through node_save appear to be non-functional. I openened a new ticket here because they should probably be changed in a next code drop even though the solution is pretty simple.
posted new ticket here http://drupal.org/node/852760