Cache: trying to remove non empty directory

5 years ago

cubic
Member | 48
+
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

5 years ago

David Grudl
Nette Core | 6850
+
0
-

Warning: in Tracy output is your email password

5 years ago

cubic
Member | 48
+
0
-

@DavidGrudl: Thanks!

5 years ago

David Grudl
Nette Core | 6850
+
0
-

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

5 years ago

cubic
Member | 48
+
0
-

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

5 years ago

David Grudl
Nette Core | 6850
+
0
-

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

5 years ago

cubic
Member | 48
+
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 :-)

5 years ago

David Grudl
Nette Core | 6850
+
0
-

:-)