Thumbnails caching: "touch" was the answer

Hey,

I had a weird problem with the thumbnails, I could not write to the cache folder even though it was CHMOD 777.
I had already changed the code, when I stumbled accross a weird solution: if I put an innocent
touch($newfile);
just before
imagejpeg($newim, $newfile, $image_quality);
in or near line 87 in i.php then it works.

Having spent a day figuring it out myself, I now found a post on php.net which said just that :-|

Will submit a bug-report, too.

Tobi

Comments

Sign In or Register to comment.