[wp-hackers] Wordpress object cache

Sabin Iacob iacobs at m0n5t3r.info
Thu Apr 12 10:55:05 GMT 2007

Andy Skelton wrote:
> On 4/12/07, Andy Skelton <skeltoac at gmail.com> wrote:
>> php's tempnam function is what's doing this because your
>> wp-content/cache directory does not exist or is not writable.

hmm, very interesting: the cache directory was writable, but for some 
reason the directories wordpress had created inside were not (tried 
deleting them and they were again created without the write permission); 
however, deleting tha wp-content/cache directory and letting wordpress 
create it led to correct permissions;

btw, WP_Object_Cache::make_group_dir seems  to be repeating the work of 

> Looks like there's a missing unlink in there; unusable tmp files
> should never be left there.
> Opened a ticket: http://trac.wordpress.org/ticket/4141


More information about the wp-hackers mailing list