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

You are not logged in.

Announcement

#1 2015-12-25 13:50:35

Kirill
Member
Registered: 2015-10-20
Posts: 7

[BUG] Missing data for user additional info

So, there is a website with livehelpchat (http://chilihelp.ru). I use this manual to add additional variables to online visitors list:
https://livehelperchat.com/how-to-pass- … -302a.html

All fine but there is no data in interface. In filed Additional information i see null
Screen: http://joxi.ru/Dr8d69NFkMyjXr

So i try to print data from additional field parametr in online_user_info.tpl.php and see this:

{"name":"\u0413\u043e\u0441\u0442\u044c", "id":"0","email":"empty","0":"undefined","Array":"undefined","1":"undefined","2":"undefined","3":"undefined","4":"undefined",
"5":"undefined","6":"undefined","7":"undefined","8":"undefined",
"9":"undefined","10"

So JSON data contains my additional info, but corrupted. Whats wrong with it? How can i solved this problem?

Last edited by Kirill (2015-12-25 13:58:21)

Offline

#2 2015-12-25 13:57:37

Kirill
Member
Registered: 2015-10-20
Posts: 7

Re: [BUG] Missing data for user additional info

Solve problem. This is livechat bug. Look at value of online_attr field in lh_chat_online_user table
Size varchar (250) its to smalll for such data. I change it to type Text and ots solve my problem.

Offline

#3 2015-12-25 14:00:38

Kirill
Member
Registered: 2015-10-20
Posts: 7

Re: [BUG] Missing data for user additional info

But there are a lot of unused data in this array. I think its bug too

{
    "name": "\u0413\u043e\u0441\u0442\u044c",
    "id": "0",
    "email": "empty",
    "0": "undefined",
    "Array": "undefined",
    "1": "undefined",
    "2": "undefined",
    "3": "undefined",
    "4": "undefined",
    "5": "undefined",
    "6": "undefined",
    "7": "undefined",
    "8": "undefined",
    "9": "undefined",
    "10": "undefined",
    "11": "undefined",
    "12": "undefined",
    "13": "undefined",
    "14": "undefined",
    "15": "undefined",
    "16": "undefined",
    "17": "undefined",
    "18": "undefined",
    "19": "undefined",
    "20": "undefined",
    "21": "undefined",
    "22": "undefined",
    "23": "undefined",
    "24": "undefined",
    "25": "undefined",
    "26": "undefined"
}

Offline

#4 2015-12-26 19:55:46

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

Re: [BUG] Missing data for user additional info

I see. I change that in a few minutes.

Offline

Board footer