Forum: Radiant CMS Comments extension kills admin panel

6e8cb4ca4aa7aac19e4d67051d3f0430?d=identicon&s=25 Bernard Yu (thebestsophist)
on 2009-05-24 04:59
I've got 0.7.1 running fine, except i cannot edit any pages or go to the
comments tab after I install the comments extension. can anyone help?
(log from the offending request follows)

ActiveRecord::StatementInvalid (Mysql::Error: Table
'enguinde_dblenguindesign.comments' doesn't exist: SELECT * FROM
`comments`     WHERE (comments.approved_at IS NULL)  ORDER BY created_at
DESC LIMIT 0, 50):
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:147:in
`log'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:302:in
`execute'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:537:in
`select'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in
`select_all_without_query_cache'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:59:in
`select_all'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:80:in
`cache_sql'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:59:in
`select_all'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/base.rb:586:in
`find_by_sql'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/base.rb:1345:in
`find_every'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/base.rb:540:in
`find'
    /vendor/extensions/page_list_view/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:82:in
`send'
    /vendor/extensions/page_list_view/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:82:in
`paginate'
    /vendor/extensions/page_list_view/vendor/plugins/will_paginate/lib/will_paginate/collection.rb:87:in
`create'
    /vendor/extensions/page_list_view/vendor/plugins/will_paginate/lib/will_paginate/finder.rb:76:in
`paginate'
    /vendor/extensions/comments/app/controllers/admin/comments_controller.rb:14:in
`index'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in
`send'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in
`perform_action_without_filters'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in
`call_filters'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/filters.rb:572:in
`perform_action_without_benchmark'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/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/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
`perform_action_without_caching'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in
`perform_action'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in
`cache'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in
`cache'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in
`perform_action'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`send'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in
`process_without_session_management_support'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in
`sass_old_process'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/plugins/haml/lib/sass/plugin/rails.rb:19:in
`process'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/base.rb:389:in
`process'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi'
    /usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35: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

Rendering /home/enguinde/radiant/public/500.html (500 Internal Server
Error)
6e8cb4ca4aa7aac19e4d67051d3f0430?d=identicon&s=25 Bernard Yu (thebestsophist)
on 2009-05-24 05:24
Nevermind, figured it out. forgot to migrate the database
This topic is locked and can not be replied to.