I am new to radiant, but have a little experience with RoR.
I got this error when deploying radiant. Tried on two different
computers.
Both Win XP,
Followed the instrucions given at
http://dev.radiantcms.org/radiant/wiki/Installation
After all this installation with all gems required (including mysql
gem), Installing DB correctly assuring that it actually created Db as
instructed, I get this error when trying to open
http://localhost/admin/login
ActiveRecord::StatementInvalid in Admin/welcome#login
Showing
C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.5.2/app/views/layouts/application.rhtml
where line #6 raised:
Mysql::Error: Table ‘radiant_dev.config’ doesn’t exist: SHOW FIELDS FROM
config
Extracted source (around line #6):
3:
4:
5:
6: <%= @page_title || default_page_title %>
7: <%= stylesheet_link_tag ‘admin’ %>
8: <%= javascript_include_tag ‘prototype’ %>
9: <%= javascript_include_tag ‘string’ %>
RAILS_ROOT: C:/Website/Radiant/public/…/config/…
This is the complete trace:
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
log' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:184:in
execute’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:292:in
columns' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:696:in
columns’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:709:in
column_names' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:722:in
column_methods_hash’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1158:in
all_attributes_exists?' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/helpers/capture_helper.rb:93:in
all?’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1158:in
each' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1158:in
all?’
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1158:in
all_attributes_exists?' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1095:in
method_missing’
C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.5.2/app/models/radiant/config.rb:31:in
[]' C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.5.2/app/helpers/application_helper.rb:13:in
title’
C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.5.2/app/helpers/application_helper.rb:9:in
default_page_title' C:/Ruby/lib/ruby/gems/1.8/gems/radiant-0.5.2/app/views/layouts/application.rhtml:6:in
_run_rhtml_layouts_application’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
send' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
compile_and_render_template’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:292:in
render_template' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:251:in
render_file’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/layout.rb:251:in
render_without_benchmark' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:53:in
render’
C:/Ruby/lib/ruby/1.8/benchmark.rb:293:in measure' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:53:in
render’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:942:in
perform_action_without_filters' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:368:in
perform_action_without_benchmark’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' C:/Ruby/lib/ruby/1.8/benchmark.rb:293:in
measure’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/rescue.rb:82:in
perform_action’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in
send' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/base.rb:408:in
process_without_filters’
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/filters.rb:377:in
process_without_session_management_support' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/session_management.rb:117:in
process’
C:/Ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in
dispatch' C:/Ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:150:in
process_request’
C:/Ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:54:in
process!' C:/Ruby/lib/ruby/site_ruby/1.8/fcgi.rb:598:in
each_cgi’
C:/Ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in each' C:/Ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in
each_cgi’
C:/Ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:53:in
process!' C:/Ruby/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/fcgi_handler.rb:23:in
process!’
C:/Website/Radiant/public/dispatch.fcgi:24
Please hlep me solve this…