Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hi,
I am new bee, and i don't speak english very well sorry!
I have installed LHC for 3 times and after some time (1 day) it stop working!
I put 'debug_output' => true,and i received this
Warning: Cannot use a scalar value as an array in
/flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhconfig/lhcacheconfig.php
on line 33
Warning: Cannot use a scalar value as an array in
/flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhconfig/lhcacheconfig.php
on line 33
Exception Object
(
[message:protected] => Setting with section {cachetimestamps} value {translationfile}
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhconfig/lhcacheconfig.php
[line:protected] => 22
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhcore/lhtranslation.php
[line] => 25
[function] => getSetting
[class] => erConfigClassLhCacheConfig
[type] => ->
[args] => Array
(
[0] => cachetimestamps
[1] => translationfile
)
)
[1] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhcore/lhtranslation.php
[line] => 133
[function] => __construct
[class] => erTranslationClassLhTranslation
[type] => ->
[args] => Array
(
)
)
[2] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhtpl/tpl.php
[line] => 238
[function] => getInstance
[class] => erTranslationClassLhTranslation
[type] => ::
[args] => Array
(
)
)
[3] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/cache/compiledtemplates/fffe45866a2a58223840463f2f909133.php
[line] => 2
[function] => fetch
[class] => erLhcoreClassTemplate
[type] => ->
[args] => Array
(
)
)
[4] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhcore/lhmodule.php
[line] => 91
[args] => Array
(
[0] => /flex/domain/campcatta.com/site/www/lhc_web/cache/compiledtemplates/fffe45866a2a58223840463f2f909133.php
)
[function] => include
)
[5] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/lib/core/lhcore/lhmodule.php
[line] => 380
[function] => runModule
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
[6] => Array
(
[file] => /flex/domain/campcatta.com/site/www/lhc_web/index.php
[line] => 27
[function] => moduleInit
[class] => erLhcoreClassModule
[type] => ::
[args] => Array
(
)
)
)
[previous:Exception:private] =>
)
what is the problem?
Offline
Hi,
You are running new version right LHC?
Personally i have not encountered this error. I let you know if I find something in this thread today later in the evening.
Thanks for detailed bug report.
2014-02-05 Christian De Laroche <madac...***.com>:
Offline
Meanwhile you can just disable cache in settings/settings.ini.php and all should work.
http://livehelperchat.com/article/view/40
2014-02-05 Remigijus Kiminas <rem...***.com>:
Offline
Thanks for answer
I run 1.83
The cache are disable
array (
'site' =>
array (
'title' => 'Live helper Chat',
'site_admin_email' => '',
'locale' => 'en_EN',
'theme' => 'defaulttheme',
'installed' => true,
'secrethash' => 'd5913df8e8',
'debug_output' => true,
'templatecache' => false,
'templatecompile' => false,
'modulecompile' => false,
'force_virtual_host' => false,
'time_zone' => 'Africa/Nairobi',
'default_site_access' => 'eng',
'extensions' =>
regard
Christian
Le mercredi 5 février 2014 17:00:45 UTC+3, Christian De Laroche a écrit :
Offline
Ok,
Try replacing these two files, also enable cache after that.
https://github.com/remdex/livehelperchat/blob/master/lhc_web/lib/core/lhconfig/lhcacheconfig.php
https://github.com/remdex/livehelperchat/blob/master/lhc_web/lib/core/lhcore/lhtranslation.php
2014-02-05 Christian De Laroche <madac...***.com>:
Thanks for answer
Offline
Just one thing.
I think this can happen only on very slow server, and on some buggy PHP version you have. Like looking at code it seems just impossible.
2014-02-05 Remigijus Kiminas <rem...***.com>:
Offline
I leave in Madagascar and some time connexion is very bad!!
My server is ONLINE.NET in france with PHP
Version 5.4.6-1ubuntu1 and mysql Client API version 5.5.28
I try to replace the two files but same error!!Sorry for problem, but i realy like your chat and would be found a solutionregardChristian
Le mercredi 5 février 2014 19:07:57 UTC+3, Remigijus Kiminas a écrit :
Offline
Sorry, but it's impossible to receive this error after these changes. Make sure you have replaced these files. Or repaste error, because error should be on different lines now.
Offline
Ok sorry after several reload of the page /user/login it's working and i have the chat come bak on my page !!!
Thank you very much, i hope that it's ok now,
Good night
Christian
Le mercredi 5 février 2014 19:07:57 UTC+3, Remigijus Kiminas a écrit :Just one thing.
Offline
Pages: 1