2012-12-19 2 views
-1

http://www.siteground.com/tutorials/drupal-tutorial/drupal_upgrade.htm의 지침에 따라 update.php를 실행하려고하면 오류 목록이 나타납니다.Drupal을 6에서 7 개의 정의되지 않은 veriables로 업그레이드

공지 : 불확정 변수를 포함하는 헤드() (라인 /home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php 8). 알림 : 정의되지 않은 변수 : head_title in include() (/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() (16 행 /home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php). 알림 : 정의되지 않은 변수 : include() (16 행 /home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php). 알림 : include()의 정의되지 않은 변수 : 헤더 (/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php의 19 번째 줄). 알림 : 정의되지 않은 변수 : include() (줄 60 /home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php). 알림 : 정의되지 않은 변수 : include()의 임무 (/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php의 69 번째 줄). 알림 : 정의되지 않은 변수 : tabs2 in include() (73 행 /home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php). 알림 : 정의되지 않은 변수 : 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 번째 줄). 알림 : 정의되지 않은 변수 : footer in include() (/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php의 80 번째 줄). 알림 : 정의되지 않은 변수 : footer_message in include() (/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php의 80 번째 줄). 알림 : 정의되지 않은 변수 : include() (83 행 /home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php). 알림 : 정의되지 않은 변수 : include()의 클로저 (/home/content/66/9070466/html/ehapsa/ehapsa/sites/all/themes/garlandcustom/page.tpl.php의 94 번째 줄).

현재 사이트의 하위 디렉토리로 업그레이드하려고했습니다.

+0

무엇이 문제입니까? – rae1

+1

Drupal 6 => 7 = 업그레이드. Drupal 6.x => 6.Y = 업데이트. 해당 자습서는 업데이트에 관한 것입니다. –

+0

@ rae1n 질문은 이러한 오류를 없애는 간단한 방법입니다. – user1914585

답변

1

여기 해결책이 있습니다. 사용자 정의 영역은 page.tpl.php 다르게 인쇄해야

방금 ​​만든했던 영역을 인쇄하고 싶었 드루팔 6에서, 당신은 당신의 page.tpl.php에이를 넣어 :

인쇄 $ foo_sidebar;

드루팔 7에서

, 당신은 추가 할 지역의 모든 렌더링 및 페이지 변수를 사용하여 인쇄해야합니다

인쇄 렌더링 ($ 페이지 [ 'foo_sidebar']);

+1

그때 나는 Drupal 문제에 직면했다 Notice : 정의되지 않은 속성 : /sites/all/themes/garland/block.tpl.php에서 stdClass :: $ content. modules/blocks/block.tpl.php 파일을 대체하여 해결책을 찾았습니다. – user1914585

관련 문제