How to fix "Call to undefined function phptemplate_get_ie_styles()" error when running Drupal's update.php

Submitted by jrb on Thu, 03/24/2011 - 12:35

When running the update script on a new a new installation of Drupal version 6.20, I was getting this:

<!--[if lt IE 7]--> Fatal error: Call to undefined function phptemplate_get_ie_styles() in htdocs/themes/garland/maintenance-page.tpl.php on line 23

The problem turned out be that the .info file was missing for the Minnelli theme, and that's the default theme for the maintenance page. I'm not sure how it went missing, but I just copied minnelli.info from a different Drupal installation into the themes/garland/minnelli/ directory and all was well.

1 comment

by Mandy on Fri, 04/04/2014 - 16:09

You really make it srem soo eazy with your presehtation butt I findd this
matter too bbe actually something whnich I think I woild nefer understand.
It seems tooo complex and vdry broad for me.
I aam loking forward ffor youur next post, I'll try to geet thee hang oof it!