0

示例情况:我的控制器 mysite.sk/profil/5 中有错误。我的网站显示/error500,没关系,但是...我修复了这个错误,但是当我在Google Chrome 中打开mysite.sk/profil/5 时,它显示/error500。当我在 Firefox 或其他计算机中打开它时,一切正常,并显示我的个人资料页面。我将瘦服务器、webrick 和 apache 与乘客一起使用,我也遇到了同样的问题。

这是来自我的日志:

# I repaired bug
Started GET "/" for 10.10.13.80 at 2012-06-05 09:19:22 +0200
Processing by IndexController#index as HTML
  Rendered index/_top_article.html.erb (4.6ms)
  Rendered index/_side_bar.html.erb (0.0ms)
  Rendered index/index.html.erb within layouts/index (5.1ms)
Completed 200 OK in 16ms (Views: 7.6ms | ActiveRecord: 1.3ms)

# I clicked on link /profil/6
Started GET "/error500" for 10.10.13.80 at 2012-06-05 09:19:27 +0200
Processing by ErrorsController#handle500 as HTML
  Rendered errors/handle500.html.erb within layouts/index (0.2ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.1ms)
4

0 回答 0