Rays Chat Module and e-mail question

Rays Chat Module and e-mail question

Jai cheswick
Vastuste arv 8
Doesn't seem to work with 1.08

I keep getting the error page coming up..

"cannot make new instance of chat..."


ALSO how do I e-mail all 'students' from within moodle ?

Jai
Keskmine hinnang: -
Vastuses Jai cheswick

Re: Rays Chat Module and e-mail question

Martin Dougiamas
Core developers pilt Documentation writers pilt Moodle HQ pilt Particularly helpful Moodlers pilt Plugin developers pilt Testers pilt
No, unfortunately that chat module doesn't work in 1.0.8 - I had to change too much database stuff.

You email all students using the news forum.
Vastuses Martin Dougiamas

Re: Rays Chat Module and e-mail question

Ray Kingdon
With the advert of 1.0.8 there's a couple of changed configuration files needed for the chatarea module. These mods allow the chatarea tables to be prefixed.

The two files are
moodle/mod/chatarea/phpmychat/config/config.lib.php
moodle/mod/chatarea/phpmychat/lib/chatparams.lib.php

They're in the attached zip file. Copy the zip file into the moodle directory and unzip it, that should put the new files into the correct places.

Ray
Vastuses Ray Kingdon

Re: Rays Chat Module and e-mail question

Carlos González

I tried it and got

Warning: Failed opening 'C:\Archivos de programa\EasyPHP\www\moodle/mod/chatarea/version.php' for inclusion (include_path='.;C:\Archivos de programa\EasyPHP\php\pear\') in C:\Archivos de programa\EasyPHP\www\moodle\lib\moodlelib.php on line 1195

sad.gif

Vastuses Carlos González

Re: Rays Chat Module and e-mail question

Ray Kingdon
That look's like a permissions problem. Check that the web server can get into the chatarea directory and read the files there. version.php is there, it's only got a couple of real lines. The web server also needs to read the chatarea/myphpchat directory and down into the subdirectories held there.

(On a window's box it's the IUSR_server_name user (I think). That user needs read access on all these directories and files.)

Hope this helps lahe
Vastuses Ray Kingdon

Re: Rays Chat Module and e-mail question

Rune Hansen
Hi.
I am running 1.0.8.1 (2003011200) and I get the "Could not add a new instance of chatarea" even after I replaced the two files.

I've even removed and re-installed the entire chat-module (and removed the chatarea* tables and the chatarea entry in the modules table)...

Any ideas?

Edited: Works after renaming the tables to "mdl_chatarea*" instead of just "chatarea*" Whee!
Edited 2: Uhm, gives an invalid SQL error. I really don't think the table setup is correct, even in the chatarea108.zip...

--rune
Vastuses Jai cheswick

Re: Rays Chat Module and e-mail question

Pablo Torrealba

Hi all,

I have the following error when I try to create a Chat Area:

"Could not add a new instance of chatarea"

I chowned chatarea directory to web server, but the errpr remains the same.  I installed both files sent by Ray too.

Thanks for help and greetings from Chile

Pablo Torrealba