I wanted to configure the chat using port 9111. Is the port TCP or UDP, source or destination...
Thanks in advance...
I added TCP, in and out but when I loaded the chat page, it saids page cannot be loaded. By the way I'm using 1.4 stable.
I just had a look at this and had the same problem after configuring via the chat module settings page, but after reading README.txt in the moodle/mod/chat directory, found the following extra step that is needed:
cd moodle/mod/chat
php chatd.php --start &
After I did this the problem you described above disappeared and the chat seems to be working perfectly now!
A quick question for Martin or someone else: once started via "php chatd.php --start &", will the chat daemon run continously? If I need to shut the daemon down, what command should I use?
Tim.
What about when the server goes down, is the chat deamon starts automatically when the servers goes online?
Chat stops when I restart network service? What will I add in the init.d?
-Thanks in advance Martin...
I see, do you mean to say everytime the server goes down I have to start the chat manually, is there a way to place it on boot section or system init...
Hello,
I know this is an old post but I found it helpful with my problem. I'm running moodle on Apache /Windows 2000.. Everytime I start the chat daemon withthe php command, I get the following error..
Error: Function socket_setopt<> does not exist.
Possible PHP has not been compiled with --enable-sockets.
How do I recompile PHP to enable sockets?
Alson,. while I'm at it, when chatting in normal mode, the chat does not archive sessions. Any ideas why? I'm using moodle 1.4+ on Windows.
Thanks in Advance.
How about in linux? Is this correct?
Under /etc/rc.d/rc.local I added this lines:
cd /home/moodle/mod/chat
php chatd.php --start &
I hope Martin should include this in chat read me file for linux users...
Hope this helps...
Martin,
Exactly what file should I add the command?