ejabberd - Comments for "ejabberdctl change_room_option" https://www.ejabberd.im/node/4909 en Hey, Thanks for you https://www.ejabberd.im/node/4909#comment-57750 <p>Hey,</p> <p>Thanks for you suggestion (yes I understood it ;)). I replaced now mod_muc_room.hrl with the one from git tag 2.1.5 and it seems to work :)</p> <p>Maybe the howto for ejabberd-modules should mention that as well and provide ejabberd-modules for different versions?</p> <p>Cheers,<br /> Michael</p> Wed, 17 Aug 2011 07:36:51 +0000 mweibel comment 57750 at https://www.ejabberd.im mweibel wrote: Problem 'error https://www.ejabberd.im/node/4909#comment-57747 <div class="quote-msg"> <div class="quote-author"><em>mweibel</em> wrote:</div> <div class="codeblock"><code>Problem &#039;error {badrecord,config}&#039; occurred executing the command.<br />Stacktrace: [{mod_muc_admin,change_option,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {mod_muc_admin,change_room_option,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {mod_muc_admin,change_room_option,4},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,call_command,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,try_call_command,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,process2,3},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {ejabberd_ctl,process,1},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {rpc,&#039;-handle_call_call/6-fun-0-&#039;,5}]</code></div> </div> <p>The problem is that ejabberd and mod_muc_admin.erl were compiled with different versions of the header file mod_muc_room.hrl</p> <p>When I tried your command example in my ejabberd 2.1.x git + mod_muc_admin svn, I got your same error message. Then I copied the header file from ejabberd git into mod_muc_admin/trunk/../../ejabberd-dev/trunk/include/mod_muc. And finally the command works correctly.</p> <p>If you read my explanation for 30 minutes and you don't understand me, please say what ejabberd version you use, and I'll explain in more detail ;)</p> Tue, 16 Aug 2011 23:21:30 +0000 mfoss comment 57747 at https://www.ejabberd.im