I solved this problem using database sessions... Try it

2009/2/21 greghauptmann <[email protected]>

>
> Hi,
>
> I just started getting this error when clicking on an ActiveScaffold
> nested link in my application.  It had been working.  Any ideas?
> Thanks.
>
> Error = CGI::Session::CookieStore::CookieOverflow (see stack trace
> below)
>
> Error on screen: Status: 500 Internal Server Error Content-Type: text/
> html
>
> Controller code that creates:
>  config.nested.add_link("BI Allocations", [:bi_allocations])
>
>
> ---------- STACK TRACE ---------
> Processing AutomatchController#nested (for 10.1.1.159 at 2009-02-22
> 08:25:12) [GET]
>  Parameters:
> {"authenticity_token"=>"121f35dbcec94afbcee5cf6c58cebe0e03800246",
> "adapter"=>"_list_inline_adapter", "id"=>"27",
> "associations"=>"automatch_business_items"}
> Start rendering component ({:params=>{:parent_model=>Automatch(id:
> integer, regex: string, account_id: integer, amount_min: decimal,
> amount_max: decimal, created_at: datetime, updated_at:
> datetime), :parent_column=>"automatch_business_items",
> :eid=>"8cf3e607d3a6f9f17332cc734d554de6", :nested=>true}, :action=>"table",
> :controller=>"automatch_business_item"}):
>
>
> Processing AutomatchBusinessItemController#table (for 10.1.1.159 at
> 2009-02-22 08:25:12) [GET]
>  Parameters: {"parent_column"=>"automatch_business_items",
> "eid"=>"8cf3e607d3a6f9f17332cc734d554de6", "nested"=>true, "id"=>nil,
> "parent_model"=>Automatch(id: integer, regex: string, account_id:
> integer, amount_min: decimal, amount_max: decimal, created_at:
> datetime, updated_at: datetime)}
> Rendering automatch_business_item/list
> Completed in 291ms (View: 104, DB: 12) | 200 OK [http://10.1.1.1/
> automatch/nested/27?
>
> _method=get&associations=automatch_business_items&authenticity_token=121f35dbcec94afbcee5cf6c58cebe0e03800246&adapter=_list_inline_adapter
> ]
>
>
> End of component rendering
> Rendering _list_inline_adapter
> Completed in 463ms (View: 7, DB: 0) | 200 OK [http://10.1.1.1/
> automatch/nested/27?
>
> _method=get&associations=automatch_business_items&authenticity_token=121f35dbcec94afbcee5cf6c58cebe0e03800246&adapter=_list_inline_adapter
> ]
>
>
> Processing AutomatchController#nested (for 10.1.1.159 at 2009-02-22
> 08:25:13) [GET]
>  Parameters:
> {"authenticity_token"=>"121f35dbcec94afbcee5cf6c58cebe0e03800246",
> "adapter"=>"_list_inline_adapter", "id"=>"27",
> "associations"=>"automatch_business_items"}
>
>
> CGI::Session::CookieStore::CookieOverflow
> (CGI::Session::CookieStore::CookieOverflow):
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/session/cookie_store.rb:112:in `close'
>    /usr/local/lib/ruby/1.8/cgi/session.rb:330:in `close'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:1309:in `close_session'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:1337:in
> `process_cleanup_without_session_management_support'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/session_management.rb:144:in
> `process_cleanup_without_components'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/components.rb:165:in `process_cleanup'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:528:in `process_without_filters'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/filters.rb:606:in
> `process_without_session_management_support'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/session_management.rb:134:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:392:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:183:in `handle_request'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:110:in `dispatch_unlocked'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:123:in `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:122:in `synchronize'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:122:in `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:132:in `dispatch_cgi'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:39:in `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:76:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:74:in `synchronize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:74:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:159:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:158:in `each'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:158:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `initialize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `new'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:268:in `initialize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:268:in `new'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:268:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:282:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:281:in `each'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:281:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
> 128:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> command.rb:212:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
> 281
>    /usr/local/bin/mongrel_rails:19:in `load'
>    /usr/local/bin/mongrel_rails:19
>
> Rendering /u/apps/equity/releases/20090221112137/public/500.html (500
> Internal Server Error)
> Rendering _list_inline_adapter
> /!\ FAILSAFE /!\  Sun Feb 22 08:25:13 +1000 2009
>  Status: 500 Internal Server Error
>  CGI::Session::CookieStore::CookieOverflow
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/session/cookie_store.rb:112:in `close'
>    /usr/local/lib/ruby/1.8/cgi/session.rb:330:in `close'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:1309:in `close_session'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:1337:in
> `process_cleanup_without_session_management_support'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/session_management.rb:144:in
> `process_cleanup_without_components'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/components.rb:165:in `process_cleanup'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:528:in `process_without_filters'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/filters.rb:606:in
> `process_without_session_management_support'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/session_management.rb:134:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/base.rb:392:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:183:in `handle_request'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:110:in `dispatch_unlocked'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:123:in `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:122:in `synchronize'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:122:in `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:132:in `dispatch_cgi'
>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/
> action_controller/dispatcher.rb:39:in `dispatch'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:76:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:74:in `synchronize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> rails.rb:74:in `process'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:159:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:158:in `each'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:158:in `process_client'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `initialize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `new'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:285:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:268:in `initialize'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:268:in `new'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
> mongrel.rb:268:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:282:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:281:in `each'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> configurator.rb:281:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
> 128:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/
> command.rb:212:in `run'
>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:
> 281
>    /usr/local/bin/mongrel_rails:19:in `load'
>    /usr/local/bin/mongrel_rails:19
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to