-1

http://www.siteground.com/tutorials/drupal-tutorial/drupal_upgrade.htmの指示に従ってupdate.phpを実行しようとすると、エラーの長いリストが表示され始めました。

注意:未定義の変数:include()の先頭(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの8行目)。注意:未定義の変数:include()のhead_title(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの9行目)。注意:未定義の変数:include()のスタイル(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの10行目)。注意:未定義の変数:include()のスクリプト(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの11行目)。注意:未定義の変数:include()に残されています(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの16行目)。注意:未定義の変数:include()の右側(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの16行目)。注意:未定義の変数:include()のヘッダー(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの19行目)。注意:未定義の変数:include()に残されています(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの60行目)。注意:未定義の変数:include()のミッション(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの69行目)。注意:未定義の変数:include()のtabs2(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの73行目)。注意:未定義の変数:include()のヘルプ(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの75行目)。注意:未定義の変数:include()のコンテンツ(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの77行目)。注意:未定義の変数:include()のフッター(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの80行目)。注意:未定義の変数:include()のfooter_message(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの80行目)。注意:未定義の変数:include()の右側(/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.phpの83行目)。注意:未定義の変数:

現在のサイトのサブディレクトリでアップグレードしようとしていました。

4

1 に答える 1

1

これが解決策です。カスタム領域は、page.tpl.phpで別の方法で印刷する必要があります

Drupal 6では、作成したばかりの領域を印刷したい場合は、これをpage.tpl.phpに配置するだけです。

$foo_sidebarを出力します;

Drupal 7では、追加するすべての領域を、renderとページ変数を使用して印刷する必要があります。

print render($ page ['foo_sidebar']);

于 2012-12-25T21:26:15.057 に答える