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

You are not logged in.

Announcement

#1 2015-07-30 21:08:39

kelsen
Member
Registered: 2015-07-30
Posts: 7

Pro active chat hanging

Hello,
I'm having problems with proactive chat ... when the chat window opens the user tries to send a message but it is stuck at the loading window.

Thank you!

Offline

#2 2015-07-31 04:50:10

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

Re: Pro active chat hanging

Sorry, but all works here. You will have to give more details like error itself etc... No way to help from words like "It does not work" they are useless for me...

Offline

#3 2015-07-31 12:28:48

kelsen
Member
Registered: 2015-07-30
Posts: 7

Re: Pro active chat hanging

Sure, let me try to explain better.
This is the pro active invitation configuration:

Operator name:
Kelsen
Language:
Blank
Time on site:
60
Pageviews:
2
How many times user show invitation:
0
Requires e-mail: selected

No department.


This is the widget code:

[== JavaScript ==]
<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500,domain:'dipaula.com.br'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location  = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//mysite/lhc_web/index.php/site_admin/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(check_operator_messages)/true/(top)/350/(units)/pixels/(leaveamessage)/true?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>

the domain was hidden to protect the innocent (me!).

When the user sends a message, the chat frame keeps loading and I do not receive a notification.
Loading image

Let me know if you need more info.

Last edited by kelsen (2015-07-31 12:30:46)

Offline

#4 2015-07-31 13:49:40

kelsen
Member
Registered: 2015-07-30
Posts: 7

Re: Pro active chat hanging

Maybe this can help a little.

When the user send the message, the browser developer tool's show this url above and a error 503 - Service temporary unavailable.
http://mysite/lhc_web/index.php/site_ad … ste/&dt=Di Paula® Moda Fitness - Since 1997

Last edited by kelsen (2015-07-31 13:50:08)

Offline

#5 2015-07-31 18:23:50

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

Re: Pro active chat hanging

Hi,

If you see this response 503 follow this article
https://livehelperchat.com/during-some- … -215a.html

Then in chrome console you will see exact error.

Offline

#6 2015-07-31 19:18:05

kelsen
Member
Registered: 2015-07-30
Posts: 7

Re: Pro active chat hanging

Hi, thanks for answering me,

chrome console shows these errors:
chrome console error

the pop up chat shows this information:

[== Undefined ==]
ezcInputFormNoValidDataException Object
(
    [originalMessage] =&gt; Invalid field name 'value_items_admin' requested.
    [message:protected] =&gt; Invalid field name 'value_items_admin' requested.
    [string:Exception:private] =&gt; 
    [code:protected] =&gt; 0
    [file:protected] =&gt; /var/www/dipaula.com.br/lhc_web/ezcomponents/UserInput/src/input_form.php
    [line:protected] =&gt; 392
    [trace:Exception:private] =&gt; Array
        (
            [0] =&gt; Array
                (
                    [file] =&gt; /var/www/dipaula.com.br/lhc_web/modules/lhchat/readoperatormessage.php
                    [line] =&gt; 224
                    [function] =&gt; __get
                    [class] =&gt; ezcInputForm
                    [type] =&gt; -&gt;
                    [args] =&gt; Array
                        (
                            [0] =&gt; value_items_admin
                        )

                )

            [1] =&gt; Array
                (
                    [file] =&gt; /var/www/dipaula.com.br/lhc_web/lib/core/lhcore/lhmodule.php
                    [line] =&gt; 96
                    [args] =&gt; Array
                        (
                            [0] =&gt; /var/www/dipaula.com.br/lhc_web/modules/lhchat/readoperatormessage.php
                        )

                    [function] =&gt; include
                )

            [2] =&gt; Array
                (
                    [file] =&gt; /var/www/dipaula.com.br/lhc_web/lib/core/lhcore/lhmodule.php
                    [line] =&gt; 473
                    [function] =&gt; runModule
                    [class] =&gt; erLhcoreClassModule
                    [type] =&gt; ::
                    [args] =&gt; Array
                        (
                        )

                )

            [3] =&gt; Array
                (
                    [file] =&gt; /var/www/dipaula.com.br/lhc_web/index.php
                    [line] =&gt; 38
                    [function] =&gt; moduleInit
                    [class] =&gt; erLhcoreClassModule
                    [type] =&gt; ::
                    [args] =&gt; Array
                        (
                        )

                )

        )

    [previous:Exception:private] =&gt; 
)

Apache log shows no error.

Offline

#7 2015-08-01 07:06:53

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

Re: Pro active chat hanging

Hi,

I ques you are using some older version perhaps, because I just cannot reproduce your issue. Just try to replace https://github.com/LiveHelperChat/liveh … essage.php this file clear cache and try again.

Offline

#8 2015-08-03 12:22:33

kelsen
Member
Registered: 2015-07-30
Posts: 7

Re: Pro active chat hanging

Hi,
  I had downloaded livehelper from github a week ago, anyway I did what you asked and is still the same, it's not working.

Offline

#9 2015-08-03 12:23:38

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

Re: Pro active chat hanging

Yes, i know. I did not fixed yet anything. I'll fix in a next few days. Just working 7/7 over 12 hours each day...

Offline

#10 2015-08-03 18:27:52

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

Re: Pro active chat hanging

I have merged with mater branch postgresql branch. So you can test now.

Offline

#11 2015-08-03 20:59:50

kelsen
Member
Registered: 2015-07-30
Posts: 7

Re: Pro active chat hanging

Nice it's working now, I just downloaded again and created a new database.

Thank you so much!

Offline

Board footer