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

You are not logged in.

Announcement

#1 2019-08-06 11:45:43

nightf
Member
Registered: 2019-02-28
Posts: 28

Cache file permission - linux

Hey,
In some places in the admin where i get an error, I get this message as well:
"Fatal error: Uncaught ezcBaseFilePermissionException: The file 'cache/default.log' can not be opened for writing."

I already changed the file permissions to be writable a few times, and it keeps changing back.
Is there anything else I can do to make it writable at all times?

Thanks

Last edited by nightf (2019-08-06 11:54:18)

Offline

#2 2019-08-06 12:18:36

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

Re: Cache file permission - linux

Hi nightf, thank you for your question.
When this error start to be present?
What is your live helper chat and php version?

Have you made custom changes to live helper chat files on the server?
Have you made custom edits on the custom theme?


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 2019-08-06 14:27:48

nightf
Member
Registered: 2019-02-28
Posts: 28

Re: Cache file permission - linux

I'm not sure when it started, because until now i fixed it with just "chmod -R 777 cache/"
livehelperchat version is 3.21
php version is 7.1.25

I made custom changes and custom edits on custom theme.
Do you suggest some change I made keeps changing "cache/default.log" file permissions?

Thanks

Offline

#4 2019-08-06 16:45:03

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

Re: Cache file permission - linux

Hi, thank you for the updates.
The last version of live helper chat is: 3.24

I suggest also to check this page: https://www.php.net/supported-versions.php
there is more updated and supported version of PHP see the row in green.

About the error i cannot help because this is off from my free limited support.
Maybe some changes you do in the files has made some issue.

If you need there is commercial support, more info on my forum signature.
I suggest also sometimes to make backup of folder and database of your web applications.


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 2021-08-22 09:35:47

cy
New member
Registered: 2021-08-22
Posts: 1

Re: Cache file permission - linux

Please do not set your cache folder permission as 777. Just leave it as 755 and create 'cache/default.log' file.

Offline

#6 2021-08-23 14:48:46

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

Re: Cache file permission - linux

cy wrote:

Please do not set your cache folder permission as 777. Just leave it as 755 and create 'cache/default.log' file.

Right suggestion, 777 permission can be dangerous.

Thanks cy, I miss that part in the previous message!

https://stackoverflow.com/questions/419 … -777-files


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

Board footer