If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
It looks like it's an LLM generated code with programming language level mistakes. The error is likely not logged because invalid PHP code could not get...
Making this the default behavior will be undesired for many who usually attach documents unrelated to the record. I believe the majority won't attach...
The race condition actually likely had happened when you had that warning. Maybe umask usage increases its probability drastically, not sure. I removed...
Maybe we'd rather get rid of unmask which would reduce race condition probability. But this code is very crucial, and tested by time. Would require quite...
If it's a race condition that two concurrent processes run the same code creating the dir simultaneously, then I'm not sure how to fix since error suppression...
Maybe another solution would be to set middle table records to deleted instantly. But there will be a problem with restoring as we don't track modified...
Leave a comment: