Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2020-06-04 11:50:15

meowhk
New member
Registered: 2020-06-04
Posts: 3

Unable to start chat after enabled xmpp-chat extension

Hi,
i got following error in start chat page after enabled "XMPP Service" in xmpp-chat extension.
Would you please help?



ezcDbTransactionException Object
(
    [originalMessage] => There was a transaction error caused by unmatched beginTransaction()/commit() calls: rollback() called without previous beginTransaction().
    [message:protected] => There was a transaction error caused by unmatched beginTransaction()/commit() calls: rollback() called without previous beginTransaction().
    [string:Exception:private] =>
    [code:protected] => 0
    [file:protected] => /var/www/html/test/ezcomponents/Database/src/handler.php
    [line:protected] => 214
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/test/cache/compiledtemplates/b09a70a68bd480c629149d8c5b622c51.php
                    [line] => 11
                    [function] => rollback
                    [class] => ezcDbHandler
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/html/test/lib/core/lhcore/lhmodule.php
                    [line] => 96
                    [args] => Array
                        (
                            [0] => /var/www/html/test/cache/compiledtemplates/b09a70a68bd480c629149d8c5b622c51.php
                        )

                    [function] => include
                )

            [2] => Array
                (
                    [file] => /var/www/html/test/lib/core/lhcore/lhmodule.php
                    [line] => 547
                    [function] => runModule
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/html/test/index.php
                    [line] => 39
                    [function] => moduleInit
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
)

Offline

#2 2020-06-04 11:52:18

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Unable to start chat after enabled xmpp-chat extension

https://doc.livehelperchat.com/docs/debug disable cache and enable debug output. Most likely your server does not allow to send XMPP notifications.

Offline

#3 2020-06-04 14:55:53

meowhk
New member
Registered: 2020-06-04
Posts: 3

Re: Unable to start chat after enabled xmpp-chat extension

hi,

thank you for your reply.

i found this error in default.log.

the XMPP user "***-demo1.xxxxxxxx.com" is valid on ejabberd-15.04

Jun 04 22:51:53 [Warning] [default] [default] Exception Object
(
    [message:protected] => Could not find LHC user by user - ***-demo1.xxxxxxxx.com
    [string:Exception:private] =>
    [code:protected] => 0
    [file:protected] => /var/www/html/test/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
    [line:protected] => 1321
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/html/test/extension/xmppservice/modules/lhxmppservice/operatorstatus.php
                    [line] => 9
                    [function] => handleOperatorPing
                    [class] => erLhcoreClassExtensionXmppserviceHandler
                    [type] => ::
                    [args] => Array
                        (
                            [0] => {"action":"ping","user":"***-demo1.xxxxxxxx.com/xxxxxxxx"}
                        )

                )

            [1] => Array
                (
                    [file] => /var/www/html/test/lib/core/lhcore/lhmodule.php
                    [line] => 96
                    [args] => Array
                        (
                            [0] => /var/www/html/test/extension/xmppservice/modules/lhxmppservice/operatorstatus.php
                        )

                    [function] => include
                )

            [2] => Array
                (
                    [file] => /var/www/html/test/lib/core/lhcore/lhmodule.php
                    [line] => 547
                    [function] => runModule
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/html/test/index.php
                    [line] => 39
                    [function] => moduleInit
                    [class] => erLhcoreClassModule
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] =>
)

Offline

#4 2020-06-04 15:05:30

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Unable to start chat after enabled xmpp-chat extension

I really can't help about that... If you want mobile client just I would suggest to use just Telegram extension so you will be able to talk with your clients using telegram just.

Offline

#5 2020-06-04 15:11:47

meowhk
New member
Registered: 2020-06-04
Posts: 3

Re: Unable to start chat after enabled xmpp-chat extension

hi,

I am using this xmpp extension, not Telegram. github.com/LiveHelperChat/xmpp-chat/blob/master/ejabberd_mod/ejabberd.yml

May i know the correct path of http_prebind.erl in ejabberd?

I found this in ejabberd


Problem starting the module 'http_prebind.erl' for host <<"livechat-demo1.xxxx.com">>
options: []
error: undef
[{'http_prebind.erl',start,[<<"livechat-demo1.xxxx.com">>,[]],[]},
{gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,82}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
{ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,69}]},
{application_master,start_it_old,4,
                     [{file,"application_master.erl"},{line,272}]}]
23:52:55.416 [critical] ejabberd initialization was aborted because a module start failed.

Crash dump was written to: /opt/ejabberd-15.04/logs/erl_crash_20200604-235235.dump
Problem starting the module 'http_prebind.erl' for host <<"livechat-demo1.xxxx.com">>
options: []
error: undef
[{'http_prebind.erl',start,[<<"livechat-demo1.ablemobile.com">>,[]],[]},

Last edited by meowhk (2020-06-04 16:02:37)

Offline

Board footer