List Info

Thread: Application error (Rails) - Typo 4.0.3 production




Application error (Rails) - Typo 4.0.3 production
user name
2006-09-12 20:48:13
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/dependencie
s.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://mart
in.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!

-- 
Best regards,
Martin Stabenfeldt
_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list
Application error (Rails) - Typo 4.0.3 production
user name
2006-09-12 21:14:48
run rake migrate it will fix your DB issue.

On 9/12/06, Martin Stabenfeldt <stabenfeldt.net">martinstabenfeldt.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
&nbsp; &nbsp; /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
&nbsp; &nbsp; /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
&nbsp; &nbsp; /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
&nbsp; &nbsp; .//vendor/rails/railties/lib/webrick_server.rb:67:in `dispatch'
 &nbsp; &nbsp;.//vendor/rails/railties/lib/commands/servers/webrick.rb:59
&nbsp; &nbsp; .//vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require'
   ; .//vendor/rails/railties/lib/commands/server.rb:30
 &nbsp;  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!

--
Best regards,
Martin Stabenfeldt
_______________________________________________
Typo-list mailing list
rubyforge.org">Typo-listrubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list



--
Thanks,
-Steve
http://www.stevelongdo.com
Application error (Rails) - Typo 4.0.3 production
user name
2006-09-12 21:39:36
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"}Renderin
g  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/benchmarkin
g.rb:53:in
`render'    /usr/lib/ruby/1.8/benchmark.rb:293:in
`measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarkin
g.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/benchmarkin
g.rb:69:in
`perform_action_without_rescue'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarkin
g.rb:69:in
`perform_action_without_rescue'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:8
2: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_man
agement.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/dependencie
s.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"}ActionVi
ew::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:2
51:in
`render_without_benchmark'
.//vendor/rails/actionpack/lib/action_controller/benchmarkin
g.rb:53:in
`render'    /usr/lib/ruby/1.8/benchmark.rb:293:in
`measure'
.//vendor/rails/actionpack/lib/action_controller/benchmarkin
g.rb:53:in
`render'    .//app/controllers/articles_controller.rb:73:in
`rescue_action_in_public'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:3
3:in
`rescue_action'
.//vendor/rails/actionpack/lib/action_controller/rescue.rb:1
08: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_man
agement.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/dependencie
s.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.longdogmail.com> wrote:
> run rake migrate it will fix your DB issue.
>
>
> On 9/12/06, Martin Stabenfeldt <martinstabenfeldt.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/dependencie
s.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://mart
in.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!
_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list
Application error (Rails) - Typo 4.0.3 production
user name
2006-09-12 21:51:09

Have you cleared out the rails cache and sessions?  Typically that fixes my development vs production issues.  With an old version of a class cached.

 

Linda Derezinski


From: typo-list-bouncesrubyforge.org [mailto:typo-list-bouncesrubyforge.org] On Behalf Of Steve Longdo
Sent: Tuesday, September 12, 2006 5:15 PM
To: typo-listrubyforge.org
Subject: Re: [typo] Application error (Rails) - Typo 4.0.3 production

 

run rake migrate it will fix your DB issue.

On 9/12/06, Martin Stabenfeldt <stabenfeldt.net">martinstabenfeldt.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
&nbsp;   ;/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
&nbsp;   ;/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
&nbsp;   ;/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
&nbsp;   ;.//vendor/rails/railties/lib/webrick_server.rb:67:in `dispatch'
 &nbsp; &nbsp;.//vendor/rails/railties/lib/commands/servers/webrick.rb:59
  ; &nbsp;.//vendor/rails/activesupport/lib/active_support/dependencies.rb:147:in
`require'
&nbsp; &nbsp; .//vendor/rails/railties/lib/commands/server.rb:30
&nbsp; &nbsp; 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!

--
Best regards,
Martin Stabenfeldt
_______________________________________________
Typo-list mailing list
rubyforge.org">Typo-listrubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list




--
Thanks,
-Steve
http://www.stevelongdo.com

Application error (Rails) - Typo 4.0.3 production
user name
2006-09-12 22:16:20
Are you using a theme that isn't in the typo you're
upgrading to?
This Breaks Stuff.

On 12/09/06, Martin Stabenfeldt <martinstabenfeldt.net> wrote:

> Processing ArticlesController#index (for 80.213.141.195
at 2006-09-12
> 23:32:58) [GET]  Parameters:
{"action"=>"index",
>
"controller"=>"articles"}Renderin
g  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):


-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hell
ooperator.net/
_______________________________________________
Typo-list mailing list
Typo-listrubyforge.org
http:
//rubyforge.org/mailman/listinfo/typo-list
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )