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

You are not logged in.

Announcement

#1 2014-02-05 15:00:45

Christian De Laroche
Member
Registered: 2014-02-05
Posts: 7

Stop working after some time

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?



https://groups.google.com/forum/#!topic … 0K-M0dlBkA

Offline

#2 2014-02-05 15:04:22

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

Re: Stop working after some time

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

#3 2014-02-05 15:05:44

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

Re: Stop working after some time

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

#4 2014-02-05 15:35:53

Christian De Laroche
Member
Registered: 2014-02-05
Posts: 7

Re: Stop working after some time

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

#5 2014-02-05 17:04:47

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

Re: Stop working after some time

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

#6 2014-02-05 17:07:57

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

Re: Stop working after some time

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

#7 2014-02-05 17:35:19

Christian De Laroche
Member
Registered: 2014-02-05
Posts: 7

Re: Stop working after some time

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

#8 2014-02-05 17:57:23

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

Re: Stop working after some time

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

#9 2014-02-05 19:26:42

Christian De Laroche
Member
Registered: 2014-02-05
Posts: 7

Re: Stop working after some time

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

Board footer