WPIntell

Source evidence

mkdir Warning When Logging

Trunc Logging – Auditing syslog for WordPress · support · 2023-12-05T15:10:00+00:00

mixedsentiment
mediumseverity
0.72relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 25 rows with source links

16.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

21 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Tim Nolte resolved
I’m generally getting a constant warning when Trunc Logging is checking for the log file. Warning: mkdir(): File exists in public/wp-content/plugins/trunc-logging/trunc.php on line 141 @dcid as we’re beginning to continue with our roll-out of the plugin is there any status update on this issue? I would think that perhaps the fix for this would be just to first include a check for the directory before trying to create it. if ( ! is_dir( TRUNCLOGGING_DIR ) ) { mkdir(TRUNCLOGGING_DIR); } Missed this one sorry. Easy fix and I will push it later today. thanks, Should be fixed on 1.0.6. Thanks!

Comments

5 shown
Tim Nolte 2024-02-07T17:44:00+00:00

@dcid as we’re beginning to continue with our roll-out of the plugin is there any status update on this issue?

Tim Nolte 2024-02-07T17:49:00+00:00

I would think that perhaps the fix for this would be just to first include a check for the directory before trying to create it. if ( ! is_dir( TRUNCLOGGING_DIR ) ) { mkdir(TRUNCLOGGING_DIR); }

Daniel Cid 2024-02-07T19:35:00+00:00

Missed this one sorry. Easy fix and I will push it later today. thanks,

Daniel Cid 2024-02-08T06:58:00+00:00

Should be fixed on 1.0.6.

Tim Nolte 2024-02-08T13:23:00+00:00

Thanks!