Hello, I ma not sure if I stumbled on a critical bug or if I am just reading teh wrong docs. Or if I am just being stupid. I use this: cache_set('gallery_'. $node->nid, $gallery, CACHE_TEMPORARY); To define a cache chnuk for every $gallery object ($gallery is an array with all $image node objects preloaded) But, when I do so everything breaks enomously. I get a fatal error (something with unlocked tables) Any help would be appreciated. And I really hope this is not something broken in core, because we could easily do without new bugs every day. :) -------------------------------------- Warning: sprintf(): Too few arguments in /var/www/staging/includes/database.inc on line 158 Fatal error: Query was empty query: in /var/www/staging/includes/database.mysql.inc on line 99 Fatal error: Table 'sessions' was not locked with LOCK TABLES query: UPDATE sessions SET uid = 2, cache = 0, hostname = '81.11.226.132', session = 'messages|a:0:{}watchdog_overview_filter|s:3:\"all\";', timestamp = 1132238132 WHERE sid = '06ade4989cd77ea1fec28bcb8ac426c6' in /var/www/staging/includes/database.mysql.inc on line 99 Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 -------------------------------------------- Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ]