Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Old sessions causing 500 error #3015

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Old sessions causing 500 error #3015

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: openstreetmap[at]firefishy.com
[Submitted to the original trac issue database at 7.58pm, Thursday, 27th May 2010]

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)
@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 1.43pm, Sunday, 30th May 2010]

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant