I am getting a routing error when trying to open a window with :popup
=> true
I do not get the error on localhost only on the server.
I am only getting a routing error when accessing .../ICA/...
Code
----------
#.../page/list
<%= link_to ''Preview'',{ :controller => "ICA",
:action => ''index'', :id
=> page},:popup => true %>
class ICAController < ApplicationController
...
def index
...
end
Error
--------
Routing Error
Recognition failed for "/ICA/index/91"
Yes - index/91 exists. As I said it works find on my local computer -
just not on the server
Do I need to do something different in the popup call or in the
route.rb? Please help.
Thanks in advance - K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
This is what my dev logs have to say. I noticed that my paremeters are
not being set - which then makes since why I am getting the error, but
why are my parameters not getting set?
Rendering /var/www/ica/html/trunk/public/../config/../vendor/rails/
actionpack/lib/action_controller/templates/rescues/layout.rhtml (404
Page Not Found)
Processing Base#index (for 128.193.163.30 at 2007-02-14 16:10:25)
[GET]
Session ID: 85438c4bf9c30288c64258c6fbc4c6ed
Parameters: {} # no parameters ??
ActionController::RoutingError (Recognition failed for "/ICA/index/
112"):
/vendor/rails/actionpack/lib/action_controller/routing.rb:522:in
`recognition_failed''
/vendor/rails/actionpack/lib/action_controller/routing.rb:512:in
`recognize!''
/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch''
/var/www/ica/html/trunk/public/dispatch.cgi:10
On Feb 14, 3:47 pm, "Kim"
<Kim.Gri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> I am getting a routing error when trying to open a window with :popup
> => true
>
> I do not get the error on localhost only on the server.
>
> I am only getting a routing error when accessing .../ICA/...
>
> Code
> ----------
> #.../page/list
> <%= link_to ''Preview'',{ :controller =>
"ICA", :action => ''index'', :id
> => page},:popup => true %>
>
> class ICAController < ApplicationController
> ...
> def index
> ...
> end
>
> Error
> --------
> Routing Error
>
> Recognition failed for "/ICA/index/91"
>
> Yes - index/91 exists. As I said it works find on my local computer -
> just not on the server
>
> Do I need to do something different in the popup call or in the
> route.rb? Please help.
>
> Thanks in advance - K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Thanks to the people on this list, I fixed it. The problem was that I called it ICA - changed it to Ica and it works. I guess unix/linux is more case sensitive then window so when I deployed to a unix box it broke the ICA call. Thanks. On Feb 14, 4:14 pm, "Kim" <Kim.Gri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> This is what my dev logs have to say. I noticed that my paremeters are > not being set - which then makes since why I am getting the error, but > why are my parameters not getting set? > > Rendering /var/www/ica/html/trunk/public/../config/../vendor/rails/ > actionpack/lib/action_controller/templates/rescues/layout.rhtml (404 > Page Not Found) > > Processing Base#index (for 128.193.163.30 at 2007-02-14 16:10:25) > [GET] > Session ID: 85438c4bf9c30288c64258c6fbc4c6ed > Parameters: {} # no parameters ?? > > ActionController::RoutingError (Recognition failed for "/ICA/index/ > 112"): > /vendor/rails/actionpack/lib/action_controller/routing.rb:522:in > `recognition_failed'' > /vendor/rails/actionpack/lib/action_controller/routing.rb:512:in > `recognize!'' > /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'' > /var/www/ica/html/trunk/public/dispatch.cgi:10 > > On Feb 14, 3:47 pm, "Kim" <Kim.Gri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I am getting a routing error when trying to open a window with :popup > > => true > > > I do not get the error on localhost only on the server. > > > I am only getting a routing error when accessing .../ICA/... > > > Code > > ---------- > > #.../page/list > > <%= link_to ''Preview'',{ :controller => "ICA", :action => ''index'', :id > > => page},:popup => true %> > > > class ICAController < ApplicationController > > ... > > def index > > ... > > end > > > Error > > -------- > > Routing Error > > > Recognition failed for "/ICA/index/91" > > > Yes - index/91 exists. As I said it works find on my local computer - > > just not on the server > > > Do I need to do something different in the popup call or in the > > route.rb? Please help. > > > Thanks in advance - K--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---