Issue in istalling mod_http_offline in ejabberd versin 15.07

I am using ejabberd version 15.11 and erlang/OTP 17.
I am facing problem in adding mod_http_offline module.
I can compile it successfully, but when I add module initialization in ejabberd.yml it can not start module.
here is my error logs about the problem,

2015-12-04 14:27:17.435 [critical] <0.4264.0>@gen_mod:start_module:106 Problem starting the module mod_http_offline
for host <<"drifth.com">>
options: []
error: undef
[{ejabberd_logger,info_msg,
[mod_http_offline,20,"mod_http_offline loading",[]],
[]},
{mod_http_offline,start,2,[{file,"src/mod_http_offline.erl"},
{line,20}]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,98}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,73}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,272}]}]

any little guidance will be a great help,
thanks

How did you compile the

How did you compile the module? The easiest way is to copy the module code to the ejabberd/src dir, and compile everythnig there. See https://www.ejabberd.im/node/16672

Syndicate content