redmine500错误:ActionView::TemplateError (undefined method `-' for
ruby 1.8.7
gem 1.3.5
redmine 1.1.2
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activemodel (3.0.6)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (3.0.6, 2.3.5)
builder (2.1.2)
daemon_controller (0.2.6)
erubis (2.6.6)
fastthread (1.0.7)
i18n (0.5.0, 0.4.2)
mysql (2.8.1)
passenger (3.0.7, 2.2.15)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rdoc (3.5.3)
rmagick (2.13.1)
tzinfo (0.3.26)
[root@svn log]#
错误日志如下:Processing AdminController#index (for 192.168.10.2 at 2011-04-19 10:35:33) [GET]
Parameters: {"action"=>"index", "controller"=>"admin"}
Rendering template within layouts/admin
Rendering admin/index
Completed in 30ms (View: 24, DB: 0) | 200 OK [http://192.168.10.6/admin]
Processing MyController#page (for 192.168.10.2 at 2011-04-19 10:35:35) [GET]
Parameters: {"action"=>"page", "controller"=>"my"}
Rendering template within layouts/base
Rendering my/page
ActionView::TemplateError (undefined method `-' for {:length=>60}:Hash) on line
#20 of app/views/issues/_list_simple.rhtml:
17: <td class="project"><%= link_to_project(issue.project) % ></td>
18: <td class="tracker"><%=h issue.tracker %></td>
19: <td class="subject">
20: <%= link_to h(truncate(issue.subject, :length => 60)), :controller = > 'issues', :action => 'show', :id => issue %> (<%=h issue.status %>)
21: </td>
22: </tr>
23: <% end %>
config/environment.rb:68:in `truncate'
app/views/issues/_list_simple.rhtml:20:in `_run_rhtml_app47views47issues47_l ist_simple46rhtml_locals_issues_list_simple_object'
app/views/issues/_list_simple.rhtml:11:in `each'
app/views/issues/_list_simple.rhtml:11:in `_run_rhtml_app47views47issues47_l ist_simple46rhtml_locals_issues_list_simple_object'
app/views/issues/_list_simple.rhtml:2:in `_run_rhtml_app47views47issues47_li st_simple46rhtml_locals_issues_list_simple_object'
app/views/my/blocks/_issuesassignedtome.rhtml:8:in `_run_rhtml_app47views47m y47blocks47_issuesassignedtome46rhtml_locals_issuesassignedtome_object_user'
app/views/my/page.rhtml:20:in `_run_rhtml_app47views47my47page46rhtml'
app/views/my/page.rhtml:17:in `each'
app/views/my/page.rhtml:17:in `_run_rhtml_app47views47my47page46rhtml'
/usr/local/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
Rendering /usr/local/redmine/public/500.html (500 Internal Server Error)
请问是什么问题啊??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论