Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

doesn't export mod_opt_type/1 #15

Open
@matt-tlc

Description

@matt-tlc

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:

[debug] <0.308.0> Supervisor ejabberd_sup started mod_log_chat_mysql5:start_link(<<"HOST">>, [{server,<<"localhost">>},{db,<<"DB_NAME">>},{user,<<"DB_USER">>},{password,<<"DB_PASS">>},{pool_size,...},...]) at pid <0.493.0>

I am running ejabberd 15.04.91.

Many Thanks
Matt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions