Maintenance theme broken with language detection modes

hass - November 5, 2008 - 17:48
Project:Drupal
Version:7.x-dev
Component:theme system
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

There is a bug with maintenance themes activated. All seems to be correct on front page, but not on sub pages of a site. I expect to get the same maintenance page on all path's of a site.

Repro:
1. Configure Garland as your default theme
2. Turn on maintenance mode.
3. Open your front page (all seems to be correct)
4. Open a URL inside your site (for e.g. node/1 or de/example) and the page is not shown properly as on FRONT. (BUG)

I've tested this with a custom theme first and wondered why site title and so on are missing... then verified with Garland and this is also completely broken. In Garland I only get a white page with my custom offline message shown in browser...

I have i18n installed and path prefix based language detection with language fallback configured. Not sure if this is related.

#1

hass - November 5, 2008 - 17:57

I've disabled language detection and the issue is gone. So this seems to be related to the language detection modes.

#2

hass - November 5, 2008 - 18:01

"Path prefix only" and "Path prefix with language fallback" settings seems to cause this issue.

"Domain name only" and "None" seems working as expected.

#3

hass - November 5, 2008 - 18:06
Title:Maintaince theme: page variables blank if not <front>» Maintaince theme broken with language detection modes

#4

hass - November 5, 2008 - 19:22
Title:Maintaince theme broken with language detection modes» Maintenance theme broken with language detection modes

#5

hass - November 11, 2008 - 07:59
Component:theme system» language system

#6

hass - December 14, 2008 - 11:39
Version:6.x-dev» 7.x-dev
Component:language system» theme system
 
 

Drupal is a registered trademark of Dries Buytaert.