无法加载 ejabberd 2.01 的模块 "mod_eventful"
ejabberd 2.01's module "mod_eventful" could not be loaded
我们正在使用 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}]}]}
如有任何帮助,我们将不胜感激。
你读过this post了吗?
错误消息说无法加载 http:request/4
。
因为 http:request/4
在 R15B 中被删除了。
也许您会看到如下警告消息,
src/web/mod_eventful.erl:139: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
不幸的是,这个模块似乎支持 ejabberd 2。1.x,这个模块的创建者不再支持。
我们正在使用 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}]}]}
如有任何帮助,我们将不胜感激。
你读过this post了吗?
错误消息说无法加载 http:request/4
。
因为 http:request/4
在 R15B 中被删除了。
也许您会看到如下警告消息,
src/web/mod_eventful.erl:139: Warning: call to http:request/4 will fail, since it was removed in R15B; use httpc:request/4
不幸的是,这个模块似乎支持 ejabberd 2。1.x,这个模块的创建者不再支持。