Chat Daemon Error

Chat Daemon Error

by Björn Fisseler -
Number of replies: 2

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.

Average of ratings: -
In reply to Björn Fisseler

Re: Chat Daemon Error

by Andy Byers -

I'm getting very similar messages, and are not able to use AJAX because we have a Load Balancer, if anyone else knows how to resolve...