2010-12-23 2 views
1

이것은 Catalyst에 대한 확실한 안내서의 8 장의 예제이며 책의 예제 또는 예를 들어 Apress 사이트의 사례가 실제로 작동합니다. Catalyst에 너무 익숙해서 내가 생각할 수있는 모든 것을 시도했지만 아무 것도 작동하지 않았기 때문에 이것이 무슨 뜻인지 짐작할 수 있습니다. 어떤 아이디어라도 대단히 감사하겠습니다."ideas/share.tt : 파일 오류 - 사이트/래퍼 : 찾을 수 없음"템플릿을 렌더링 할 수 없음

[info] SneakyCat powered by Catalyst 5.80029 
You can connect to your server at http://linux-0lwf:3000 
[debug] "GET" request for "/" from "127.0.0.2" 
[debug] Path is "/" 
[debug] Rendering template "ideas/share.tt" 
[error] Couldn't render template "ideas/share.tt: file error - site/wrapper: not found" 
[error] Caught exception in SneakyCat::Controller::Ideas->share "Can't call method "search" on an undefined value at /home/atomic/SneakyCat/script/../lib/SneakyCat/Controller/Ideas.pm line 48." 
[error] Couldn't render template "ideas/share.tt: file error - site/wrapper: not found" 
[debug] Response Code: 500; Content-Type: text/html; charset=utf-8; Content-Length: 9615 
[info] Request took 0.038715s (25.830/s) 
+0

보기에서 WRAPPER => 'site/wrapper'를 정의하지만 파일 이름은 site/wrapper.tt와 유사 할 것입니다 –

답변

1

파일 site/wrapper이 있습니까? 찾은 곳을 찾을 수없는 것 같습니다.