mod_zeropush无法与ejabberd 16.03一起使用 [英] mod_zeropush not working with ejabberd 16.03

查看:115
本文介绍了mod_zeropush无法与ejabberd 16.03一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用mod_zeropush,并且在15.07下工作正常,直到我切换到ejabberd版本16.03.

I am working with mod_zeropush and i was working fine with 15.07 until i switched to the ejabberd version 16.03.

我正在使用Ubuntu OS 14.04 再次将所有梁文件复制到ebin目录

I am using Ubuntu OS 14.04 Copied all beam files again to ebin directory

这是最后一个错误

===
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}]}]}

我需要大师的帮助

帮助会节省我很多时间.

a help will save my lot of time.

谢谢

推荐答案

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

Latest version of ejabberd use Fast XML module instead of p1_xml. The module need to be updated for new API. (fxml: and possibly a few other stuffs).

这篇关于mod_zeropush无法与ejabberd 16.03一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆