To reproduce the bug:
1. Go to admin -> themes
2. Mark a theme as "Default" -- but do not click its Enabled box.
When a theme is the Default, but has not been Enabled, it can cause random and unpredictable behavior. The theme registry can get corrupted, and the web site goes down. In the server log, you will find the dreaded "Premature termination of script headers" message.
I also note that the dtools emergency WSOD module fails to correct the problem. The only way to restore the website is to either manually clear out the theme registry (drupal_rebuild_theme_registry() function), or run the update.php script.
Comments
Comment #1
kenorb commentedProbably it's some server configuration issue.
Can you describe your configuration?
Windows/Linux
dedicated or shared hosting
which version of PHP and Apache
Have you tried if this problem exist on other machine?
Comment #2
kenorb commentedComment #3
kenorb commentedComment #4
kenorb commentedComment #5
kenorb commentedComment #6
kenorb commentedComment #7
kenorb commentedComment #8
kenorb commentedComment #9
kenorb commentedComment #10
kenorb commentedSorry for duplicated posts, some Drupal.org caching issue.
Comment #11
heine commentedAre you able to reproduce this with a clean install of D 6.19 (or 6.x-dev)?
When I set a theme to default without checking the enabled checkbox, it's automatically enabled after submit. I also do not experience random errors.
Are you sure the "random and unpredictable" behaviour is caused by doing this (and not a post hoc ergo propter hoc fallacy)?
Comment #12
crifi commentedI've tested this under Drupal 6.26. I've I activate a theme to default, the form automatically enables the theme. So this bug isn't reproduceable.