# Error after first run after installation

**URL:** <https://www.ruby-forum.com/t/error-after-first-run-after-installation/129633>\
**Category:** Radiant CMS\
**Created:** [February 20, 2008, 7:39am UTC](https://www.ruby-forum.com/t/error-after-first-run-after-installation/129633 "2008-02-20T07:39:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant\_Morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e47774/32.png) [@Grant\_Morgan](https://www.ruby-forum.com/u/Grant_Morgan)\
**Post date:** [February 20, 2008, 7:39am UTC](https://www.ruby-forum.com/t/error-after-first-run-after-installation/129633/1 "2008-02-20T07:39:25Z")

</div>

I am getting this when I first go radiant after installation  
ActiveRecord::StatementInvalid in SiteController#show\_page

stack trace ends with  
/Library/Ruby/Gems/1.8/gems/radiant-0.6.4/vendor/rails/activerecord/lib/active\_record/connection\_adapters/sqlite\_adapter.rb:360:in  
`table\_structure

I am on OS X 10.5.2  
the table exist I can see them in SQLite3 db although I don’t what  
they should look like.  
Rake runs with no errors.  
my gem list says  
activerecord (1.15.6, 1.15.3)  
sqlite3-ruby (1.2.1)  
radiant (0.6.4)

ruby -v  
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]

## Any suggestions on what the problem is or where to look?

Cheers,  
Grant

---

<div class="post-metadata">

**Author:** ![Grant\_Morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e47774/32.png) [@Grant\_Morgan](https://www.ruby-forum.com/u/Grant_Morgan)\
**Post date:** [February 20, 2008, 9:12am UTC](https://www.ruby-forum.com/t/error-after-first-run-after-installation/129633/2 "2008-02-20T09:12:03Z")

</div>

Hi,

Which sqlite3 database you checked for tables? If that was  
production.sqlite3.db then you need to run scrip/server -e production  
to start server.

Regards,  
Martins Grunskis

---

<div class="post-metadata">

**Author:** ![Grant\_Morgan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e47774/32.png) [@Grant\_Morgan](https://www.ruby-forum.com/u/Grant_Morgan)\
**Post date:** [February 20, 2008, 10:05am UTC](https://www.ruby-forum.com/t/error-after-first-run-after-installation/129633/3 "2008-02-20T10:05:35Z")

</div>

Sorry I found my mistake. I bootstrapped the development db and and  
ran the production dn.

I am getting this when I first go radiant after installation  
ActiveRecord::StatementInvalid in SiteController#show\_page

stack trace ends with  
/Library/Ruby/Gems/1.8/gems/radiant-0.6.4/vendor/rails/activerecord/lib/active\_record/connection\_adapters/sqlite\_adapter.rb:360:in  
`table\_structure

I am on OS X 10.5.2  
the table exist I can see them in SQLite3 db although I don’t what  
they should look like.  
Rake runs with no errors.  
my gem list says  
activerecord (1.15.6, 1.15.3)  
sqlite3-ruby (1.2.1)  
radiant (0.6.4)

ruby -v  
ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]

## Any suggestions on what the problem is or where to look?

Cheers,  
Grant

–  
Cheers,  
Grant
