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

Bill McGonigle bill at bfccomputing.com
Wed Jul 23 03:24:10 EDT 2008


Hi,

I'm hitting a snag with the upgrade.  The gem installed and 'typo  
install' went right along, updated the database, and now rake  
db:migrate returns without work to do, so I think things are mostly  
in place, however, if I try to access any pages, I get a 'Signup'  
box.  If I try to access /admin, I get something like:

Processing DashboardController#index (for 216.107.222.222 at  
2008-07-23 03:14:51) [GET]
   Session ID: 7bc4e03f41d1adf87a16971a648a7f49
   Parameters: {"action"=>"index", "controller"=>"admin/dashboard"}

========
NameError (undefined local variable or method `current_user' for  
#<Admin::DashboardController:0xb6b5e080>):
     /lib/login_system.rb:47:in `login_required'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in  
`send!'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:469:in  
`call'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:441:in  
`run'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:716:in  
`run_before_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:695:in  
`call_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:689:in  
`perform_action_without_benchmark'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
68:in `perform_action_without_rescue'
     /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
     /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 
68:in `perform_action_without_rescue'
     /vendor/rails/actionpack/lib/action_controller/rescue.rb:199:in  
`perform_action_without_caching'
     /vendor/rails/actionpack/lib/action_controller/caching.rb:678:in  
`passenger_orig_perform_action'
     /vendor/rails/activerecord/lib/active_record/connection_adapters/ 
abstract/query_cache.rb:33:in `cache'
     /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in  
`cache'
     /vendor/rails/actionpack/lib/action_controller/caching.rb:677:in  
`passenger_orig_perform_action'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/ 
request_handler.rb:53:in `perform_action'
     /vendor/rails/actionpack/lib/action_controller/base.rb:524:in  
`send'
     /vendor/rails/actionpack/lib/action_controller/base.rb:524:in  
`process_without_filters'
     /vendor/rails/actionpack/lib/action_controller/filters.rb:685:in  
`process_without_session_management_support'
     /vendor/rails/actionpack/lib/action_controller/ 
session_management.rb:123:in `process'
     /vendor/rails/actionpack/lib/action_controller/base.rb:388:in  
`process'
     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 
171:in `handle_request'
     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 
115:in `dispatch'
     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 
126:in `dispatch_cgi'
     /vendor/rails/actionpack/lib/action_controller/dispatcher.rb: 
9:in `dispatch'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/ 
request_handler.rb:38:in `process_request'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
abstract_request_handler.rb:163:in `main_loop'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/ 
application_spawner.rb:307:in `start_request_handler'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/ 
application_spawner.rb:144:in `spawn_application!'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
utils.rb:165:in `safe_fork'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
utils.rb:163:in `fork'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
utils.rb:163:in `safe_fork'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/ 
application_spawner.rb:130:in `spawn_application!'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
utils.rb:165:in `safe_fork'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
utils.rb:163:in `fork'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
utils.rb:163:in `safe_fork'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/railz/ 
application_spawner.rb:129:in `spawn_application!'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
spawn_manager.rb:236:in `spawn_rails_application'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
spawn_manager.rb:219:in `synchronize'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
spawn_manager.rb:219:in `spawn_rails_application'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
spawn_manager.rb:122:in `spawn_application'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
spawn_manager.rb:253:in `handle_spawn_application'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
abstract_server.rb:317:in `__send__'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
abstract_server.rb:317:in `main_loop'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/lib/passenger/ 
abstract_server.rb:168:in `start_synchronously'
     /usr/lib/ruby/gems/1.8/gems/passenger-2.0.2/bin/passenger-spawn- 
server:46

Rendering /opt/typo/example.com-bill/public/500.html (500 Internal  
Server Error)
========

in the logs.  If I try to sign up for an account, I get a mail, but  
it refers to 'My Shiny Weblog!' - I think mails used to have the real  
blog name in there.

The database connection is up:
    6341 ?        Ss     0:00 postgres: typo typo_mcgonigle.us-bill  
127.0.0.1(33855) idle

and the real data is in the tables.

Suggestions on where to look next?

Thanks,
-Bill


-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill at bfccomputing.com           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf





More information about the Typo-list mailing list