This is my first time upgrading a site from 5 to 6....and I'm afraid it didn't go too well.

When I go to run update.php it gives me this error:

<!--[if lt IE 7]>
Fatal error: Call to undefined function: phptemplate_get_ie_styles() in /var/www/vhosts/dowsett.ca/subdomains/d6/httpdocs/themes/garland/maintenance-page.tpl.php on line 23

To a regular visitor it looks OK (normally) but right now, I have the site in off-line mode and you see this error:

warning: array_keys(): The first argument should be an array in /var/www/vhosts/dowsett.ca/subdomains/d6/httpdocs/includes/theme.maintenance.inc on line 217.
warning: Invalid argument supplied for foreach() in /var/www/vhosts/dowsett.ca/subdomains/d6/httpdocs/includes/theme.maintenance.inc on line 217.

And I have Garland set as the theme and ZERO contrib modules enabled.

I hope I missed something simple...

Comments

dave reid’s picture

Can you go to admin/build/themes and make sure that garland is enabled? Update.php has a bug which disables themes. It may...be part of the problem. *crosses fingers*

dave reid’s picture

Also, from #197335: Garland's maintenance mode doesn't work without Minelli, do you still have the Minelli theme present in your core install? The Minelli theme is required for the maintenance (update) theme.

mdowsett’s picture

Status: Active » Closed (fixed)

Thanks for both of your ideas Dave - the first one...I did notice that before and enabled it.

I DID can minelli tho! Thanks for pointing that out and replying so fast - you saved me loads of time.

I owe ya!

dave reid’s picture

Sweet! Glad to help! :)