Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello again!
I have small delays on the chat, but it's a little bit annoying.
So, I started to look around about optimizing speed.
installed php5-memcached, memcached itself, but when I
'cacheEngine' =>
array (
'cache_global_key' => something,
'className' => 'erLhcoreClassLhMemcache'
),
I get blank white screen.
Also, about node.js (never tried it, but) will it help with optimizing speeds of message delivery? I get 1-5 seconds delays.
Thanks for reply!!
Offline
Hi,
1. Just use node.js extension it will speedup significantly everything.
2. These cache settings will speedup just chatbox, it has very limited effect on live helper itself
3. Make sure you have enabled all the caches.
Goodluck
Offline
Hi and thank you for quick reply.
Decided to try nodejs extension.
I'm on this step:
Now ir order to make sure that everything works you can navigation to extension/nodejshelper/server and execute
node server.js
Start some chat, you should see some messages in console.
***
there are small addon: need to install npm install socket.io and redis with -g flag, because them the path of modules will not be global and it'll not compatible with settings.
My trouble is that I don't see any messages in console after starting chat. Can't understand well, how to debug?
thank you
update.
I didn't change settings.js and nodejshelper_config.tpl.php (just remove default from the names). settings.debug.output = true
default port is 31129 is not used by other application.
settings.socketiopath = '/usr/local/lib/node_modules/socket.io'; // exists in folder
update2.
the application to launch is
nodejs server.js
LHC Server listening on localhost:31129
Debug enabled - true
no other messages are seen
Last edited by olegfusion (2015-07-14 09:33:54)
Offline
Hi,
sorry but you will have to debug. Disable cache, activate extension etc...
Offline
I just don't get any messages, either the server is started successfully. I simply don't know how nodejs should work
Offline
Hi and thank you for quick reply.
My trouble is that I don't see any messages in console after starting chat. Can't understand well, how to debug?
I have the same problem. olegfusion, did you solve the problem?
Offline
Pages: 1