Cache: trying to remove non empty directory

Notice: This thread is very old.
cubic
Member | 45
+
0
-

Please look at the Tracy output first: http://www.jakubmisek.cz/tracy.htm

This happens occasionally for example twice a day when I try to reload the page, submit the form,…
When I look into this directory, it's empty and after repeated reloading the page it works fine
I think it began maybe week ago, I am not sure if it has something to do with Nette update (the newest 2.2.x version), but it's really weird. I looked at the function and this error message doesn't make sense to me.

This website is in development now so I test it mainly on local server. I haven't noticed it on production server yet but of course the reason could be very simple – we don't use it there so much now..

I found similar reported problem a few years ago: https://forum.nette.org/…konstruktoru

David Grudl
Nette Core | 8218
+
0
-

Warning: in Tracy output is your email password

cubic
Member | 45
+
0
-

@DavidGrudl: Thanks!

David Grudl
Nette Core | 8218
+
0
-

Btw, is it original Tracy or do you have a modified template? I am suprised that <script> is immediately after <body>.

cubic
Member | 45
+
0
-

It's original template without modifications but I saved the file in Firefox and I think it often changes the code.

David Grudl
Nette Core | 8218
+
0
-

What about modify NetteExtension to dump content of directory? Add dump(glob("$dir/$uniq/*")) before rmdir and wait…

cubic
Member | 45
+
0
-

Great idea, thanks. I am waiting. I will let you know when it occurs but I bet it will take at least a few weeks now :-)

David Grudl
Nette Core | 8218
+
0
-

:-)