Whatever i'm doing on admin/build/themes (uncheck / change default / save configuration) the cache table is not invalidated and therefor i'm totaly unable to tell drupal to re-read mytheme template.php. The only way i found until now, was by deleting theme_registry:mytheme in database table cache.cid.

Please change this and refresh the cache on "Save configuration" or something else appropriate. I don't like to install devel.module only to reload my newer and changed template.php...

CommentFileSizeAuthor
#2 theme-registry-clear.patch625 bytesmerlinofchaos

Comments

JirkaRybka’s picture

I confirm the problem - updating my theme, I never got new features to work until truncating the cache table from PhpMyAdmin. I played with theme settings quite a bit, but no luck there.

merlinofchaos’s picture

Status: Active » Needs review
StatusFileSize
new625 bytes

This is absolutely correct, the theme registry should be rebuilt upon changing themes.

This one-liner ought to do the trick.

dvessel’s picture

This is a sneaky bug that threw me off a few times.

Note that this patch has the same fix.

http://drupal.org/node/178973

Will mark this fixed once that's committed.

dvessel’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)