ejabberd 2.01的模块" mod_eventful"无法加载

时间:2017-03-01 12:54:10

标签: php erlang ejabberd

我们正在使用 Ubuntu 14.04.5 LTS ,我们已经安装了 ejabbered 2.1 但是插件mod_eventful无效。

我们检查了var/www/ejabbered/ejabberd.log下的错误日志,发现错误日志

{'module could not be loaded',
[{http,request,
[post,
{"http://192.168.1.60/messages",
[{"Authorization",
"Basic SFRUUCBCQVNJQyBVU0VSTkFNRTpIVFRQIEJBU0lDIFBBU1NXT1JE"}],
"application/x-www-form-urlencoded",
"from=kandhal%40192.168.1.60/15310114851488363705601144&to=hitesh%40192.168.1.60&type=chat&subject=&body=%7B%22isdownload%22:false%2C%22issent%22:false%2C%22fromuserid%22:%22kandhal%40192.168.1.60%22%2C%22ptopid%22:%22%22%2C%22messageid%22:%221488363577548%22%2C%22message_time%22:%221488363577911%22%2C%22mediathumb%22:%22%22%2C%22is_read%22:false%2C%22isseen%22:false%2C%22fromprofilepic%22:%22%22%2C%22isread%22:false%2C%22messagesource%22:%22VGhlIG9ubHkgcHJvYmxlbSBJIGhhZCB3YXM%3D%22%2C%22messagetype%22:%22text%22%2C%22fromusername%22:%22Kandhal%20AB%22%7D&thread="},
[],
[{sync,false},{stream,self}]],
[]},
{mod_eventful,handle_call,3,
[{file,"src/web/mod_eventful.erl"},{line,188}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,585}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

任何帮助都将不胜感激。

1 个答案:

答案 0 :(得分:1)

您是否阅读过this post

错误消息显示无法加载{{1}}。 因为在R15B中删除了{{1}}。

也许你会看到如下的警告信息,

  

src / web / mod_eventful.erl:139:警告:调用http:request / 4将失败,因为它已在R15B中删除; 使用httpc:request / 4

不幸的是,这个模块似乎支持 ejabberd 2.1.x ,而且该模块的创建者不再支持。