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

You are not logged in.

Announcement

#1 2021-02-10 05:52:02

serg6006
Member
Registered: 2018-03-23
Posts: 10

Widget error

Widget error.
After a global server update (Ubuntu, php), switching to the h2 protocol, PHP FPM, updating LiveHelperChat to version 3.63 from version 2.91, the chat stopped working (the server is running). Getting errors of the widget.
On Google Chrome, only the message "Your request was not processed as expected....", and on Microsoft Edge " Failed to load resource: the server responded with a status of 503 ()" and Uncaught SyntaxError: Unexpected token < in JSON at position 0 helperFunctions. js:160 (helperFunctions.js:157). On Microsoft Edge, the widget does not appear at all. I also cleaned the caches in LiveHelperChat and browsers. I tried php versions 5.6, 7.2, 7.4 and 8.0. I don't use captcha.
Is there any solution to the problem?
Microsoft Edge error
1612936427_eddg_https.png

Last edited by serg6006 (2021-02-10 05:54:02)

Offline

#2 2021-02-10 06:01:42

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

Re: Widget error

1. See cache/default.log for an error message.
2. In chat configuration make sure you have disabled "Use session captcha. LHC have to be installed on the same domain or subdomain."

Offline

#3 2021-02-10 06:25:54

serg6006
Member
Registered: 2018-03-23
Posts: 10

Re: Widget error

domain - petros-garant.ru
LHC - online.petros-garant.ru
cache/default.log:

[== Undefined ==]
PHP Fatal error:  Uncaught Error: Call to undefined function MaxMind\\Db\\Reader\\bcadd() in /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/Decoder.php:252\nStack trace:\n#0 /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/Decoder.php(236): MaxMind\\Db\\Reader\\Decoder->decodeBigUint('\\x00\\x00\\x00\\x00[\\x98.\\xBD', 8)\n#1 /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/Decoder.php(125): MaxMind\\Db\\Reader\\Decoder->decodeUint64('[\\x98.\\xBD')\n#2 /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/Decoder.php(91): MaxMind\\Db\\Reader\\Decoder->decodeByType('uint64', 57783875, 4)\n#3 /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/Decoder.php(189): MaxMind\\Db\\Reader\\Decoder->decode(57783875)\n#4 /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/Decoder.php(98): MaxMind\\Db\\Reader\\Decoder->decodeMap(9, 57783873)\n#5 /var/www/online.petros-garant.ru/lib/core/lhexternal/MaxMind/Db/Reader/...\n',

Offline

#4 2021-02-10 06:27:52

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

Re: Widget error

You need https://www.php.net/manual/en/book.bc.php extension for your php. Or you need to disable geo detection.

Offline

#5 2021-02-10 06:35:53

serg6006
Member
Registered: 2018-03-23
Posts: 10

Re: Widget error

The problem was partially solved by disabling the "Use session captcha", but in Microsoft Edge, only when using https, the problem remained.

Offline

#6 2021-02-10 06:44:46

serg6006
Member
Registered: 2018-03-23
Posts: 10

Re: Widget error

Installing php-bcmath in ubuntu solved the problem. Thanks!!!

Offline

Board footer