Posted by mrfelton on August 10, 2012 at 5:32pm
2 followers
| Project: | Omega |
| Version: | 7.x-3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
When the site is offline because of database failure, custom maintenance template (maintenance-page--offline.tpl.php) will not work. There is an error stating "Additional uncaught exception thrown while handling exception." and no markup is rendered in the page at all.
Comments
#1
This is caused when class_exists() is being called from within alpha_get_theme() and autoloading fails. I have a patch that fixes this by wrapping those calls in a try/catch block. I'm not quite what should be done in the case of an error though, so I have just done nothing.