similar to: Re: Error when going to Fastcgi.

Displaying 20 results from an estimated 2000 matches similar to: "Re: Error when going to Fastcgi."

2006 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
All, Apache 2/FastCGI on Linux My fastcgi config. file is set up to run the "test" RAILS_ENV. When I go to access a view associated with a particular controller, I keep getting a ENOENT (file not found) error on a custom config. file that I am attempting to load. What I can''t figure out is why it can''t find the file. Here''s the code that loads it in my
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2 with fcgi. With any action I try, it throws an exception saying it can''t find the source file. For instance, requesting an action in my welcome_controller results in: MissingSourceFile in <controller not set>#<action not set> No such file to load -- app/controllers/welcome_controller.rb The log
2006 Apr 10
0
Problem with freezing rails to vendor/rails
my vendor dirrectory. But for some reason my app is still using the locally installed gem versions of Rails on TXD. Running svn propget svn:externals vendor returns: rails http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-1/ Here is the error I''ve been getting (app started using the TXD rails.sh script): NoMethodError (undefined method `const_load!'' for
2005 Oct 11
1
RoR on Apache
I used generate/scaffold to create simple CRUD screen that works perfectly with Webrick. I wanted to attempt to run the same ROR app on Apache. I followed the instructions found at http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP with the alternate ending found at http://wiki.rubyonrails.org/rails/pages/Fast+CGI+and+Apache2+for+Windows+wit hout+VirtualHosts. I have
2006 Jan 13
2
FastCGI problems
I''m having a lot of problems with my Typo install. My fastcgi fails horribly after a reboot: [13/Jan/2006:16:55:28 :: 19796] Dispatcher failed to catch: (Interrupt) /usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each'' /usr/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!''
2006 Apr 26
3
My GD2 is not working
I installed GD2 1.0/1.1, but they are both not working, does anyone knows why? Great Thanks! With GD 1.0 I got: ======================================================== RuntimeError unknown symbol "gdImageSquareToCircle" RAILS_ROOT: /home/virtual/site1/fst/var/www/html/imodesite/public/../config/.. Application Trace | Framework Trace | Full Trace
2006 Aug 16
0
Rails with Apache and FastCGI under Windows and strange errors
Hi, I''m deploying a rails application under Windows (not my choice) using Apache 2.0.59 (I''m stuck with Apache 2.0 since the customer wants a single-signon solution)and FastCGI. The rails application talks with an MS SQL Server (again, not my choice) on a different machine. And now, enter stage left: Strange Errors. Infrequently I get "Rails Application Errors"
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and increased the timeout from 30seconds to 60seconds. I _think_ I did that properly because I now have to wait the full 60 seconds like clockwork until I get the "Rails application failed to start" when I browse to my URL. Before it was 30 seconds like clockwork. When I run "ruby dispatch.fcgi" I get the
2005 Aug 30
1
ActiveRecord::StatementInvalid error after app has been running for a while
Hi, I''m having a bit of a problem with a rails app and I wonder if anyone can help. It seems to run fine for a while, but if it''s left running too long (left running as a fastcgi or webrick process that is) it starts failing with an "ActiveRecord::StatementInvalid" error (i''ve included the full error from the log file below). I''m seeing this on both
2006 Mar 02
1
web serveces problem
Hi, I''m trying to added layered web services to my application and from some reason it''s not working for me. i''m working with ruby 1.84, rails 1.0. here are my files: 1. app/apis/kate_api.rb: class KateAPI < ActionWebService::API::Base inflect_names false api_method :check_version, :expects => [:string], :returns => [:string] end 2.
2007 Mar 01
0
FastCGI and Apache. Anybody know what can cause this error?
Does anybody know what could possibly be causing my error? Somehow action_controller got into a state where it was retuning not found for about 4 out of every 5 requests, seemingly arbitrarily. Has anybody else ever experienced this? I''ve heard that apache and fastcgi is not the best solution, do you think this is fcgi''s fault? Could it be a bug in my ruby code? Could it be a
2006 Jan 28
1
referencing a table
I am trying to use auto_complete_for to reference a different table. in my clients_controller.rb file auto_complete_for :case_manager :case_manager.name ^^^^^^^^^^^^ this is not the clients table my models/clients.rb has: has_one: case_manager The above ''auto_complete_for'' line in clients_controller.rb
2006 Mar 14
2
no such file to load -- login_system
I''m hoping someone can help me out here. My application works fine locally using webrick. One I upload to my shared server space I get an application error saying rails has failed to start. The log file production.log reads as follows: MissingSourceFile (no such file to load -- login_system): /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__''
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
Hello, I did a seemingly smooth install of ferret, but when I try to add it to my model, I get an error. My info: My rails site: shelikes (a restaurant review site) My controller: Display My model: Review My only line of code added for ferret is: class Review < ActiveRecord::Base acts_as_ferret ...( more stuff not related )... end Below is the error information. Any thoughts on how
2006 Apr 06
1
Strange message in fastcgi.crash.log
Hi, I just installed Ruby 1.8.4 and Rails using the HiveLogic instructions (I had been using Locomotive, and decided to make the big leap). Everything seems to go well, I set up a simple test app and it does run using script/server (using a sqlite3 database). I am noticing that when I use Control-C to stop the server, I''m seeing this message in the fastcgi.crash.log file:
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All, I have run into a road block with my RoR project. The app works fine without SSL but when I try to upload a file with the site running in HTTPS, cgi.rb throws an EOFError: [13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
2008 Jan 05
7
Error! Ruby on Rails based on FastCGI, Hello world !
Hey, I try to do my first steps in Ruby, and designed an "Hello World!" Application. Now I want to install this Application on an Apache server. I copied it to the "/public_html/" Directory here: (the application is called "rubyapp") http://sn00p.profusehost.net/rubyapp/ I ran http://sn00p.profusehost.net/rubyapp/public/dispatch.fcgi and get an Error. So I looked
2007 Aug 19
3
fastcgi issue on production
I just deployed my rails app to my production server. It''s all working locally, but when I switched it over to the production server (at dreamhost) I get this error: # Logfile created on Sun Aug 19 15:22:48 -0700 2007 by logger.rb/ 1.5.2.9 [19/Aug/2007:15:22:48 :: 1841] starting [19/Aug/2007:15:22:48 :: 1841] Dispatcher failed to catch: You have a nil object when you didn''t
2005 Dec 20
1
trouble with fastcgi and "undefined method `is_cgi?''"
I''m trying to get started with fastcgi on apache 2.0.54 on Fedora Core 4. I''ve created a really simple Rails app that doesn''t do any database actions. It works fine when I call it as CGI, but when I try to switch to fastCGI, I have problems. I get the following error in log/fastcgi.crash.log: [20/Dec/2005:10:16:53 :: 26912] Dispatcher failed to catch: undefined
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello, I deployed a Rails App using Switchtower and now I''m getting a Routing Error to my Javascript and Stylesheet files. Has anybody else had this issue? Here is the log file. > ActionController::RoutingError (Recognition failed for > "/javascripts/prototype.js"): > /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in >