candy-chat/mod_log_chat_mysql5 — Issue #4: Error being thrown
Author: hamzakc
Created: 2012-01-28 14:45:40+00:00
State: open

Hi.

Thanks for this useful lib.

I am trying to get it to work on my local machine. I have followed all the instructions and compiled the module. However I am getting the following error when ejabberd tries to load it:

=CRASH REPORT==== 28-Jan-2012::17:40:53 ===
crasher:
initial call: mod_log_chat_mysql5:init/1
pid: <0.273.0>
registered_name: []
exception exit: {undef,
[{emysql,add_pool,
[mod_log_chat_mysql5_db,1,"root",[],"127.0.0.1",
3306,"pam_development",utf8],
[]},
{mod_log_chat_mysql5,init,1,
[{file,"src/mod_log_chat_mysql5.erl"},{line,76}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,297}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,227}]}]}
in function gen_server:init_it/6 (gen_server.erl, line 321)
ancestors: [ejabberd_sup,<0.36.0>]
messages: []
links: [<0.232.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 610
stack_size: 24
reductions: 212
neighbours:

I have no idea what the problem could be. Please could you point me in the right direction?

Thanks.