Opened 8 years ago

Closed 8 years ago

#3015 closed defect (fixed)

Old sessions causing 500 error

Reported by: openstreetmap@… Owned by: tom@…
Priority: minor Milestone: OSM 0.6
Component: website Version:
Keywords: Cc:

Description

Reported: http://lists.openstreetmap.org/pipermail/talk/2010-May/050667.html

Server Production log:

[2010-05-27 19:44:24.402522 #23270] Processing SiteController#index (for 62.255.xxx.yyy at 2010-05-27 19:44:24) [GET]
[2010-05-27 19:44:24.418944 #23270] Exception authorizing user: Session contains objects whose class definition isn\'t available.
Remember to require the classes for all objects kept in the session.
(Original exception: #{const_error.message} [#{const_error.class}])

[2010-05-27 19:44:24.503507 #23270] ActionView::TemplateError (Session contains objects whose class definition isn\'t available.
Remember to require the classes for all objects kept in the session.
(Original exception: #{const_error.message} [#{const_error.class}])
) on line #21 of app/views/layouts/site.html.erb:
18:   </head>
19:   <body>
20:     <div id="content">
21:       <% if flash[:error] %>
22:         <div id="error"><%= flash[:error] %></div>
23:       <% end %>
24:       <% if flash[:warning] %>

    app/views/layouts/site.html.erb:21
    public/dispatch.fcgi:28:in `process_request'
    public/dispatch.fcgi:49


[2010-05-27 19:44:24.504685 #23270] Rendering /home/rails/public/500.html (500 Internal Server Error)

Change History (1)

comment:1 Changed 8 years ago by TomH

  • Resolution set to fixed
  • Status changed from new to closed

I hope I fixed this last night by deleting the old sessions but if there are further problems just delete anything in the session table created before the 27th.

Note: See TracTickets for help on using tickets.