[typo] Application error (Rails) - Typo 4.0.3 production

Martin Stabenfeldt martin at stabenfeldt.net
Tue Sep 12 17:39:36 EDT 2006


Thanks,

I have now upgraded both the production and the development database.
But, I still get the "Application error (Rails)" when trying to view
my frontpage in production.
(I´m running Fedora Core 4)

This is what the logs say when loading the main page in production:

Processing ArticlesController#index (for 80.213.141.195 at 2006-09-12
23:32:58) [GET]  Parameters: {"action"=>"index",
"controller"=>"articles"}Rendering  within
../../themes/chocomod/layouts/defaultRendering articles/indexInvalid
API Key (Key has expired)  ActionView::ActionViewError (No rhtml,
rxml, rjs or delegate template found for
../../themes/chocomod/layouts/default):
    .//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
`render'    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
`render'    .//vendor/rails/actionpack/lib/action_controller/base.rb:942:in
`perform_action_without_filters'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in
`perform_action'
.//vendor/rails/actionpack/lib/action_controller/base.rb:408:in
`process_without_filters'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'
.//vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
`process'    .//vendor/rails/railties/lib/dispatcher.rb:38:in
`dispatch'    .//vendor/rails/railties/lib/webrick_server.rb:115:in
`handle_dispatch'
.//vendor/rails/railties/lib/webrick_server.rb:81:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
.//vendor/rails/railties/lib/webrick_server.rb:67:in `dispatch'
.//vendor/rails/railties/lib/commands/servers/webrick.rb:59
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require'    .//vendor/rails/railties/lib/commands/server.rb:30
script/server:3  Rendering actionerrorlayoutfalse within
../../themes/chocomod/layouts/defaultRendering articles/error
Processing Base#index (for 80.213.141.195 at 2006-09-12 23:33:00)
[GET]  Parameters: {"action"=>"index", "controller"=>"articles"}

  Parameters: {"action"=>"index",
"controller"=>"articles"}ActionView::ActionViewError (No rhtml, rxml,
rjs or delegate template found for
../../themes/chocomod/layouts/default):
.//vendor/rails/actionpack/lib/action_view/base.rb:389:in
`find_template_extension_for'
.//vendor/rails/actionpack/lib/action_view/base.rb:323:in
`pick_template_extension'
.//vendor/rails/actionpack/lib/action_view/base.rb:240:in
`render_file'
.//vendor/rails/actionpack/lib/action_controller/layout.rb:251:in
`render_without_benchmark'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
`render'    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarking.rb:53:in
`render'    .//app/controllers/articles_controller.rb:73:in
`rescue_action_in_public'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:33:in
`rescue_action'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:108:in
`perform_action'
.//vendor/rails/actionpack/lib/action_controller/base.rb:408:in
`process_without_filters'
.//vendor/rails/actionpack/lib/action_controller/filters.rb:377:in
`process_without_session_management_support'
.//vendor/rails/actionpack/lib/action_controller/session_management.rb:117:in
`process'    .//vendor/rails/railties/lib/dispatcher.rb:38:in
`dispatch'    .//vendor/rails/railties/lib/webrick_server.rb:115:in
`handle_dispatch'
.//vendor/rails/railties/lib/webrick_server.rb:81:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
.//vendor/rails/railties/lib/webrick_server.rb:67:in `dispatch'
.//vendor/rails/railties/lib/commands/servers/webrick.rb:59
.//vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require'    .//vendor/rails/railties/lib/commands/server.rb:30
script/server:3

Best regards,
Martin Stabenfeldt


On 12/09/06, Steve Longdo <steve.longdo at gmail.com> wrote:
> run rake migrate it will fix your DB issue.
>
>
> On 9/12/06, Martin Stabenfeldt <martin at stabenfeldt.net> wrote:
> >
> Hi,
>
> I´m running Typo 4.0.3 from gems. It works in development mode with
> webrick, but not production. The current database I´m using is 46, 50
> is the one Typo suggests me upgrading to, but I haven´t done that.
> When running in production mode, I´m getting "Application error
> (Rails)" on the main page, and "login unsuccsessfull" on the admin
> page.
>
> $ tail -f log/production.log
>     /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
>     /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
>     /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
>     .//vendor/rails/railties/lib/webrick_server.rb:67:in
> `dispatch'
>
> .//vendor/rails/railties/lib/commands/servers/webrick.rb:59
>
> .//vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
> `require'
>     .//vendor/rails/railties/lib/commands/server.rb:30
>      script/server:3
>
> The original production database can be found at
> http://martin.stabenfeldt.net/typo_.db
> Original development database:
> http://martin.stabenfeldt.net/typo_dev.db
>
> I´m using ruby-1.8.4-3.fc4, global rails version (1.1.6, 1.1.2, 1.0.0,
> 0.14.2) shouldn't have anything to say, since the one I´m using is
> frozen in the vendors catalog?
>
> Any suggestions to what I may do? Let me know if I can provide any
> other information!


More information about the Typo-list mailing list