[typo] Typo and FastCGI on Plesk VPS

Rida Al Barazi ralbarazi at gmail.com
Wed Sep 28 17:49:53 EDT 2005


----- Original Message ----- 
From: "akonsu" <akonsu at gmail.com>
To: "Rida Al Barazi" <ralbarazi at gmail.com>
Cc: <typo-list at rubyforge.org>
Sent: Thursday, September 29, 2005 1:11 AM
Subject: Re: [typo] Typo and FastCGI on Plesk VPS


> ok, so fcgi is known to work, the typo is known to work too. then it
> seems that there is a problem with dispatch.fcgi for typo. what
> happens if you run dispatch.fcgi directly from the command line?

Here is what I'm getting:

[root at vps public]# ruby dispatch.fcgi
Content-Type: text/html
Set-Cookie: _session_id=cb77a148a16f757be9109b47e074fbe1; path=/
Status: 200 OK
Cache-Control: no-cache

<html><body><h1>Application error (Rails)</h1></body></html>


and in log/fastcgi.crash.log:
# Logfile created on Wed Sep 28 21:43:10 GMT 2005 by logger.rb/1.5.2.4
[28/Sep/2005:21:43:10 :: 28381] starting
[28/Sep/2005:21:43:11 :: 28381] terminated gracefully

and in log/production.log:
Processing Base#index (for  at Wed Sep 28 21:43:11 GMT 2005)
  Parameters: {"action"=>"index", "controller"=>"articles", "page"=>nil}


ActionView::TemplateError (undefined method `+' for nil:NilClass) on line 
#13 of /../.$
10:     <meta name="description" content="amidship: rails your business" />
11:     <meta name="keywords" content="Amidship, rails, Business management, 
rails yous your business, online, web-based, calendar, bms , RSS" />
12:     <%= meta_tag 'ICBM', config_value(:geourl_location)  %>
13:     <link rel="EditURI" type="application/rsd+xml" title="RSD" href="<%= 
server_urer_url_for :controller => 'xml', :action => 'rsd' %>" />
14:     <%= auto_discovery_link_tag :rss, :controller => 'xml', :action => 
'rss' %>
15:     <%= stylesheet_link_tag "/stylesheets/theme/amidshipPage" %>
16:     <%= stylesheet_link_tag "/stylesheets/theme/local" %>

    /gems/actionpack-1.9.1/lib/action_controller/request.rb:183:in 
`host_with_port'
    /gems/actionpack-1.9.1/lib/action_controller/url_rewriter.rb:24:in 
`rewrite_url'
    /gems/actionpack-1.9.1/lib/action_controller/url_rewriter.rb:11:in 
`rewrite'
    /gems/actionpack-1.9.1/lib/action_controller/base.rb:440:in `url_for'
    /gems/actionpack-1.9.1/lib/action_view/helpers/url_helper.rb:12:in 
`send'
    /gems/actionpack-1.9.1/lib/action_view/helpers/url_helper.rb:12:in 
`url_for'
    ./../config/..//app/helpers/application_helper.rb:47:in `server_url_for'
    (erb):13:in `evaluate_locals'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:272:in `evaluate_locals'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:283:in `rhtml_render'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:208:in `send'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:208:in `render_template'
    /gems/actionpack-1.9.1/lib/action_view/base.rb:173:in `render_file'
    /gems/actionpack-1.9.1/lib/action_controller/layout.rb:214:in 
`render_without_benc$
    /gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    /gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`measure'
    /gems/actionpack-1.9.1/lib/action_controller/benchmarking.rb:25:in 
`render'
    ./../config/../app/controllers/articles_controller.rb:59:in `error'
    ./../config/../app/controllers/articles_controller.rb:175:in 
`rescue_action_in_pub$
    /gems/actionpack-1.9.1/lib/action_controller/rescue.rb:33:in 
`rescue_action'
    /gems/actionpack-1.9.1/lib/action_controller/rescue.rb:106:in 
`perform_action'
    /gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `send'
    /gems/actionpack-1.9.1/lib/action_controller/base.rb:356:in `process'
    /gems/rails-0.13.1/lib/dispatcher.rb:32:in `dispatch'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:144:in `process_request'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:64:in `process!'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:55:in `each_cgi'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:55:in `process!'
    /gems/rails-0.13.1/lib/fcgi_handler.rb:21:in `process!'
    dispatch.fcgi:26





More information about the Typo-list mailing list