-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't export mod_opt_type/1 #15
Comments
The mentioned log outputs seem to be only warnings, I'd say the module works regardless. Can you confirm? Removing those warnings would need some adaptions to the latest ejabberd code.. will see what I can do about it |
They are warnings but as the module is not working at all i wondered if they were affecting it working.. With regards to the Currently there is nothing in the database at all. |
Not sure if im causing more damage than anything here, but I un-commented the following:
I then removed the This was the result I got in the ejabberd.log file:
After reading through the logs I have just noticed this:
|
Just to add I have started my VM afresh to try again. I am now running the ./build.sh from inside the downloaded ejabberd-modules/mod_chat_log_mysql/ as per the installation in your README.
|
Managed to solve the issue; I included Emysql and p1_logger into the deps of the ejabberd download, then ran the ./rebar get-deps, along with make.
I removed the escape function as I couldn't get this to work and I couldn't see that it was necessary as no matter what I tried in a message it saved and there was never any issues with escape characters. |
Hi,
I am trying to use the module and have come across an issue, would you
please be able to advice.
I followed your guide and ran the ./build.sh and I kept getting redefining
MACRO PRINT in logger.hrl
To get around it I moved the module and files into the ejabberd source and
built it from there and that built the beam file ok, although I am getting
Warning: variable 'Info' is unused"
I have put the beam file into the actual lib of the ejabberd and it starts
and can see in the logs it is trying to start but I am getting these
warnings which I think may be stopping it as its not logging anything
currently.
Here is the error in the ejabberd.log
[warning] <0.38.0>@gen_mod:validate_opts:256 module 'mod_log_chat_mysql5'
doesn't export mod_opt_type/1"
This comes after the above error:
I am running ejabberd 15.04.91.
Many Thanks
Matt
The text was updated successfully, but these errors were encountered: