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

You are not logged in.

Announcement

#1 2017-11-15 16:16:03

andy65
Member
Registered: 2017-11-15
Posts: 2

Widget loop

Hello to all,

I'm new to the forum.

I installed livehelperchat in a container docker on a local server.
I set up a public IP connected to my server IP by specifying the communication port (32850) that communicates with container port 80.

I've put widget widget on a site managed by an external ISP:

<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};
(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 = '//xxx.xxx.xxx.xxxx:32850/index.php/ita/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/1/(operator)/1?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
<script/>

On the site I see the "live online support" widget and enter name and question, but by pressing the "start chat" button, the widget goes in loop (a number of points that rotate) while the server is reachable.

I tried to include in .htaccess what i read in the post: https://forum.livehelperchat.com/viewto … 8977#p8977 but it does not work.

In the server log I read (/var/log/apache2/error.log):

Wed Nov 15 16:05:40.781911 2017] [:error] [pid 12] [client xxx.xxx.xxx.xxx:4160] PHP Warning:  include(cache/compiledtemplates/fc88270e4d234fc140cfccb624d552e1.php): failed to open stream: No such file or directory in /app/lib/core/lhtpl/tpl.php on line 535, referer: http://www.xxxxxxxxxx.it/test/

Wed Nov 15 16:05:40.781936 2017] [:error] [pid 12] [client xxx.xxx.xxx.xxx:4160] PHP Warning:  include(): Failed opening 'cache/compiledtemplates/fc88270e4d234fc140cfccb624d552e1.php' for inclusion (
include_path='.:/usr/share/php:/usr/share/pear') in /app/lib/core/lhtpl/tpl.php on line 535, referer: http://www.xxxxxxxxxxx.it/test/

but I can not understand what does not work.

Thanks for your help!

Hello

Andrew

Last edited by andy65 (2017-11-15 16:17:06)

Offline

#2 2017-11-15 17:05:12

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Widget loop

Hi Andrew,
welcome in the live helper chat forum!

I AM sorry to read you are having issue.
With IP and not normal web address is more complicated for me help you.

Are you using Live helper chat on localhost or it's online?
Without URL to check is more complicated to find issue.

You can search on Google about the php error you get, this may help you to understand better the issue and to fix.
Are you sure to have upload all file and had no error on extracting the archive?

What version of PHP and Live helper chat are you running?

Try to look here:
https://forum.livehelperchat.com/viewtopic.php?id=2195

Hope can help you.

Last edited by PeopleInside (2017-11-15 17:05:43)


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2017-11-16 10:00:43

andy65
Member
Registered: 2017-11-15
Posts: 2

Re: Widget loop

Hi

thank you for your help...

i update my LHC and now work... yes!  (very slow but now i assign some 4 Gb of Ram)

now I have to learn how it work...

thank you!

Andrea

Offline

#4 2017-11-16 10:07:03

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Widget loop

Thank you for your feedback Andrea,
wish a nice week.


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

Board footer