2016-05-12 55 views
0

我正在使用mod_zeropush,我在15.07工作正常,直到我切換到ejabberd版本16.03。mod_zeropush不能與ejabberd一起工作16.03

我使用的再次複製所有束文件EBIN目錄Ubuntu的OS 14.04

它iis的最後一個錯誤

=== 
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">>,<<"[email protected]">>}],[{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">>, 
<<"[email protected]">>}],[{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}]}]} 

我需要你的幫助主人

幫助拯救我很多的時間。

感謝

回答

0

最新ejabberd使用快速的XML模塊,而不是p1_xml的版本。該模塊需要更新爲新的API。 (fxml:可能還有其他一些東西)。

+0

對不起,我的錯誤,這沒有解決錯誤 –

+0

模塊不兼容16.03 –

+0

是的,那是什麼意思。模塊不兼容,您需要根據我的指示進行更新。 –