Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Getting UnableToWriteFile error message that blocks access to the EE control panel.

Status Resolved
Add-on / Version Logit 1.2.1
Severity
EE Version 7.2.7

Pauline Shannon

Feb 24, 2023

Receiving UnableToWriteFile error message that blocks access to the EE7 control panel (see attached). Using the default config settings for Logit, except sending the log file to a different location on the server (outside EE caching). Thanks!

#1

BoldMinded (Brian)

That sounds like the location you’re trying to write to doesn’t have the correct permissions. Not sure this is a Logit issue tbh.

#2

BoldMinded (Brian)

Pauline, were you able to correct this?

#3

Pauline Shannon

We figured out that the log files were really huge and were using all our disk space. We cleared them out and the problem was resolved. We are using the rotatelogs option in the config.php file and noticed after we set it for 1 day, it still creates logs for the days that follow. We are using version 1.3.0 build d2c2e1b8.

Our setup is on a Ubuntu box, with PHP 8.1.15 using EE 7.2.7.

#4

BoldMinded (Brian)

Thanks, I’ll take a look at the rotate code. For the time being you might have to setup a script or something to delete the older files. I’m assuming it’s creating multiple log files correctly, just not deleting the old ones?

#5

Pauline Shannon

Correct, the log files are being generated properly. Thanks!

#6

BoldMinded (Brian)

In the mean time you can also tell Logit to use the PHP log file and let your server’s built in log rotation handle it.

#7

BoldMinded (Brian)

Comment has been marked private.

Login to reply