Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
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?
Last edited by serg6006 (2021-02-10 05:54:02)
Offline
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
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
You need https://www.php.net/manual/en/book.bc.php extension for your php. Or you need to disable geo detection.
Offline
The problem was partially solved by disabling the "Use session captcha", but in Microsoft Edge, only when using https, the problem remained.
Offline
Installing php-bcmath in ubuntu solved the problem. Thanks!!!
Offline
Pages: 1