Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
I am using node --version
v0.4.12
However, a couple of things. I've enabled the watchdog module, but unless I add the channel "watchdog_dblog" to user uid 1 via /nodejs/user/channel/add manually I get "publishMessageToContentChannel: The channel "watchdog_dblog" doesn't exist."
Do you have to register the "watchdog_dblog" channel manually every time?
Further, with the chatroom module no messages or text appears when sent and I am getting log:
publishMessage: message { channel: 'chatroom_chat_11',
broadcast: false,
type: 'newMessage',
callback: 'chatroomNodejsMessageHandler',
data:
{ html: '<div class="new-message chatroom-msg">(15:21:22) <strong><a href="/users/admin" title="View user profile.">admin</a>:</strong> <p>test</p>\n</div>',
text: 'test',
name: 'vitya',
name_stripped: 'admin',
cmid: '28',
type: 'message',
uid: '1',
modified: '1318692082',
date_format: 'H:i:s',
public_css_class: 'chatroom-msg',
private_css_class: 'chatroom-private',
themed_username: '<a href="/users/admin" title="View user profile.">admin</a>',
themed_message: '<p>test</p>\n',
recipient_uid: '0',
viewed_uid: '1' },
clientSocketId: '' }
Sent message to 0 clients in channel "chatroom_chat_11"
getNodejsSessionIdsFromUid { uid: '1', sessionIds: [] }
No active sessions for uid: 1
Not sure what's going on frankly. However, node server.js starts up just fine.
Am I missing something?
Comments
Comment #0.0
gumdrop CreditAttribution: gumdrop commentedchanged blockquote to code
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedyou can safely ignore the watchdog_dblog channel message.
chatroom is not ready yet. please post specific issues in the chatroom queue.
Comment #1.0
Anonymous (not verified) CreditAttribution: Anonymous commentedsome errors