这是“催化剂权威指南”第8章中的一个示例,本书中的示例以及Apress站点实例的源代码实际工作。 我对Catalyst来说太新了,甚至不知道这是什么意思,因为我已经尝试了我能想到的一切,但没有任何作用。任何想法都将不胜感激。
[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 :(得分:1)
你有档案site/wrapper
吗?看起来它找不到它看起来的地方。