Drupal 6 bug: installation profile theme not enabled
Some crazy ways I looked to work around this bug for the SCF installation profile.
Repeating the update system line certainly did not do it:
<?php
// these next two lines attempt to get around the issue where the set theme
// is somehow not actually enabled. http://myagaric.com/node/151
$result = db_query("UPDATE {system} SET status = 1 WHERE type = 'theme' and name = 'scf_demo'");
drupal_set_message('HERE: <pre>'.var_export($result,TRUE).'</pre>');
drupal_rebuild_theme_registry();
?>
Trying to figure out these functions did not help either:
http://api.drupal.org/api/function/init_theme/6
http://api.drupal.org/api/function/system_themes_form_submit/6
The only thing that worked was patching the bug in Drupal core (should be fixed by the next point release), where updates cause the theme to be disabled (and the same thing happens during installation). Fortunately, the great work by Dave and others on that issue meant there was a patch to apply.
Resolution
More like this
- Set higher minimum server environment requirements for a Drupal installation profile
- "Content profile registration broken": debugging rogue form validate overrides
- Drush stopped installing modules. Needed -l link to site.
- Drupal's Installation Profile repository should allow include files
- Modular Installation Profiles


Comments
Post new comment