# Table 'radiant\_dev.config' doesn't exist

**URL:** <https://www.ruby-forum.com/t/table-radiant-dev-config-doesnt-exist/89588>\
**Category:** Radiant CMS\
**Created:** [March 21, 2007, 12:17pm UTC](https://www.ruby-forum.com/t/table-radiant-dev-config-doesnt-exist/89588 "2007-03-21T12:17:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdlverde](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hdlverde](https://www.ruby-forum.com/u/hdlverde)\
**Post date:** [March 21, 2007, 12:17pm UTC](https://www.ruby-forum.com/t/table-radiant-dev-config-doesnt-exist/89588/1 "2007-03-21T12:17:41Z")

</div>

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](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](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…

---

<div class="post-metadata">

**Author:** ![hdlverde](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hdlverde](https://www.ruby-forum.com/u/hdlverde)\
**Post date:** [March 21, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/table-radiant-dev-config-doesnt-exist/89588/2 "2007-03-21T14:10:13Z")

</div>

Attempt to connect to your radaitn\_dev database manually and confirm  
that the config table exists. Do any tables exists? Perhaps you need to  
re-run the database install. or:

rake db:migrate VERSION=0  
and then  
rake db:migrate

---

<div class="post-metadata">

**Author:** ![hdlverde](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hdlverde](https://www.ruby-forum.com/u/hdlverde)\
**Post date:** [March 22, 2007, 9:08am UTC](https://www.ruby-forum.com/t/table-radiant-dev-config-doesnt-exist/89588/3 "2007-03-22T09:08:42Z")

</div>

Jacob B. wrote:

> Attempt to connect to your radaitn\_dev database manually and confirm  
> that the config table exists. Do any tables exists? Perhaps you need to  
> re-run the database install. or:
> 
> rake db:migrate VERSION=0  
> and then  
> rake db:migrate

Thank you… Sometimes the most simple solution is the best… After the  
new rake all ok!

---

<div class="post-metadata">

**Author:** ![hdlverde](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f1d935/32.png) [@hdlverde](https://www.ruby-forum.com/u/hdlverde)\
**Post date:** [March 22, 2007, 9:13am UTC](https://www.ruby-forum.com/t/table-radiant-dev-config-doesnt-exist/89588/4 "2007-03-22T09:13:54Z")

</div>

There is even a shortcut!  
rake db:remigrate

Regards,  
Erik.

Jacob B. wrote:

> > Attempt to connect to your radaitn\_dev database manually and confirm  
> > that the config table exists. Do any tables exists? Perhaps you need to  
> > re-run the database install. or:
> > 
> > rake db:migrate VERSION=0  
> > and then  
> > rake db:migrate

–  
Erik van Oosten

> **[Day to day stuff](http://day-to-day-stuff.blogspot.com/)**
>
> Experiences from a hard core JVM programmer. Likes to keep things simple.
