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

You are not logged in.

Announcement

#1 2017-08-25 15:49:56

Roger_K
Member
Registered: 2017-08-25
Posts: 2

Chat window does not appear on another machines in local network

Hi, I have successfuly installed the version 2.71 of lhc and I can full operate it with sending messages from a client form to the server.
This communication is perfect in the local server machine.

But when i try to open the chat window (in chat.php where i embed the code) in another machine of my local network, it just does not open.


There is a "nothing" where the chat window should be showed.


Can, you guys, help me?


Thanks in advance.

Roger_K.

Offline

#2 2017-08-25 17:14:01

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

Re: Chat window does not appear on another machines in local network

Hi Roger_K,
welcome in the live helper chat forum!

Sorry I do not do support for localhost install.
Live helper chat is designed to be used in a VPS or dedicated server on the web.
If you need you can find commercial support, more info on my forum signature.

Maybe also commercial support cannot help you on local.

Wish you a nice time  smile


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-08-25 17:36:56

Roger_K
Member
Registered: 2017-08-25
Posts: 2

Re: Chat window does not appear on another machines in local network

Solved!

Hi, PeopleInside. Thanks for your reply.

I found the solution by changing the script from:

->
var LHCChatOptionsPage = {};
LHCChatOptionsPage.opt = {};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = '//localhost/new/chat/lhc_web/index.php/por/chat/getstatusembed/(leaveamessage)/true/(department)/1';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
<-where we found 'localhost'

to
->
var LHCChatOptionsPage = {};
LHCChatOptionsPage.opt = {};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = '//x.x.x.x/new/chat/lhc_web/index.php/por/chat/getstatusembed/(leaveamessage)/true/(department)/1';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
<-where i put the ip of the server.

Thank you very much.
I am very impressed about your system. It is amazing. Congratulations for you and your team!

Have also a nice time!

Offline

#4 2017-08-25 19:25:33

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

Re: Chat window does not appear on another machines in local network

Hi Roger_K,
nice message and good fix! Congratulations smile and thanks for share the solution! This can be useful to some user!
I believe this software is Amazing too smile

Thank you,
have a great experience and time!
smile

I AM happy to read that you solved big_smile

Last edited by PeopleInside (2017-08-25 19:26:09)


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