After return from the Demonstrate block regions for .mobi, which produced nothing, the following messages appeared:
* Notice: Undefined variable: head_title in include() (line 4 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: sidebar_left in include() (line 13 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: sidebar_right in include() (line 16 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: left in include() (line 26 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: mission in include() (line 29 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: help in include() (line 33 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: content in include() (line 35 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: right in include() (line 38 of sites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: footer_message in include() (line 41 ofsites/all/themes/mobi/page.tpl.php).
* Notice: Undefined variable: closure in include() (line 43 of sites/all/themes/mobi/page.tpl.php).

Comments

billsdesk’s picture

I received the same error when I went to mobilesoftwaredev.mobi in Opera Mini. However, if I go to www.mobilesoftwaredev.mobi, I get the normal Web page as filtered by Opera Mini. The same is true on my mobile phone. I know it is the normal theme, because it includes elements that I did not add to the .mobi theme.

billsdesk’s picture

This problem gets worse. The domain name that fails is the one entered into the "Mobile Domain" field of the .mobi_loader configuration menu. If Mobile Domain is example.mobi than this URL fails and www.example.mobi returns the default theme. Conversely, if Mobile Domain is www.example.mobi, this domain fails and example.mobi returns an error. Moreover, the switcher should not differentiate between example.mobi and www.example.mobi, both should invoke the .mobi theme.