[Radiant] error on welcome

2010-04-12 Thread Jan M.J. Storms
L.S.,

I have radiant gem 0.8.1 installed, made a fresh site and then followed
the instructions on the download page under the heading The Bleeding Edge

I see the login page, but after login, I see Application error

Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html

I wonder what I am missing or what i did wrong. Could you help me out?

the log shows this:

--

Processing Admin::WelcomeController#index (for 80.61.243.71 at
2010-04-12 22:21:20) [GET]
  Parameters: {action=index, controller=admin/welcome}

NoMethodError (undefined method `locale' for #User:0x2304574):
  vendor/radiant/app/controllers/application_controller.rb:68:in
`set_user_locale'
  vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:
19:in `process'
  thin (1.2.7) lib/thin/connection.rb:76:in `pre_process'
  thin (1.2.7) lib/thin/connection.rb:74:in `catch'
  thin (1.2.7) lib/thin/connection.rb:74:in `pre_process'
  thin (1.2.7) lib/thin/connection.rb:57:in `process'
  thin (1.2.7) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
  thin (1.2.7) lib/thin/backends/base.rb:57:in `start'
  thin (1.2.7) lib/thin/server.rb:156:in `start'
  thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.2.7) lib/thin/runner.rb:177:in `send'
  thin (1.2.7) lib/thin/runner.rb:177:in `run_command'
  thin (1.2.7) lib/thin/runner.rb:143:in `run!'
  thin (1.2.7) bin/thin:6
  /usr/local/bin/thin:19:in `load'
  /usr/local/bin/thin:19

--

Jan

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org


Re: [Radiant] error on welcome

2010-04-12 Thread john muhl
did you run `rake radiant:update` and `rake db:migrate` after updating
to the master branch?

On Mon, Apr 12, 2010 at 3:53 PM, Jan M.J. Storms j...@storms.org wrote:
 L.S.,

 I have radiant gem 0.8.1 installed, made a fresh site and then followed
 the instructions on the download page under the heading The Bleeding Edge

 I see the login page, but after login, I see Application error

 Change this error message for exceptions thrown outside of an action
 (like in Dispatcher setups or broken Ruby code) in public/500.html

 I wonder what I am missing or what i did wrong. Could you help me out?

 the log shows this:

 --

 Processing Admin::WelcomeController#index (for 80.61.243.71 at
 2010-04-12 22:21:20) [GET]
  Parameters: {action=index, controller=admin/welcome}

 NoMethodError (undefined method `locale' for #User:0x2304574):
  vendor/radiant/app/controllers/application_controller.rb:68:in
 `set_user_locale'
  vendor/radiant/vendor/plugins/haml/rails/./lib/sass/plugin/rails.rb:
 19:in `process'
  thin (1.2.7) lib/thin/connection.rb:76:in `pre_process'
  thin (1.2.7) lib/thin/connection.rb:74:in `catch'
  thin (1.2.7) lib/thin/connection.rb:74:in `pre_process'
  thin (1.2.7) lib/thin/connection.rb:57:in `process'
  thin (1.2.7) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'
  eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'
  thin (1.2.7) lib/thin/backends/base.rb:57:in `start'
  thin (1.2.7) lib/thin/server.rb:156:in `start'
  thin (1.2.7) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.2.7) lib/thin/runner.rb:177:in `send'
  thin (1.2.7) lib/thin/runner.rb:177:in `run_command'
  thin (1.2.7) lib/thin/runner.rb:143:in `run!'
  thin (1.2.7) bin/thin:6
  /usr/local/bin/thin:19:in `load'
  /usr/local/bin/thin:19

 --

 Jan

 ___
 Radiant mailing list
 Post: Radiant@radiantcms.org
 Search: http://radiantcms.org/mailing-list/search/
 List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
 Radiant: http://radiantcms.org
 Extensions: http://ext.radiantcms.org

___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Re: [Radiant] error on welcome

2010-04-12 Thread Jim Gay
On Mon, Apr 12, 2010 at 4:53 PM, Jan M.J. Storms j...@storms.org wrote:
 L.S.,

 I have radiant gem 0.8.1 installed, made a fresh site and then followed
 the instructions on the download page under the heading The Bleeding Edge

 I see the login page, but after login, I see Application error

 Change this error message for exceptions thrown outside of an action
 (like in Dispatcher setups or broken Ruby code) in public/500.html

 I wonder what I am missing or what i did wrong. Could you help me out?

 the log shows this:

 --

 Processing Admin::WelcomeController#index (for 80.61.243.71 at
 2010-04-12 22:21:20) [GET]
  Parameters: {action=index, controller=admin/welcome}

 NoMethodError (undefined method `locale' for #User:0x2304574):

rake db:migrate

-- 
Jim Gay
http://www.saturnflyer.com

http://www.saturnflyer.com/blog/jim/2010/04/02/commenting-in-radiantcms-with-a-gem/
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org