Closed (outdated)
Project:
Theme Settings API
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2009 at 02:19 UTC
Updated:
16 Sep 2019 at 10:46 UTC
Jump to comment: Most recent
Comments
Comment #1
Alan Cooney commentedThis is general theme_settings code - http://drupal.org/node/177868
Moved to the theme settings module.
Alan
Comment #2
Alan Cooney commentedTo add; personally I can't replicate this.
Alan
Comment #3
mattyoung commented>I can't replicate this
I suspect you are not turn off the database to trigger the maintenance screen. You need to get the maintenance screen to say "Due to technical problem". Not the one that says "Site in maintenance"
To replicate this problem:
1) set "AD Blueprint" as maintenance_theme
2) Shut off you database. Don't just put the site in "Maintenance mode" because in that case, the database is still functioning. The easiest way to shut off database is go in settings.php and put a wrong password in '$db_url'.
Theme should never read/write to database directly. They should only use variables handed to them from preprocess functions.
I've changed the title to be precise about this error condition.
Comment #4
avpadernoI am closing this issue, since Drupal 6 isn't supported anymore.