【问题标题】:mod_zeropush not working with ejabberd 16.03mod_zeropush 不适用于 ejabberd 16.03
【发布时间】:2016-09-08 14:44:17
【问题描述】:

我正在使用 mod_zeropush,在我切换到 ejabberd 版本 16.03 之前,我在 15.07 上工作正常。

我使用的是 Ubuntu 操作系统 14.04 将所有光束文件再次复制到 ebin 目录

这是最后一个错误

===
2016-05-12 15:40:08.706 [error] <0.499.0>@ejabberd_hooks:run1:332 
{undef,[{xml,get_tag_attr_s,[<<"type">>,{xmlel,<<"message">>,[{<<"type">>,
<<"chat">>},{<<"image">>,<<"http://example.com/web-services/user_images
/personal_image/support_team_01.03.2016.png">>},{<<"id">>,
<<"183872511984980">>},{<<"name">>,<<"Support Team">>}2016-05-12 15:40:08.706 
[error] <0.499.0>@ejabberd_hooks:run1:332 {undef,[{xml,get_tag_attr_s,
[<<"type">>,{xmlel,<<"message">>,[{<<"type">>,<<"chat">>},{<<"image">>,
<<"http://example.com/web-services/user_images/personal_image
/support_team_01.03.2016.png">>},{<<"id">>,<<"183872511984980">>},{<<"name">>,
<<"Support Team">>},{<<"to">>,<<"994150860669617@example.com">>}],[{xmlel,
<<"body">>,[],[{xmlcdata,<<"444">>}]}]}],[]},{mod_zeropush,send_notice,3,
[{file,"src/mod_zeropush.erl"},{line,63}]},{ejabberd_hooks,safe_apply,3,
[{file,"src/ejabberd_hooks.erl"},{line,382}]},{ejabberd_hooks,run1,3,
[{file,"src/ejabberd_hooks.erl"},{line,329}]},{ejabberd_sm,route,3,[{file,"src
/ejabberd_sm.erl"},{line,114}]},{ejabberd_local,route,3,[{file,"src
/ejabberd_local.erl"},{line,112}]},{ejabberd_router,route,3,[{file,"src
/ejabberd_router.erl"},{line,77}]},{ejabberd_c2s,check_privacy_route,5,
[{file,"src/ejabberd_c2s.erl"},{line,2110}]}]},{<<"to">>,
<<"994150860669617@example.com">>}],[{xmlel,<<"body">>,[],[{xmlcdata,
<<"444">>}]}]}],[]},{mod_zeropush,send_notice,3,
[{file,"src/mod_zeropush.erl"},{line,63}]},{ejabberd_hooks,safe_apply,3,
[{file,"src/ejabberd_hooks.erl"},{line,382}]},{ejabberd_hooks,run1,3,
[{file,"src/ejabberd_hooks.erl"},{line,329}]},{ejabberd_sm,route,3,[{file,"src
/ejabberd_sm.erl"},{line,114}]},{ejabberd_local,route,3,[{file,"src
/ejabberd_local.erl"},{line,112}]},{ejabberd_router,route,3,[{file,"src
/ejabberd_router.erl"},{line,77}]},{ejabberd_c2s,check_privacy_route,5,
[{file,"src/ejabberd_c2s.erl"},{line,2110}]}]}

我需要各位大师的帮助

帮助会节省我很多时间。

谢谢

【问题讨论】:

    标签: xmpp ejabberd mod ejabberd-module ejabberd-hooks


    【解决方案1】:

    最新版本的 ejabberd 使用 Fast XML 模块而不是 p1_xml。该模块需要为新的 API 更新。 (fxml:可能还有其他一些东西)。

    【讨论】:

    • 对不起伙计,我的错误这并没有解决错误
    • 模块与 16.03 不兼容
    • 是的,这就是我的意思。模块不兼容,您需要按照我的指示进行更新。
    猜你喜欢
    • 1970-01-01
    • 2017-03-15
    • 2015-09-10
    • 2020-01-31
    • 2015-10-04
    • 2016-11-24
    • 2012-06-11
    • 2016-07-25
    • 1970-01-01
    相关资源
    最近更新 更多