Hi,
I try to setup the chat daemon for Moodle. It works, but only for a few seconds, then the daemon crashes.
When I start the daemon via SSH, I get the following repetative output:
[2013-02-07 09:57:07] Only variables should be passed by reference on line 695
[2013-02-07 09:57:07] Only variables should be passed by reference on line 695
[2013-02-07 09:57:07] Only variables should be passed by reference on line 725
[2013-02-07 09:57:07] Only variables should be passed by reference on line 725
[2013-02-07 09:57:07] Only variables should be passed by reference on line 1008
[2013-02-07 09:57:07] Only variables should be passed by reference on line 1008
[2013-02-07 09:57:07] Only variables should be passed by reference on line 1008
[2013-02-07 09:57:07] Only variables should be passed by reference on line 1008
[2013-02-07 09:57:07] *IMPORTANT* User has disconnected, destroying uid 3 with SID 7K4mWoqKm65hT5onl6NiQ5jExpR1e5Xr
[2013-02-07 09:57:07] *CRITICAL* [php] Creating default object from empty value on line 464
[2013-02-07 09:57:07] *CRITICAL* [php] Undefined index: lastinfocommit on line 232
As you can see, the daemon crashes (on the line "User has disconnected"). It also drops the following error:
!!! Fehler in der Kodierung gefunden, den nur ein Programmierer korrigieren kann: moodle_database::update_record_raw() id field must be specified. !!!
Btw, we're using Moodle 2.2.7 on a Linux machine.
Any suggestions on how to setup the daemon properly? Otherwise we would have to use the ajax based chat, which could spoil the performance.