similar to: Troubleshooting recognition failures?

Displaying 20 results from an estimated 10000 matches similar to: "Troubleshooting recognition failures?"

2006 Aug 14
0
Recognition failed for ...
Hello, I''m new to Rails so please forgive me if I''m asking any stupid questions... I''m trying to set up lighttpd so that is supports multiple Rails apps (in the form of http://server/app1, http://server/app2, etc). OS: Gentoo, 2.6.17 kernel, ruby 1.8.4, rails 1.1.6, lighttpd 1.4.11 My rails app is generated into /mnt/b/www/rails/test1/ and I''ve appended
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 Apr 19
1
Recognition failed for "/"
I am new to ROR and i have been following a few howto''s and just testing things. It works fine in webbrick yet if i try and access using lighttpd or if i run public/dispatch.fcgi from cmd line i get the error below Thanks Recognition failed for "/" /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
Hi. I''ve heavily refactored an application. When I access http://0.0.0.0:3000/ I now get the stack trace at the end of this mail. My routes.rb: ActionController::Routing::Routes.draw do |map| map.connect '''', :controller => ''user/dashboard'', :action => ''boo'' map.connect '':controller/:action/:id'',
2006 Apr 28
0
Re: Recognition failed for "/dispatch.cgi"
The problem turned out to be fairly simple. The main problem: Apache handles the ScriptAlias directories so that all files are "executed" rather than served. I''m assuming also that Apache doesn''t bother looking at the .htaccess files therein, either. So instead, I had ''rails'' put everything into my web document area. The path issue seems to be
2006 Jun 26
2
running lighttpd -> Recognition failed for "/"
i have tried several tutorials on the web for getting my app to run under lighttpd and fastcgi.. my setup is fedora core 5.. i used this to get everything installed: http://www.digitalmediaminute.com/howto/fc4rails/ but i kept getting errors, as the machine i am installing it is a remote machine, i couldn''t get it to work right.. i next tried this:
2006 Aug 05
1
"uninitialized constant" error when I go to app base URL???
Hi, I''m getting the below attached error when I navigate to the root of my web application on my hosting site (dreamhost.com), however in development it works fine. Any ideas? That is I have one controller so the direct URL is "http://mydomain.com/contacts". This works on dreamhost and locally. BUT when I go to "http://mydomain.com/" this works locally (on
2005 Aug 06
0
Re: Error when going to Fastcgi.
I fixed that missing comma, now I get this error: Processing Base#index (for 24.94.221.205 at Sat Aug 06 14:40:47 GMT 2005) Parameters: {} NoMethodError (undefined method `before_filter'' for #<Object: 0x80859b8>): /app/controllers/loginadmin_controller.rb:1 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 18:in `require__''
2006 Oct 03
0
rs.recognize_path "/home" is not working in script/console
My application runs fine. I just want to change a few routing rules and I decided to test using script/console. But I''m getting following error. Loading development environment. >> rs = ActionController::Routing::Routes >> rs.recognize_path "/home/index" TypeError: can''t convert Fixnum into String from
2006 Apr 02
2
Recognition failed for "/rails_info/properties"
Hello. I can''t figure out why I''m getting the following problem, or how to fix it. I have Rails 1.1.0 installed on both OS X and Solaris, and in both new and old projects, and using either WEBrick or lighttpd, I get: Recognition failed for "/rails_info/properties" when lining to it off the welcome to rails page. I get the following errors through the console:
2006 Feb 22
7
Ruby on Rails with Apache2, MS SQL on Windows XP
My app was running fine with Linux, Apache2/Lighttpd and MySQL. I have a need to migrate to Windows, Apache2 and MS SQL. But I keep getting the following error when I load the initial home page. Anyone can please give me a pointer where to go next for troubleshooting? Thanks in advance. NameError in <controller not set>#<action not set> uninitialized constant
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.
2006 Jun 07
4
Images not showing up
I moved my working rails app from one server to another and suddenly my images are not showing up. In the production log I see this: ActionController::RoutingError (Recognition failed for "/images/header.jpg"): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 May 28
0
How to fix NameError?
Hi, I get the following error in production: Processing Base#index (for 68.146.229.246 at 2006-05-28 14:49:59) [GET] Parameters: {} NameError (uninitialized constant FrontControllerController): /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:195:in `const_missing''
2006 Dec 27
6
file upload
I ma trying to get this upload working, http://mongrel.rubyforge.org/docs/upload_progress.html, ....after starting from the command line, mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf I get this eror in the browser, NameError uninitialized constant UploadProgressRailsController RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/.. Application Trace | Framework Trace
2006 Jul 19
1
RoutingError -- but only for one controller
This one has had me stumped all morning, so any ideas would be a big help. I''m getting the following error for any request to one of my controllers, ''client'': ActionController::RoutingError (Recognition failed for "/client/new"): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in `recognition_failed''
2006 Jun 29
0
can''t run rails application
Hello, I''m trying to run Rails on Apache 2.0 with mod_fcgid. It seems like fcgi has been set up ok, but still I can''t run my rails application. Here is my httpd.conf IPCCommTimeout 40 IPCConnectTimeout 10 DefaultInitEnv RAILS_ENV production SocketPath /tmp/fcgidsock <VirtualHost *:80> <Location /> RewriteEngine On
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb map.connect ''admin'', :controller => ''/admin/welcome'' I have found plenty of examples saying this is correct if you have a WelcomeController in the Admin module, which I do :) But now webrick won''t even start ??? Look at those 4 colons ::::, what is that about ? help ! => Booting WEBrick...
2006 Jan 18
1
Another uninitialized constant question
Guys, I''m trying to generate a scaffold to admin a table called hangars. I''d like the controller to fall with an "admin" sub-module. I used the command: script/generate scaffold Hangar Admin::Hangar This seemed to work, and placed the controller in controllers/admin/hangar_controller.rb, where I expected to find it. It also created the hangar.rb model in
2006 Jun 23
0
Date class giving errors
Any time I try to use any methods of the Date class, I get errors of ''invalid date''. For example, I have this happening: With the code Date.today, I get this error from Rails: - - - - - - - - - - ArgumentError in Student#show Showing app/views/student/show.rhtml where line #10 raised: invalid date Extracted source (around line #10): 7: <p> <%=