I looked at the sent/received HTTP requests durring the /join command and durring typing messages.
The commands are well sent but the response is empty.
I the looked at the source code. I think the problem is when the default file container try to write the message in the files.
it is located in src/container/file.class.php :
- Code: Select all
function write($chan, $nick, $cmd, $param)
{
$c =& $this->c;
$msg_dir = ($chan != NULL) ?
$c->container_cfg_channel_dir."/".$this->_encode($chan)."/messages" :
$c->container_cfg_server_dir."/messages";
// check the messages directory exists
$errors = @test_writable_dir($msg_dir, $chan."/messages");
// request a unique id for this new message
$msg_id = $this->_requestMsgId($chan);
$msg_filename = $msg_dir."/".$msg_id;
// format message
$data = "n";
$data .= $msg_id."t";
$data .= date("d/m/Y")."t";
$data .= date("H:i:s")."t";
$data .= $nick."t";
$data .= $cmd."t";
$data .= $param;
// write message
file_put_contents($msg_filename, $data);
return $msg_id;
}
I think there is a problem on this line :
$errors = @test_writable_dir($msg_dir, $chan."/messages");
The directories are certainly not created for unlit reasons.
I just patched the sources in order to take into account this returned $errors array.
So I suggest you to wait for the 1.0-beta5 (or download the lastest subversion revision) and see what errors it displays.