ejabberd - Comments for "New to All of thes" https://www.ejabberd.im/node/56 en Thank-you I just found the co https://www.ejabberd.im/node/56#comment-105 <p>Thank-you I just found the comma sometimes you have to walk away for a day or two then you see the error :-)</p> Thu, 13 Jan 2005 21:35:06 +0000 unixdoss comment 105 at https://www.ejabberd.im It's probably a syntax mist https://www.ejabberd.im/node/56#comment-99 <p> It's probably a syntax mistake you made when modifying ejabberd.cfg. At the beginning <a href="/node/16">those errors</a> are quite common ;) . Make sure to read all error messages, since probably one of them will tell you the line where the error was reported. </p> <p> It seems you are having a syntax error at the end of an Erlang list. <ul> <li>A good Erlang list: [thing1, thing2, thing3] </li><li>But you may have something like: [thing1, thing2, thing3,] Notice the comma (,) at the end of the last element. Remove it. </li></ul> Similar error is normally done with tuples: <ul> <li>A good Erlang tuple: {thing1, thing2, thing3} </li><li>But you may have something like: {thing1, thing2, thing3,} Notice the comma (,) at the end of the last element. Remove it. </li></ul> </p> <p> Other things you can try: <ul> <li>Compare your ejabberd.cfg with ejabberd.cfg.example </li><li>Read ejabberd.cfg* files using a text editor with syntax highlining (SciTE, gVim, Emacs...) that supports Erlang, this usually helps finding syntax errors. And probably you need to add '.erl' to the filename so the editor knows it's an Erlang file. </li></ul> </p> <p> If you can't find the error post here the changes you made on ejaberd.cfg and we'll try again. </p> Mon, 10 Jan 2005 10:16:32 +0000 mfoss comment 99 at https://www.ejabberd.im