Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Hello! I'm trying to make full (not easiest) guide. RPC+standalone.
I'm getting this exception (cache/default.log)
[== Undefined ==]
[message:protected] => Could not find LHC user by user - ***.domain.com
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line:protected] => 1350
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/cache/compiledtemplates/159fb73e6054e79a44baefcd97361f77.php
[line] => 1
[function] => handleOperatorPing
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => {"action":"connect","user":"admin","server":"xmpp.domain.com"}
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 94
[args] => Array
(
[0] => /var/www/livehelperchat/cache/compiledtemplates/159fb73e6054e79a44baefcd97361f77.php
)
[function] => include
)
[2] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
etc
where to go to debug? don't understand....
Offline
Hi,
1. You have to define correct virtual host in ejabberd configuration file.
2. This user has to exists in lhc as XMPP user.
http://you_domain/site_admin/xmppservice/operators there should exists ***.domain.com this account.
Offline
Hi,
chat.domain.com - lhc chat installed there
xmpp.domain.com - jabber server
1. domain is correct. (domain.com is just an example replaced my origin domain)
ejabberd:
-
port: 4560
module: ejabberd_xmlrpc
-
mod_admin_extra: []
mod_lhc:
## Used in Automated Hosting enviroment##
ahenviroment: false## Enable modules with custom options in a specific virtual host
basedomain: "domain.com"##
ahprotocol: "http://"## append_host_config:
## Used in standalone enviroment## "localhost":
message_address: "http://chat.domain.com/xmppservice/processmessage"## modules:
login_address: "http://chat.domain.com/xmppservice/operatorstatus"## mod_echo:
logout_address: "http://chat.domain.com/xmppservice/operatorstatus"## host: "mirror.localhost"
mod_lhcping:
send_pings: true##
ping_interval: 250## Enable modules management via ejabberdctl for installation and
timeout_action: kill## uninstallation of public/private contributed modules
## Used in ah enviroment## (enabled by default)
ahenviroment: false##
basedomain: "domain.com"
allow_contrib_modules: true
ahprotocol: "http://"
## Used in standalone enviroment### Local Variables:
ping_address: "http://chat.domain.com/xmppservice/operatorstatus"### mode: yaml
both plugins are copied.
my settings.ini.php of xmppservice:
<?php
return array(
'ahosting' => false, // Is it automated hosting enviroment? At the moment keep it false untill automated hosting will be supported
'subdomain' => '', // Under what subdomain it's running
'enabled' => true, // Is this enabled in general
'online_visitors_tracking' => true, // Should each online visitor get it's own xmpp account?
'xmpp_host' => 'xmpp.domain.com', // E.g xmpp.livehelperchat.com
// Debug settings
'debug' => true, // Write exceptions in cache/default.log use it for debuging purposes
// Handler, either rpc either node
'handler' => 'rpc',
/**
* NodeJS settings if handler is node
* */
'node_api_server' => '<node_http_address>', // E.g http://127.0.0.1:4567', not used if RPC is used
'secret_key' => '<change_me>', // Secret key, node will accept commands only if this key is provided. It must match in nodejs settings defi$
'host_login' => 'localhost', // Host where node server should login as user
/**
* RPC settings
* */
// Host where ejabberd RPC server is running. This should be available only to LHC IP, and not available publicly. By default ejabberd listens on 4560 p$
'rpc_server' => 'http://xmpp.domain.com:4560',
'rpc_username' => 'admin', // E.g admin
'rpc_password' => 'PassOfAdminOfJabber',// E.g password
'rpc_account_host' => 'xmpp.domain.com',// E.g xmpp.example.com
// Web socket address, it can be also nginx proxy
// If you are using nginx proxy. Config line could look like
// 'ws://'.$_SERVER['HTTP_HOST'].'/websocket'
// Nginx config example you can find in doc folder
'bosh_service' => 'ws://xmpp.domain.com:5280/websocket', // ws://xmpp.livehelperchat.com:5280/websocket
// Then operator writes a message we can track that event, should on this event message be synced from back office
// This gives some real time UX, use it only if you are not using nodejs extensions, otherwise it's no point to have it enabled
'use_notification' => true,
// Not used at the moment, but may be used in the future
'prebind_host' => ''
);
?>
2. I see in http://chat.domain.com/site_admin/xmppservice/operators only new visitors. But no operators.
When I try to create xmpp user from http://chat.domain.com/site_admin/xmppservice/operators, have white screen.
Last edited by olegfusion (2015-06-29 15:23:04)
Offline
2. For white screen try to enable debug output
https://livehelperchat.com/during-some- … -215a.html
Offline
2. For white screen try to enable debug output
https://livehelperchat.com/during-some- … -215a.html
ok, done.
when I try to seach operator by name, I get:
PDOException Object
(
[message:protected] => SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'where clause'
[string:Exception:private] =>
[code:protected] => 42S22
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassmodelxmppaccount.php
[line:protected] => 175
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassmodelxmppaccount.php
[line] => 175
[function] => execute
[class] => PDOStatement
[type] => ->
[args] => Array
(
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/operators.php
[line] => 22
[function] => getCount
[class] => erLhcoreClassModelXMPPAccount
[type] => ::
[args] => Array
(
[0] => Array
(
[filterlike] => Array
(
[name] => ***.domain.com
)
)
)
)
Offline
hmm. Let me check one thing.
Offline
when trying to create new xmpp account from module:
Fatal error: Call to undefined function GameNet\Jabber\xmlrpc_encode_request() in /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php on line 109
Offline
As for this once. just missing php module for xmlrpc_encode_request, check what module provides it.
Offline
ok, will do it right now
Offline
As for field name fixed. https://github.com/LiveHelperChat/xmpp- … feec743c40
Offline
You need this module http://php.net/manual/en/book.xmlrpc.php
Offline
fixed php module xmlrpc, however getting "Could not register operator in XMPP server!"
I checked out that ejabberd has registration allow in config.
update.
thanks for a fix with username, no this error.
But seem like ejabberd and xmppservice are not connected still
Last edited by olegfusion (2015-06-29 15:47:53)
Offline
Enable debug output in xmpp extension and check cache/default.log file for error.
https://github.com/LiveHelperChat/xmpp- … lt.php#L12
Offline
https://github.com/LiveHelperChat/xmpp- … lt.php#L12
https://github.com/LiveHelperChat/xmpp- … rd.yml#L70
Make sure you have configured this part right.
Or if you have configured ip: "127.0.0.1" to listen RPC on localhost, make sure you did not enter anything in
'rpc_username' => '', // E.g admin
'rpc_password' => '',// E.g password
'rpc_account_host' =>''
Offline
my RPC is not in localhost.
Jun 29 18:48:58 [Warning] [default] [default] RuntimeException Object
(
[message:protected] => Error execution command 'register'' with parameters array (
0 =>
array (
'user' => 'admin',
'server' => 'xmpp.domain.com',
'password' => 'PASSWORD',
),
1 =>
array (
'host' => 'xmpp.domain.com',
'user' => 'visitor.137',
'password' => 'c025ae4a6266b933be80',
),
). Response: <?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>-112</int></value></member><member><name>faultString</name><value><string>Error -112
Unknown call: {call,register,
[{struct,[{user,<<"admin">>},
{server,<<"xmpp.domain.com">>},
{password,<<"PASSWORD">>}]},
{struct,[{host,<<"xmpp.domain.com">>},
{user,<<"visitor.137">>},
{password,<<"c025ae4a6266b933be80">>}]}]}</string></value></member></struct></value></fault></methodResponse>
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php
[line:protected] => 126
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/Mixins/UserTrait.php
[line] => 64
[function] => sendRequest
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => register
[1] => Array
(
[host] => xmpp.domain.com
[user] => visitor.137
[password] => c025ae4a6266b933be80
)
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line] => 823
[function] => createUser
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => visitor.137
[1] => c025ae4a6266b933be80
)
)
[2] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php
[line] => 566
[function] => newOnlineVisitor
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => Array
(
[xmpp_account] => erLhcoreClassModelXMPPAccount Object
(
[id] => 40
[username] => visitor.***.domain.com
[password] => c025ae4a6266b933be80
[ctime] => 1435592938
[lactivity] => 1435592938
[user_id] => 137
[sendmessage] => 0
[type] => 1
)
[xmpp_host] => xmpp.domain.com
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 137
[ip] => 91.217.156.100
[vid] => yv0uzkefhtjl579eyh6u
[current_page] => http://domain.com/accessories/besprovodnye-zaradnye-ystroistva/nillkin-phantom
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592938
[first_visit] => 1435592938
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592938
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:48:58
[lastactivity_ago] => 0 s.
)
[host_login] => localhost
[node_api_server] => <node_http_address>
[handler] => rpc
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
)
)
)
[3] => Array
(
[function] => onlineUserCreated
[class] => erLhcoreClassExtensionXmppservice
[type] => ->
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 40
[username] => visitor.***.domain.com
[password] => c025ae4a6266b933be80
[ctime] => 1435592938
[lactivity] => 1435592938
[user_id] => 137
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 137
[ip] => 91.217.156.100
[vid] => yv0uzkefhtjl579eyh6u
[current_page] => http://domain.com/accessories/besprovodnye-zaradnye-ystroistva/nillkin-phantom
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592938
[first_visit] => 1435592938
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592938
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:48:58
[lastactivity_ago] => 0 s.
)
)
)
)
[4] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhchat/lhchateventdispatcher.php
[line] => 19
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => erLhcoreClassExtensionXmppservice Object
(
[settings] => Array
(
[ahosting] =>
[subdomain] =>
[enabled] => 1
[online_visitors_tracking] => 1
[xmpp_host] => xmpp.domain.com
[debug] => 1
[handler] => rpc
[node_api_server] => <node_http_address>
[secret_key] => <change_me>
[host_login] => localhost
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
[bosh_service] => ws://xmpp.domain.com:5280/websocket
[use_notification] => 1
[prebind_host] =>
)
)
[1] => onlineUserCreated
)
[1] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 40
[username] => visitor.***.domain.com
[password] => c025ae4a6266b933be80
[ctime] => 1435592938
[lactivity] => 1435592938
[user_id] => 137
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 137
[ip] => 91.217.156.100
[vid] => yv0uzkefhtjl579eyh6u
[current_page] => http://domain.com/accessories/besprovodnye-zaradnye-ystroistva/nillkin-phantom
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592938
[first_visit] => 1435592938
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/no
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592938
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:48:58
[lastactivity_ago] => 0 s.
)
)
)
)
)
[5] => Array
(
[file] => /var/www/livehelperchat/lib/models/lhchat/erlhcoreclassmodelchatonlineuser.php
[line] => 686
[function] => dispatch
[class] => erLhcoreClassChatEventDispatcher
[type] => ->
[args] => Array
(
[0] => onlineuser.created
[1] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 40
[username] => visitor.***.domain.com
[password] => c025ae4a6266b933be80
[ctime] => 1435592938
[lactivity] => 1435592938
[user_id] => 137
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 137
[ip] => 91.217.156.100
[vid] => yv0uzkefhtjl579eyh6u
[current_page] => http://domain.com/accessories/besprovodnye-zaradnye-ystroistva/nillkin-phantom
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592938
[first_visit] => 1435592938
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592938
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:48:58
[lastactivity_ago] => 0 s.
)
)
)
)
[6] => Array
(
[file] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
[line] => 33
[function] => handleRequest
[class] => erLhcoreClassModelChatOnlineUser
[type] => ::
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 40
[username] => visitor.***.domain.com
[password] => c025ae4a6266b933be80
[ctime] => 1435592938
[lactivity] => 1435592938
[user_id] => 137
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[tz] => 4
[message_seen_timeout] => 24
[department] =>
[identifier] =>
[pages_count] => 1
[vid] => yv0uzkefhtjl579eyh6u
[check_message_operator] => 1
[pro_active_limitation] => -1
[pro_active_invite] => 1
)
)
)
[7] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
)
[function] => include
)
[8] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Jun 29 18:49:12 [Warning] [default] [default] RuntimeException Object
(
[message:protected] => Error execution command 'register'' with parameters array (
0 =>
array (
'user' => 'admin',
'server' => 'xmpp.domain.com',
'password' => 'PASSWORD',
),
1 =>
array (
'host' => 'xmpp.domain.com',
'user' => 'op',
'password' => 'PASSWORD',
),
). Response: <?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>-112</int></value></member><member><name>faultString</name><value><string>Error -112
Unknown call: {call,register,
[{struct,[{user,<<"admin">>},
{server,<<"xmpp.domain.com">>},
{password,<<"PASSWORD">>}]},
{struct,[{host,<<"xmpp.domain.com">>},
{user,<<"op">>},
{password,<<"PASSWORD">>}]}]}</string></value></member></struct></value></fault></methodResponse>
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php
[line:protected] => 126
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/Mixins/UserTrait.php
[line] => 64
[function] => sendRequest
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => register
[1] => Array
(
[host] => xmpp.domain.com
[user] => op
[password] => PASSWORD
)
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line] => 715
[function] => createUser
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => op
[1] => PASSWORD
)
)
[2] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php
[line] => 452
[function] => registerOperator
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => Array
(
[xmpp_account] => erLhcoreClassModelXMPPAccount Object
(
[id] =>
[username] => ***.domain.com
[password] => PASSWORD
[ctime] => 0
[lactivity] => 0
[user_id] => 1
[sendmessage] => 0
[type] => 0
[username_plain] => op
)
[xmpp_host] => xmpp.domain.com
[host_login] => localhost
[node_api_server] => <node_http_address>
[handler] => rpc
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
)
)
)
[3] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppaccountvalidator.php
[line] => 84
[function] => registerOperator
[class] => erLhcoreClassExtensionXmppservice
[type] => ->
[args] => Array
(
[0] => erLhcoreClassModelXMPPAccount Object
(
[id] =>
[username] => ***.domain.com
[password] => PASSWORD
[ctime] => 0
[lactivity] => 0
[user_id] => 1
[sendmessage] => 0
[type] => 0
[username_plain] => op
)
)
)
[4] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/newxmppaccount.php
[line] => 18
[function] => publishXMPPAccount
[class] => erLhcoreClassXMPPServiceAccountValidator
[type] => ::
[args] => Array
(
[0] => erLhcoreClassModelXMPPAccount Object
(
[id] =>
[username] => ***.domain.com
[password] => PASSWORD
[ctime] => 0
[lactivity] => 0
[user_id] => 1
[sendmessage] => 0
[type] => 0
[username_plain] => op
)
)
)
[5] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/newxmppaccount.php
)
[function] => include
)
[6] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[7] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Jun 29 18:49:29 [Warning] [default] [default] RuntimeException Object
(
[message:protected] => Error execution command 'register'' with parameters array (
0 =>
array (
'user' => 'admin',
'server' => 'xmpp.domain.com',
'password' => 'PASSWORD',
),
1 =>
array (
'host' => 'xmpp.domain.com',
'user' => 'visitor.138',
'password' => '80c7a0e24d754d27e83f',
),
). Response: <?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>-112</int></value></member><member><name>faultString</name><value><string>Error -112
Unknown call: {call,register,
[{struct,[{user,<<"admin">>},
{server,<<"xmpp.domain.com">>},
{password,<<"PASSWORD">>}]},
{struct,[{host,<<"xmpp.domain.com">>},
{user,<<"visitor.138">>},
{password,<<"80c7a0e24d754d27e83f">>}]}]}</string></value></member></struct></value></fault></methodResponse>
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php
[line:protected] => 126
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/Mixins/UserTrait.php
[line] => 64
[function] => sendRequest
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => register
[1] => Array
(
[host] => xmpp.domain.com
[user] => visitor.138
[password] => 80c7a0e24d754d27e83f
)
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line] => 823
[function] => createUser
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => visitor.138
[1] => 80c7a0e24d754d27e83f
)
)
[2] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php
[line] => 566
[function] => newOnlineVisitor
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => Array
(
[xmpp_account] => erLhcoreClassModelXMPPAccount Object
(
[id] => 41
[username] => visitor.***.domain.com
[password] => 80c7a0e24d754d27e83f
[ctime] => 1435592969
[lactivity] => 1435592969
[user_id] => 138
[sendmessage] => 0
[type] => 1
)
[xmpp_host] => xmpp.domain.com
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 138
[ip] => 91.217.156.100
[vid] => h9emvsebk80j6mnhhr5r
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592969
[first_visit] => 1435592969
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592969
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:29
[lastactivity_ago] => 0 s.
)
[host_login] => localhost
[node_api_server] => <node_http_address>
[handler] => rpc
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
)
)
)
[3] => Array
(
[function] => onlineUserCreated
[class] => erLhcoreClassExtensionXmppservice
[type] => ->
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 41
[username] => visitor.***.domain.com
[password] => 80c7a0e24d754d27e83f
[ctime] => 1435592969
[lactivity] => 1435592969
[user_id] => 138
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 138
[ip] => 91.217.156.100
[vid] => h9emvsebk80j6mnhhr5r
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592969
[first_visit] => 1435592969
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/n
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592969
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:29
[lastactivity_ago] => 0 s.
)
)
)
)
[4] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhchat/lhchateventdispatcher.php
[line] => 19
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => erLhcoreClassExtensionXmppservice Object
(
[settings] => Array
(
[ahosting] =>
[subdomain] =>
[enabled] => 1
[online_visitors_tracking] => 1
[xmpp_host] => xmpp.domain.com
[debug] => 1
[handler] => rpc
[node_api_server] => <node_http_address>
[secret_key] => <change_me>
[host_login] => localhost
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
[bosh_service] => ws://xmpp.domain.com:5280/websocket
[use_notification] => 1
[prebind_host] =>
)
)
[1] => onlineUserCreated
)
[1] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 41
[username] => visitor.***.domain.com
[password] => 80c7a0e24d754d27e83f
[ctime] => 1435592969
[lactivity] => 1435592969
[user_id] => 138
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 138
[ip] => 91.217.156.100
[vid] => h9emvsebk80j6mnhhr5r
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592969
[first_visit] => 1435592969
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592969
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:29
[lastactivity_ago] => 0 s.
)
)
)
)
)
[5] => Array
(
[file] => /var/www/livehelperchat/lib/models/lhchat/erlhcoreclassmodelchatonlineuser.php
[line] => 686
[function] => dispatch
[class] => erLhcoreClassChatEventDispatcher
[type] => ->
[args] => Array
(
[0] => onlineuser.created
[1] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 41
[username] => visitor.***.domain.com
[password] => 80c7a0e24d754d27e83f
[ctime] => 1435592969
[lactivity] => 1435592969
[user_id] => 138
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 138
[ip] => 91.217.156.100
[vid] => h9emvsebk80j6mnhhr5r
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592969
[first_visit] => 1435592969
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/n
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592969
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:29
[lastactivity_ago] => 0 s.
)
)
)
)
[6] => Array
(
[file] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
[line] => 33
[function] => handleRequest
[class] => erLhcoreClassModelChatOnlineUser
[type] => ::
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 41
[username] => visitor.***.domain.com
[password] => 80c7a0e24d754d27e83f
[ctime] => 1435592969
[lactivity] => 1435592969
[user_id] => 138
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[tz] => 4
[message_seen_timeout] => 24
[department] =>
[identifier] =>
[pages_count] => 1
[vid] => h9emvsebk80j6mnhhr5r
[check_message_operator] => 1
[pro_active_limitation] => -1
[pro_active_invite] => 1
)
)
)
[7] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
)
[function] => include
)
[8] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Jun 29 18:49:36 [Warning] [default] [default] RuntimeException Object
(
[message:protected] => Error execution command 'register'' with parameters array (
0 =>
array (
'user' => 'admin',
'server' => 'xmpp.domain.com',
'password' => 'PASSWORD',
),
1 =>
array (
'host' => 'xmpp.domain.com',
'user' => 'visitor.139',
'password' => '0df082d7ec5190db7bf8',
),
). Response: <?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>-112</int></value></member><member><name>faultString</name><value><string>Error -112
Unknown call: {call,register,
[{struct,[{user,<<"admin">>},
{server,<<"xmpp.domain.com">>},
{password,<<"PASSWORD">>}]},
{struct,[{host,<<"xmpp.domain.com">>},
{user,<<"visitor.139">>},
{password,<<"0df082d7ec5190db7bf8">>}]}]}</string></value></member></struct></value></fault></methodResponse>
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php
[line:protected] => 126
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/Mixins/UserTrait.php
[line] => 64
[function] => sendRequest
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => register
[1] => Array
(
[host] => xmpp.domain.com
[user] => visitor.139
[password] => 0df082d7ec5190db7bf8
)
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line] => 823
[function] => createUser
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => visitor.139
[1] => 0df082d7ec5190db7bf8
)
)
[2] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php
[line] => 566
[function] => newOnlineVisitor
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => Array
(
[xmpp_account] => erLhcoreClassModelXMPPAccount Object
(
[id] => 42
[username] => visitor.***.domain.com
[password] => 0df082d7ec5190db7bf8
[ctime] => 1435592976
[lactivity] => 1435592976
[user_id] => 139
[sendmessage] => 0
[type] => 1
)
[xmpp_host] => xmpp.domain.com
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 139
[ip] => 217.30.247.23
[vid] => kwmvjwe05bsrk4o57
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/xiaomi-mi4-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592976
[first_visit] => 1435592976
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592976
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:36
[lastactivity_ago] => 0 s.
)
[host_login] => localhost
[node_api_server] => <node_http_address>
[handler] => rpc
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
)
)
)
[3] => Array
(
[function] => onlineUserCreated
[class] => erLhcoreClassExtensionXmppservice
[type] => ->
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 42
[username] => visitor.***.domain.com
[password] => 0df082d7ec5190db7bf8
[ctime] => 1435592976
[lactivity] => 1435592976
[user_id] => 139
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 139
[ip] => 217.30.247.23
[vid] => kwmvjwe05bsrk4o57
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/xiaomi-mi4-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592976
[first_visit] => 1435592976
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592976
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:36
[lastactivity_ago] => 0 s.
)
)
)
)
[4] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhchat/lhchateventdispatcher.php
[line] => 19
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => erLhcoreClassExtensionXmppservice Object
(
[settings] => Array
(
[ahosting] =>
[subdomain] =>
[enabled] => 1
[online_visitors_tracking] => 1
[xmpp_host] => xmpp.domain.com
[debug] => 1
[handler] => rpc
[node_api_server] => <node_http_address>
[secret_key] => <change_me>
[host_login] => localhost
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
[bosh_service] => ws://xmpp.domain.com:5280/websocket
[use_notification] => 1
[prebind_host] =>
)
)
[1] => onlineUserCreated
)
[1] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 42
[username] => visitor.***.domain.com
[password] => 0df082d7ec5190db7bf8
[ctime] => 1435592976
[lactivity] => 1435592976
[user_id] => 139
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 139
[ip] => 217.30.247.23
[vid] => kwmvjwe05bsrk4o57
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/xiaomi-mi4-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592976
[first_visit] => 1435592976
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592976
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:36
[lastactivity_ago] => 0 s.
)
)
)
)
)
[5] => Array
(
[file] => /var/www/livehelperchat/lib/models/lhchat/erlhcoreclassmodelchatonlineuser.php
[line] => 686
[function] => dispatch
[class] => erLhcoreClassChatEventDispatcher
[type] => ->
[args] => Array
(
[0] => onlineuser.created
[1] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 42
[username] => visitor.***.domain.com
[password] => 0df082d7ec5190db7bf8
[ctime] => 1435592976
[lactivity] => 1435592976
[user_id] => 139
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 139
[ip] => 217.30.247.23
[vid] => kwmvjwe05bsrk4o57
[current_page] => http://domain.com/accessories/smartphones-accessories/xiaomi-phones-accessories/xiaomi-mi4-accessories/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592976
[first_visit] => 1435592976
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592976
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:36
[lastactivity_ago] => 0 s.
)
)
)
)
[6] => Array
(
[file] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
[line] => 33
[function] => handleRequest
[class] => erLhcoreClassModelChatOnlineUser
[type] => ::
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 42
[username] => visitor.***.domain.com
[password] => 0df082d7ec5190db7bf8
[ctime] => 1435592976
[lactivity] => 1435592976
[user_id] => 139
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[tz] => 4
[message_seen_timeout] => 24
[department] =>
[identifier] =>
[pages_count] => 1
[vid] => kwmvjwe05bsrk4o57
[check_message_operator] => 1
[pro_active_limitation] => -1
[pro_active_invite] => 1
)
)
)
[7] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
)
[function] => include
)
[8] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Jun 29 18:49:45 [Warning] [default] [default] RuntimeException Object
(
[message:protected] => Error execution command 'register'' with parameters array (
0 =>
array (
'user' => 'admin',
'server' => 'xmpp.domain.com',
'password' => 'PASSWORD',
),
1 =>
array (
'host' => 'xmpp.domain.com',
'user' => 'visitor.140',
'password' => '0e11f226b70176bfab75',
),
). Response: <?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode</name><value><int>-112</int></value></member><member><name>faultString</name><value><string>Error -112
Unknown call: {call,register,
[{struct,[{user,<<"admin">>},
{server,<<"xmpp.domain.com">>},
{password,<<"PASSWORD">>}]},
{struct,[{host,<<"xmpp.domain.com">>},
{user,<<"visitor.140">>},
{password,<<"0e11f226b70176bfab75">>}]}]}</string></value></member></struct></value></fault></methodResponse>
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php
[line:protected] => 126
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/Mixins/UserTrait.php
[line] => 64
[function] => sendRequest
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => register
[1] => Array
(
[host] => xmpp.domain.com
[user] => visitor.140
[password] => 0e11f226b70176bfab75
)
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line] => 823
[function] => createUser
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => visitor.140
[1] => 0e11f226b70176bfab75
)
)
[2] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php
[line] => 566
[function] => newOnlineVisitor
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => Array
(
[xmpp_account] => erLhcoreClassModelXMPPAccount Object
(
[id] => 43
[username] => visitor.***.domain.com
[password] => 0e11f226b70176bfab75
[ctime] => 1435592985
[lactivity] => 1435592985
[user_id] => 140
[sendmessage] => 0
[type] => 1
)
[xmpp_host] => xmpp.domain.com
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 140
[ip] => 89.251.157.66
[vid] => 7apuzrs4ctcebgnyap7r
[current_page] => http://domain.com/pda/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592985
[first_visit] => 1435592985
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592985
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:45
[lastactivity_ago] => 0 s.
)
[host_login] => localhost
[node_api_server] => <node_http_address>
[handler] => rpc
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
)
)
)
[3] => Array
(
[function] => onlineUserCreated
[class] => erLhcoreClassExtensionXmppservice
[type] => ->
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 43
[username] => visitor.***.domain.com
[password] => 0e11f226b70176bfab75
[ctime] => 1435592985
[lactivity] => 1435592985
[user_id] => 140
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 140
[ip] => 89.251.157.66
[vid] => 7apuzrs4ctcebgnyap7r
[current_page] => http://domain.com/pda/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592985
[first_visit] => 1435592985
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/n
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592985
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:45
[lastactivity_ago] => 0 s.
)
)
)
)
[4] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhchat/lhchateventdispatcher.php
[line] => 19
[function] => call_user_func_array
[args] => Array
(
[0] => Array
(
[0] => erLhcoreClassExtensionXmppservice Object
(
[settings] => Array
(
[ahosting] =>
[subdomain] =>
[enabled] => 1
[online_visitors_tracking] => 1
[xmpp_host] => xmpp.domain.com
[debug] => 1
[handler] => rpc
[node_api_server] => <node_http_address>
[secret_key] => <change_me>
[host_login] => localhost
[rpc_server] => http://xmpp.domain.com:4560
[rpc_username] => admin
[rpc_password] => PASSWORD
[rpc_account_host] => xmpp.domain.com
[bosh_service] => ws://xmpp.domain.com:5280/websocket
[use_notification] => 1
[prebind_host] =>
)
)
[1] => onlineUserCreated
)
[1] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 43
[username] => visitor.***.domain.com
[password] => 0e11f226b70176bfab75
[ctime] => 1435592985
[lactivity] => 1435592985
[user_id] => 140
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 140
[ip] => 89.251.157.66
[vid] => 7apuzrs4ctcebgnyap7r
[current_page] => http://domain.com/pda/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592985
[first_visit] => 1435592985
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592985
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:45
[lastactivity_ago] => 0 s.
)
)
)
)
)
[5] => Array
(
[file] => /var/www/livehelperchat/lib/models/lhchat/erlhcoreclassmodelchatonlineuser.php
[line] => 686
[function] => dispatch
[class] => erLhcoreClassChatEventDispatcher
[type] => ->
[args] => Array
(
[0] => onlineuser.created
[1] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 43
[username] => visitor.***.domain.com
[password] => 0e11f226b70176bfab75
[ctime] => 1435592985
[lactivity] => 1435592985
[user_id] => 140
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[ou] => erLhcoreClassModelChatOnlineUser Object
(
[id] => 140
[ip] => 89.251.157.66
[vid] => 7apuzrs4ctcebgnyap7r
[current_page] => http://domain.com/pda/
[user_agent] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
[chat_id] => 0
[last_visit] => 1435592985
[first_visit] => 1435592985
[user_country_name] => Russia
[user_country_code] => ru
[operator_message] =>
[identifier] =>
[operator_user_id] => 0
[operator_user_proactive] =>
[message_seen] => 0
[message_seen_ts] => 0
[pages_count] => 1
[tt_pages_count] => 1
[lat] =>
[lon] =>
[invitation_id] => 0
[city] =>
[time_on_site] => 0
[tt_time_on_site] => 0
[referrer] => //domain.com/
[page_title] =>
[total_visits] => 1
[invitation_count] => 0
[requires_email] => 0
[requires_username] => 0
[dep_id] => 0
[invitation_seen_count] => 0
[screenshot_id] => 0
[operation] =>
[operation_chat] =>
[online_attr] =>
[online_attr_system] =>
[visitor_tz] => Europe/Moscow
[notes] =>
[requires_phone] => 0
[last_check_time] => 1435592985
[reopen_chat] => 0
[store_chat] => 1
[invitation_assigned] =>
[visitor_tz_time] => 18:49:45
[lastactivity_ago] => 0 s.
)
)
)
)
[6] => Array
(
[file] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
[line] => 33
[function] => handleRequest
[class] => erLhcoreClassModelChatOnlineUser
[type] => ::
[args] => Array
(
[0] => Array
(
[tpl] => erLhcoreClassTemplate Object
(
[vars:erLhcoreClassTemplate:private] => Array
(
[xmppAccount] => erLhcoreClassModelXMPPAccount Object
(
[id] => 43
[username] => visitor.***.domain.com
[password] => 0e11f226b70176bfab75
[ctime] => 1435592985
[lactivity] => 1435592985
[user_id] => 140
[sendmessage] => 0
[type] => 1
)
)
[cacheWriter:erLhcoreClassTemplate:private] => erLhcoreClassCacheStorage Object
(
[cacheDir:erLhcoreClassCacheStorage:private] => cache/cacheconfig/
)
[cacheTemplates:erLhcoreClassTemplate:private] => Array
(
)
[cacheEnabled:erLhcoreClassTemplate:private] =>
[templatecompile:erLhcoreClassTemplate:private] =>
[cacheDbVariables] => 1
[file] => lhchat/chatcheckoperatormessage.tpl.php
)
[tz] => 4
[message_seen_timeout] => 24
[department] =>
[identifier] =>
[pages_count] => 1
[vid] => 7apuzrs4ctcebgnyap7r
[check_message_operator] => 1
[pro_active_limitation] => -1
[pro_active_invite] => 1
)
)
)
[7] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/modules/lhchat/chatcheckoperatormessage.php
)
[function] => include
)
[8] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[9] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Last edited by olegfusion (2015-06-29 15:55:13)
Offline
I have suspicion that you did not configured correctly RPC part... What exactly wrong i really don't know this time.
Offline
found,needed to delete login and pass from RPC (bad response somehow, allowed for everyone right now).
now having a problem Could not assign operator to operators shared roaster!
probably something was done wrong in ejabber about roasters.
Doh, still can't solve this issue. New xmpp user can't be sticked to ejabberd roster group.
Last edited by olegfusion (2015-06-29 17:32:39)
Offline
by the way, if I enable ahosting = true, then
Fatal error: Class 'erLhcoreClassInstance' not found in /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php on line 635
Offline
Hi,
Have you done that?
Enable "mod_admin_extra" module. ejabberd configuration file may be missing it completely. So under "modules" just add "mod_admin_extra: []"
found,needed to delete login and pass from RPC (bad response somehow, allowed for everyone right now).
now having a problem Could not assign operator to operators shared roaster!
probably something was done wrong in ejabber about roasters.Doh, still can't solve this issue. New xmpp user can't be sticked to ejabberd roster group.
As for that. It's correct behaviour because this class is provided by automated hosting extension.
by the way, if I enable ahosting = true, then
Fatal error: Class 'erLhcoreClassInstance' not found in /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php on line 635
Offline
So under "modules" just add "mod_admin_extra: []"
of course I added that.
Offline
and what returns ejabberdctl this command?
in standalone mode you had to precreate yourself "operators" and "visitors" shared rosters also.
Also in all cases cache/default.log would containt precise error.
Offline
all right, that's exactly what I made.
at the third post in this thread I posted examples of config (what I added there).
and of course I opened web interface (:5280/admin) and added shared rosters called "operators" and "visitors". in operators I added displayed groups operators and visitors. all like in your guide. re-read it several times.
I tried to create operator and place him there, but xmpp module doesn't read them still.
and what returns ejabberdctl this command?
which command?
Offline
1. This command - /opt/ejabberd-15.06/bin/ejabberdctl
2. See cache/default.log for error. Then you try to create an operator.
Offline
1. it shows whole available commands.
if you mean if it has srg commands, then yes:
srg_create group host name description display Create a Shared Roster Group
srg_delete group host Delete a Shared Roster Group
srg_get_info group host Get info of a Shared Roster Group
srg_get_members group host Get members of a Shared Roster Group
srg_list host List the Shared Roster Groups in Host
srg_user_add user host group grouphost Add the JID *** to the Shared Roster Group
srg_user_del user host group grouphost Delete this JID *** from the Shared Roster Group
2.
getting Could not assign operator to operators shared roaster!
log:
Jun 29 22:54:36 [Warning] [default] [default] Exception Object
(
[message:protected] => Could not find LHC user by user - ***.domain.com
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line:protected] => 1350
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/operatorstatus.php
[line] => 9
[function] => handleOperatorPing
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => {"action":"disconnect","user":"op","server":"xmpp.domain.com"}
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/operatorstatus.php
)
[function] => include
)
[2] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[3] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
Jun 29 22:55:13 [Warning] [default] [default] RuntimeException Object
(
[message:protected] => Error execution command 'srg_user_add'' with parameters array (
'user' => 'op',
'host' => 'xmpp.domain.com',
'group' => 'operators',
'grouphost' => 'xmpp.domain.com',
). Response:
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/RpcClient.php
[line:protected] => 126
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/php-jabber-rpc/GameNet/Jabber/Mixins/GroupTrait.php
[line] => 129
[function] => sendRequest
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => srg_user_add
[1] => Array
(
[user] => op
[host] => xmpp.domain.com
[group] => operators
[grouphost] => xmpp.domain.com
)
)
)
[1] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppservicehandler.php
[line] => 761
[function] => addUserToSharedRosterGroup
[class] => GameNet\Jabber\RpcClient
[type] => ->
[args] => Array
(
[0] => op
[1] => operators
)
)
[2] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/bootstrap/bootstrap.php
[line] => 452
[function] => registerOperator
[class] => erLhcoreClassExtensionXmppserviceHandler
[type] => ::
[args] => Array
(
[0] => Array
(
[xmpp_account] => erLhcoreClassModelXMPPAccount Object
(
[id] =>
[username] => ***.domain.com
[password] => op
[ctime] => 0
[lactivity] => 0
[user_id] => 1
[sendmessage] => 0
[type] => 0
[username_plain] => op
)
[xmpp_host] => xmpp.domain.com
[host_login] => localhost
[node_api_server] => <node_http_address>
[handler] => rpc
[rpc_server] => xmpp.domain.com:4560
[rpc_username] =>
[rpc_password] =>
[rpc_account_host] =>
)
)
)
[3] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/classes/erlhcoreclassxmppaccountvalidator.php
[line] => 84
[function] => registerOperator
[class] => erLhcoreClassExtensionXmppservice
[type] => ->
[args] => Array
(
[0] => erLhcoreClassModelXMPPAccount Object
(
[id] =>
[username] => ***.domain.com
[password] => op
[ctime] => 0
[lactivity] => 0
[user_id] => 1
[sendmessage] => 0
[type] => 0
[username_plain] => op
)
)
)
[4] => Array
(
[file] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/newxmppaccount.php
[line] => 18
[function] => publishXMPPAccount
[class] => erLhcoreClassXMPPServiceAccountValidator
[type] => ::
[args] => Array
(
[0] => erLhcoreClassModelXMPPAccount Object
(
[id] =>
[username] => ***.domain.com
[password] => op
[ctime] => 0
[lactivity] => 0
[user_id] => 1
[sendmessage] => 0
[type] => 0
[username_plain] => op
)
)
)
[5] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 96
[args] => Array
(
[0] => /var/www/livehelperchat/extension/xmppservice/modules/lhxmppservice/newxmppaccount.php
)
[function] => include
)
[6] => Array
(
[file] => /var/www/livehelperchat/lib/core/lhcore/lhmodule.php
[line] => 462
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[7] => Array
(
[file] => /var/www/livehelperchat/index.php
[line] => 38
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
# /opt/ejabberd-15.06/bin/ejabberdctl srg_user_add op xmpp.domain.com operators xmpp.domain.com
Problem 'error badarg' occurred executing the command.
Stacktrace: [{erlang,binary_to_list,["op"],[]},
{ejabberd_regexp,run,2,
[{file,"src/ejabberd_regexp.erl"},{line,40}]},
{mod_shared_roster,add_user_to_group,3,
[{file,"src/mod_shared_roster.erl"},
{line,828}]},
{mod_admin_extra,srg_user_add,4,
[{file,"src/mod_admin_extra.erl"},{line,1315}]},
{ejabberd_commands,execute_command2,2,
[{file,"src/ejabberd_commands.erl"},
{line,320}]},
{ejabberd_ctl,call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,292}]},
{ejabberd_ctl,try_call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,268}]},
{ejabberd_ctl,process2,3,
[{file,"src/ejabberd_ctl.erl"},{line,217}]}]
looks like something broken in module mod_admin_extra
Last edited by olegfusion (2015-06-29 20:14:37)
Offline
ok, this time I don't know. Try manually executing this command from command line. with generated arguments in your case it would look like
[== Undefined ==]
srg_user_add op xmpp.domain.com operators xmpp.domain.com
You can try to debug also this command.
https://github.com/LiveHelperChat/xmpp- … r.php#L702
As you see in this method, first user is created and then it's assigned to group. Was user created in ejabberd itself in first place?
-----------
Ok i saw your response. Perhaps user was not created itself first? or perhaps does not like short username. On automated hosting i'm using also same ejabberd version and it works as it should.
Last edited by remdex (2015-06-29 20:18:57)
Offline