-
SF totally wrangled my text, as was expected.
The patch is of course completely trivial, but just so I do this the right way, here is the patch attached as a seperate file.
File Added: phpthumb-no-cull-error.diff.
2008-05-22 12:50:23 UTC in phpThumb()
-
Seems to fix is to just return from the function a couple of lines before the errors starts.
When you configure phpThumb() to not cull the cache, it logs a message to that effect, then tries to do some statistics, and then it tries to remove empty cache dirs.
The actions following the the logging statement do not make sense at that point, so my guess is to just return the function after the...
2008-05-22 12:46:27 UTC in phpThumb()
-
I am encountering some errors when I try to use phpThumb() and configure it to not use any cache culling.
Specifically, I see this: (trying to just paste this in SF, will probably turn out pretty bad)
Notice: Undefined variable: DeletedKeys in /data/oi/htdocs/finntemplates/phpThumb-1.7.8/phpthumb.class.php on line 752
Warning: Invalid argument supplied for foreach() in...
2008-05-22 12:33:58 UTC in phpThumb()