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

You are not logged in.

Announcement

#1 2016-08-16 09:54:50

dust2
Member
Registered: 2014-08-13
Posts: 6

Cache not working in v2.46

I upgraded to latest version (2.46). After I clear cache, I changed setting to enabled cache as below:
'templatecache' => true,
'templatecompile' => true,
'modulecompile' => true

The result is chat window for guest do not working, and it generated php log error:
PHP Parse error:  syntax error, unexpected ')' in .../cache/compiledtemplates/fe24f0776e55dfcefe5d6f16c7c93b29.php on line 11

I revert 02 config:
'templatecompile' => false,
'modulecompile' => false

The result is chat window for guest is working again

So please help me enable cache

Thank you

Offline

#2 2016-08-16 10:19:54

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Cache not working in v2.46

https://livehelperchat.com/article/view/40

Clean cache link can be seen in system configuration page. Also then you are changing templates make sure you have disabled live helper cache.

    'templatecache' => false,
    'templatecompile' => false,
    'modulecompile' => false, 

Maybe you have deleted some "," or something so is not working.
I never know there are issues with cache. Try to compare your config file with the default smile


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#3 2016-08-17 01:28:30

dust2
Member
Registered: 2014-08-13
Posts: 6

Re: Cache not working in v2.46

Marco B wrote:

https://livehelperchat.com/article/view/40

Clean cache link can be seen in system configuration page. Also then you are changing templates make sure you have disabled live helper cache.

    'templatecache' => false,
    'templatecompile' => false,
    'modulecompile' => false, 

Maybe you have deleted some "," or something so is not working.
I never know there are issues with cache. Try to compare your config file with the default smile

I do as this article, LivehelperChat working, but after I restore config to TRUE as below then Livehelperchat not working normally:
    'templatecache' => true,
    'templatecompile' => true,
    'modulecompile' => true, 

If I do not change 02 config lines, LivehelperChat is working normally:
    'templatecache' => true,
    'templatecompile' => false,
    'modulecompile' => false,

Offline

#4 2016-08-17 02:32:43

PeopleInside
Administrator
From: Italy
Registered: 2014-04-10
Posts: 4,046
Website

Re: Cache not working in v2.46

Is your install a local or Web install.
I think is local install. No support to local install available for free.

Maybe on the Web all works fine. If not please try to update again and be sure to not miss file!
Thanks


lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]

Offline

#5 2016-08-17 03:16:46

dust2
Member
Registered: 2014-08-13
Posts: 6

Re: Cache not working in v2.46

Marco B wrote:

Is your install a local or Web install.
I think is local install. No support to local install available for free.

Maybe on the Web all works fine. If not please try to update again and be sure to not miss file!
Thanks

Yes, local install. I will check again.

Thank you

Offline

#6 2016-08-19 05:05:21

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

Re: Cache not working in v2.46

As i know this one was fixed already

Offline

#7 2016-08-19 15:48:20

dust2
Member
Registered: 2014-08-13
Posts: 6

Re: Cache not working in v2.46

Now my live support is running if I set config:

'templatecache' => true,
'templatecompile' => false,
'modulecompile' => false,

Maybe next update version will resolve this problem.

Thank you,

Offline

#8 2016-08-21 08:18:48

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

Re: Cache not working in v2.46

it's all in github. Just replace files and before enabling cache just click clear cache from back office

Offline

Board footer