After updating my CVS checkout from yesterday, my dev site throws the following error when visiting update.php:
Fatal error: Call to undefined function phptemplate_get_ie_styles() in [...]/themes/garland/maintenance-page.tpl.php on line 23
I checked to see if others had reported it, and 141727 did look and sound like something, but from what I can tell, that should've affected yesterday's checkout as well... ? (Also noting that the .tpl.php called was checked in as part of 141727, according to the log.)
Comments
Comment #1
Freso commentedAnd apparently it was caused by a missing Minnelli. Interesting. So the bug really is that Garland is dependent of its child theme Minnelli to function in maintenance mode. I didn't quite expect this behaviour.
Comment #2
gábor hojtsyDrupal is dependent on Minnelli as a maintenance theme by default, that was so for all Drupal 6 since theming the maintenance pages was in (for a few months now). All the installer, update and error screens were printed with Minnelli. Garland and Minnelli are pretty much required with Drupal 6. IMHO that's by design. Maybe some more nice degradation could be in place, instead of a fatal error, but we are not checking for missing required components at other places either.
Comment #3
dvessel commentedMinnelli depends on Garland, not the other way around. And the maintenance page for installs and updates depend on Minnelli.
The maintenance tpl file (which is owned by Garland) is a close copy of Garlands' page.tpl.php which calls "phptemplate_get_ie_styles()".
What would be the best way to let it degrade? Gabor mentioned this before.. Have a separate "maintenance" theme for installs and updates clearly labeled on it's purpose? Less chance of getting it trashed.
Comment #4
chx commentedthe only way this can happen is if you remove files from your Drupal install. Surely Drupal won't work after that.
Comment #5
Babalu commentedi get this error now after upgrade from 6.15 to 6.16 at the update.php
Fatal error: Call to undefined function phptemplate_get_ie_styles() in /srv/www/vhosts/example.com/httpdocs/themes/garland/maintenance-page.tpl.php on line 23
Comment #6
Babalu commentedComment #7
RaRi commentedAfter update from 6.15 to 6.16 I got the same issue!
Comment #8
smk-ka commented@Babalu, RaRi: You need to restore the 'minelli' directory in themes/garland and everything starts working again.
Comment #9
goldHate to reopen this after so long.
However, I've just had this occur after an update from 6.20 to 6.22 and I have the minnelli theme in place within garland. The update was performed by drush, not that I suspect that had anything to do with it but someone else may know better.
Continuing to explore the issue but any suggestions welcomed.
Comment #10
goldOkay, this turned out to be our fault and not related to core themes at all.
The explanation, should anyone else find this issue in the future;
Hopefully this will help others. Also, debug_backtrace() is your friend.