我是铁轨上的红宝石新手.什么时候出错了我得到了这个错误:
Template is missing
Missing template errors/error_404 with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee]}.
Searched in: * "C:/Users/Avi/Documents/Aptana Studio 3 Workspace/social/app/views" * "C:/RubyonRails/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/devise-2.2.4/app/views"
Run Code Online (Sandbox Code Playgroud)
但问题是语法错误或编程错误.
我可以获得错误日志,比如cakephp吗?
pho*_*oet 11
就像@ thomas-klemm已经写过的那样,你可以在日志中尾随文件.这些日志以您运行的环境命名(本地开发,生产等).
如果你想得到所有输出你可以做 tail log/*
据我所知,cakephp有一个非常好的应用程序监控和管理后端.如果你想要类似rails的东西,你可以使用better_errors:https://github.com/charliesome/better_errors
归档时间: |
|
查看次数: |
21249 次 |
最近记录: |