[typo] [ANN] Release of Typo 5.1 "Cartier Bresson"

de Villamil Frédéric frederic at de-villamil.com
Tue Jul 22 11:20:47 EDT 2008


Le 22 juil. 08 à 16:23, Chris Dagdigian a écrit :

>
> Hello,
>
> I'm updating from 5.0.3 using the .tgz archive. The rake migration  
> process went smoothly and the blog renders articles but I can't  
> login as admin to complete the migration:
>
> Any hints on this update? Out of date gems or something?
>
> Regards,
> Chris
>
>> Processing SettingsController#index (for 72.85.215.57 at 2008-07-22  
>> 10:17:56) [GET]
>>  Session ID: c8f8c58730608d49473663a0bb6804e8
>>  Parameters: {"action"=>"index", "controller"=>"admin/settings"}
>>
>>
>> NameError (undefined local variable or method `current_user' for  
>> #<Admin::SettingsController:0x2b54f0c3a990>):
>>    /lib/login_system.rb:47:in `login_required'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:469:in `send!'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:469:in `call'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:441:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:716:in `run_before_filters'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:695:in `call_filters'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:689:in  
>> `perform_action_without_benchmark'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/benchmarking.rb:68:in  
>> `perform_action_without_rescue'
>>    /usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/benchmarking.rb:68:in  
>> `perform_action_without_rescue'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/rescue.rb:199:in `perform_action_without_caching'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/caching.rb:678:in `perform_action'
>>    /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ 
>> active_record/connection_adapters/abstract/query_cache.rb:33:in  
>> `cache'
>>    /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ 
>> active_record/query_cache.rb:8:in `cache'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/caching.rb:677:in `perform_action'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/base.rb:524:in `send'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/base.rb:524:in `process_without_filters'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/filters.rb:685:in  
>> `process_without_session_management_support'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/session_management.rb:123:in `process'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/base.rb:388:in `process'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/dispatcher.rb:171:in `handle_request'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/dispatcher.rb:115:in `dispatch'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/dispatcher.rb:126:in `dispatch_cgi'
>>    /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/ 
>> action_controller/dispatcher.rb:9:in `dispatch'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/ 
>> mongrel/rails.rb:76:in `process'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/ 
>> mongrel/rails.rb:74:in `synchronize'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/../lib/ 
>> mongrel/rails.rb:74:in `process'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 159:in `process_client'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 158:in `each'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 158:in `process_client'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 285:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 285:in `initialize'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 285:in `new'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 285:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 268:in `initialize'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 268:in `new'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel.rb: 
>> 268:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/ 
>> configurator.rb:282:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/ 
>> configurator.rb:281:in `each'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/ 
>> configurator.rb:281:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/ 
>> mongrel_rails:128:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/lib/mongrel/ 
>> command.rb:212:in `run'
>>    /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.3/bin/ 
>> mongrel_rails:281
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:489:in `load'
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:489:in `load'
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:342:in `new_constants_in'
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:489:in `load'
>>    /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/ 
>> servers/mongrel.rb:64
>>    /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
>> 27:in `gem_original_require'
>>    /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
>> 27:in `require'
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:496:in `require'
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:342:in `new_constants_in'
>>    /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/ 
>> active_support/dependencies.rb:496:in `require'
>>    /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/ 
>> server.rb:39
>>    /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
>> 27:in `gem_original_require'
>>    /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 
>> 27:in `require'
>>    ./script/server:3
>>
>> Rendering /home/rails-applications/typo-5.0.3/public/500.html (500  
>> Internal Server Error)
>>
>>
>> Processing CommentsController#index (for 72.14.199.74 at 2008-07-22  
>> 10:18:17) [GET]
>>  Parameters: {"format"=>"rss", "action"=>"index",  
>> "controller"=>"comments"}
>> Completed in 0.35726 (2 reqs/sec) | Rendering: 0.35232 (98%) | DB:  
>> 0.00000 (0%) | 200 OK [http://gridengine.info/comments.rss]
>>
>>
>> Processing XmlController#feed (for 192.116.207.242 at 2008-07-22  
>> 10:18:25) [GET]
>>  Parameters: {"format"=>"atom", "action"=>"feed", "type"=>"feed",  
>> "controller"=>"xml"}
>> Redirected to http://gridengine.info/articles.atom
>> Completed in 0.00161 (622 reqs/sec) | DB: 0.00000 (0%) | 301 Moved  
>> Permanently [http://gridengine.info/xml/atom/feed.xml]
>>

Hi Chris,

did you restart your Typo application after upgrading ? Did you also  
run rake db:migrate to upgrade your database ? It's an important step  
since you need to get your database migrated to log in.

Cheers,
Frédéric

-- 
Frédéric de Villamil
frederic at de-villamil.com                        tel: +33 (0)6 62 19 1337
http://fredericdevillamil.com             Typo : http://typosphere.org



More information about the Typo-list mailing list