[support] Drupal 7 themes error

Roger arelem at bigpond.com
Fri Mar 12 00:11:03 UTC 2010


Fault in Drupal 7
I copied garland to /sites/all/themes, renamed the file and change the 
.info as per Drupal 6.15 instructions and it produces errors:

/ Notice/: /Undefined variable: site_name_and_slogan/ in /include()/ 
(line /20/ of //var/www/html/D7/sites/all/themes/garland2/page.tpl.php/).

    * /Notice/: /Undefined variable: site_name_and_slogan/ in
      /include()/ (line /22/ of
      //var/www/html/D7/sites/all/themes/garland2/page.tpl.php/).
    * /Notice/: /Undefined variable: site_html/ in /include()/ (line
      /24/ of //var/www/html/D7/sites/all/themes/garland2/page.tpl.php/).
    * /Notice/: /Undefined variable: primary_nav/ in /include()/ (line
      /30/ of //var/www/html/D7/sites/all/themes/garland2/page.tpl.php/).
    * /Notice/: /Undefined variable: secondary_nav/ in /include()/ (line
      /31/ of //var/www/html/D7/sites/all/themes/garland2/page.tpl.php/).
    * /Notice/: /Undefined variable: tabs2/ in /include()/ (line /51/ of
      //var/www/html/D7/sites/all/themes/garland2/page.tpl.php/).

This is repeatable and occurs for other copied  and some installed 
Drupal 7 themes.
   Does D7 not require /sites/all/themes for user themes.

Problem does not occur with Diary 1, Cherry Blossom, Abaca,  but Forest 
Floor 7 fails to load.
mulpro 7 produces errors:

    * /Notice/: /Undefined variable: rdf_namespaces/ in /include()/
      (line /4/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: grddl_profile/ in /include()/ (line
      /5/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: head_title/ in /include()/ (line
      /6/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: head/ in /include()/ (line /7/ of
      //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: styles/ in /include()/ (line /8/ of
      //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: scripts/ in /include()/ (line /9/
      of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: body_classes/ in /include()/ (line
      /13/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: header/ in /include()/ (line /49/
      of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: search_box/ in /include()/ (line
      /49/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: left/ in /include()/ (line /62/ of
      //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: content_top/ in /include()/ (line
      /68/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: content/ in /include()/ (line /82/
      of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: content_bottom/ in /include()/
      (line /84/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: footer_message/ in /include()/
      (line /96/ of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: footer/ in /include()/ (line /96/
      of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: closure_region/ in /include()/
      (line /103/ of
      //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).
    * /Notice/: /Undefined variable: closure/ in /include()/ (line /107/
      of //var/www/html/D7/sites/all/themes/mulpo/page.tpl.php/).


Seems that something's amiss!
I'm trying to understand the relationships between user themes and the 
inbuilt theme engine but being new am somewhat stuck.
What am I missing please
Help and explanations are greatly appreciated.
TIA
Roger



More information about the support mailing list