<div style="font:14px/1.5 'Lucida Grande', '微软雅黑';color:#333;"><p style="margin: 0px;"><font face="Lucida Grande">i am using ejabberd v14.07 as my xmpp server. </font></p><p style="margin: 0px;"><font face="Lucida Grande">And i want to create chat room programmatically:</font></p><table class="foxmail_table" cellpadding="0" cellspacing="0"><tbody><tr><td style="border:1px solid #666666;padding:0 4px;min-width:52px;height:32px;text-align:center;white-space:nowrap;"><span style="font-family: 'Lucida Grande'; text-align: start; white-space: normal;">mod_muc:create_room(<<"mac.xmpp.com">>, "chatgroup", jlib:string_to_jid(<<"liudan@localhost">>), "nickname", default)</span></td></tr></tbody></table><p style="margin: 0px;"><font face="Lucida Grande"> </font></p><p style="margin: 0px;"><span style="font-family: 'Lucida Grande'; line-height: 1.5;">the return value from <i>ejabberdctl live</i> seems everything is ok:</span></p><table class="foxmail_table" cellpadding="0" cellspacing="0"><tbody><tr><td style="border:1px solid #666666;padding:0 4px;min-width:52px;height:32px;text-align:center;white-space:nowrap;"><p style="text-align: start; white-space: normal; margin: 0px;"><font face="Lucida Grande">18:03:23.778 [info] Created MUC room chatgroup@conference.mac.xmpp.com by liudan@localhost</font></p></td></tr></tbody></table><p style="margin: 0px;"><font face="Lucida Grande"> </font></p><p style="margin: 0px;"><font face="Lucida Grande">but, when i try to check the chat room from web_admin_page generated by mod_muc_admin, </font><i style="line-height: 1.5; font-family: 'Lucida Grande';">ejabberdctl live </i><span style="line-height: 1.5; font-family: 'Lucida Grande';">outputs an error:</span></p><table class="foxmail_table" cellpadding="0" cellspacing="0"><tbody><tr><td style="border:1px solid #666666;padding:0 4px;min-width:52px;height:32px;text-align:center;white-space:nowrap;"></td><td style="border: 1px solid rgb(102, 102, 102); padding: 0px 4px; min-width: 52px; height: 32px;">18:04:37.714 [error] {badarg,[{mod_muc_admin,build_info_room,1,[{file,"src/mod_muc_admin.erl"},{line,342}]},{mod_muc_admin,'-build_info_rooms/1-lc$^0/1-0-',1,[{file,"src/mod_muc_admin.erl"},{line,318}]},{mod_muc_admin,make_rooms_page,3,[{file,"src/mod_muc_admin.erl"},{line,271}]},{mod_muc_admin,web_page_host,3,[{file,"src/mod_muc_admin.erl"},{line,249}]},{ejabberd_hooks,run_fold1,4,[{file,"src/ejabberd_hooks.erl"},{line,352}]},{ejabberd_web_admin,process_admin,2,[{file,"src/ejabberd_web_admin.erl"},{line,967}]},{ejabberd_http,process,2,[{file,"src/ejabberd_http.erl"},{line,355}]},{ejabberd_http,process_request,1,[{file,"src/ejabberd_http.erl"},{line,404}]}]}</td><td style="border: 1px solid rgb(102, 102, 102); padding: 0px 4px; min-width: 52px; height: 32px;">running hook: {webadmin_page_host,[<<"mac.xmpp.com">>,{request,'GET',[<<"muc">>],[{nokey,<<>>}],{<<"liudan">>,<<"localhost">>},{auth_jid,{<<"liudan@localhost">>,<<"liudan">>},{jid,<<"liudan">>,<<"localhost">>,<<>>,<<"liudan">>,<<"localhost">>,<<>>}},<<"zh-CN">>,<<>>,{{127,0,0,1},50314},<<"localhost">>,5280,http,[{'Accept-Language',<<"zh-CN,zh;q=0.8,en;q=0.6,ja;q=0.4">>},{'Accept-Encoding',<<"gzip,deflate,sdch">>},{'Referer',<<"http://localhost:5280/admin/server/mac.xmpp.com/shared-roster/">>},{'User-Agent',<<"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36">>},{'Accept',<<"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8">>},{'Authorization',<<"Basic bGl1ZGFuQGxvY2FsaG9zdDpsaXVkYW4=">>},{'Connection',<<"keep-alive">>},{'Host',<<"localhost:5280">>}]}]}</td></tr></tbody></table><p style="margin: 0px;"><font face="Lucida Grande">and the chat room “chatgroup” is not displayed.</font></p><p style="margin: 0px;"><font face="Lucida Grande"><br></font></p><p style="margin: 0px;"><font face="Lucida Grande">I have read the topic: http://jabber.996255.n3.nabble.com/Create-multi-user-chat-room-programmatically-td23430.html and it did not solve the problem.</font></p><p style="margin: 0px;"><font face="Lucida Grande"><br></font></p><p style="margin: 0px;"><font face="Lucida Grande"><br></font></p><p style="margin: 0px;"><font face="Lucida Grande">Call for help.</font></p><div><br></div></div>