gokul murthy
2008-Mar-28 16:25 UTC
Re: 302 found, I dont know how this is happen even i have the respective file in server.
hey Mark, Thanks a lot, i will try with tat. can send your suggestions for this, how to disable the 302 found message. Following is the error i am facing... Processing DesignerController#index (for 203.199.223.209 at 2008-03-28 09:18:14) [GET] Session ID: c6f87f53074f58858b7303dc6f24ac6e Parameters: {"action"=>"index", "controller"=>"designer"} Redirected to http://c21.broadspire.net/ Completed in 0.00038 (2644 reqs/sec) | DB: 0.00000 (0%) | 302 Found [ http://c21.broadspire.net/designer/index/] but i dont know why this is redirecting. i am accessing this http://c21.broadspire.net/designer/index/ URL from http://c21.broadspire.net/ ( after login only ) I dont know why this is redircecting again login page.... Please help me out of this issue... Thanks P.Gokula murthy http://railsthinker.blogspot.com/ On Fri, Mar 28, 2008 at 9:33 PM, Mark Bush <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > gokul murthy wrote: > > In one of my Rails web application, i need to create images with dynamic > > text. I found the solution for this task in PHP. But i need the same > > processes to do in Rails. Below is the URL which i found the solution in > > PHP > > I''ve used RMagick with great success: > > http://rmagick.rubyforge.org/ > > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Mar-29 12:15 UTC
Re: 302 found, I dont know how this is happen even i have the respective file in server.
On 28 Mar 2008, at 16:25, gokul murthy wrote:> hey Mark, > > Thanks a lot, i will try with tat. > > can send your suggestions for this, how to disable the 302 > found message. Following is the error i am facing... > > Processing DesignerController#index (for 203.199.223.209 at > 2008-03-28 09:18:14) [GET] > Session ID: c6f87f53074f58858b7303dc6f24ac6e > Parameters: {"action"=>"index", "controller"=>"designer"} > Redirected to http://c21.broadspire.net/ > Completed in 0.00038 (2644 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://c21.broadspire.net/designer/index/ > ] > >Well you''re probably calling redirect_to somewhere. Put breakpoints wherever yo call tha and see what happens. Fred> but i dont know why this is redirecting. i am accessing this http://c21.broadspire.net/designer/index/ > URL from http://c21.broadspire.net/ ( after login only ) > > I dont know why this is redircecting again login page.... > > Please help me out of this issue... > > Thanks > > P.Gokula murthy > http://railsthinker.blogspot.com/ > > > > On Fri, Mar 28, 2008 at 9:33 PM, Mark Bush <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org > > wrote: > > gokul murthy wrote: > > In one of my Rails web application, i need to create images with > dynamic > > text. I found the solution for this task in PHP. But i need the same > > processes to do in Rails. Below is the URL which i found the > solution in > > PHP > > I''ve used RMagick with great success: > > http://rmagick.rubyforge.org/ > > -- > Posted via http://www.ruby-forum.com/. > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
EmmanuelOga
2008-May-08 04:39 UTC
Re: 302 found, I dont know how this is happen even i have the respective file in server.
I had the same issue today and, Oh man! this was so freaking difficult to debug! The problem in my case was I''m using jquery on my page and this was on application.js: $(''a.buttonstyle'').click(function() { $(this).parent().submit(); }); I think the idea was to make a link act as a form button. This may be ok if you are using this css class on a link inside a form of yours. But what happens if you are using a link_to .... :method => "post" ? Multiple redirects!!! that''s what was happening to me at least. So my advice would be: look for rare javascript calls (unobtrusive calls?) around the view that is failing with that redirect message. gokul murthy wrote:> hey Mark, > > Thanks a lot, i will try with tat. > > can send your suggestions for this, how to disable the 302 found > message. Following is the error i am facing... > > Processing DesignerController#index (for 203.199.223.209 at 2008-03-28 > 09:18:14) [GET] > Session ID: c6f87f53074f58858b7303dc6f24ac6e > Parameters: {"action"=>"index", "controller"=>"designer"} > Redirected to http://c21.broadspire.net/ > Completed in 0.00038 (2644 reqs/sec) | DB: 0.00000 (0%) | 302 Found [ > http://c21.broadspire.net/designer/index/] > > > but i dont know why this is redirecting. i am accessing this > http://c21.broadspire.net/designer/index/ URL from > http://c21.broadspire.net/ ( after login only ) > > I dont know why this is redircecting again login page.... > > Please help me out of this issue... > > Thanks > > P.Gokula murthy > http://railsthinker.blogspot.com/ > > > > On Fri, Mar 28, 2008 at 9:33 PM, Mark Bush <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > wrote: > > > > > gokul murthy wrote: > > > In one of my Rails web application, i need to create images with dynamic > > > text. I found the solution for this task in PHP. But i need the same > > > processes to do in Rails. Below is the URL which i found the solution in > > > PHP > > > > I''ve used RMagick with great success: > > > > http://rmagick.rubyforge.org/ > > > > -- > > Posted via http://www.ruby-forum.com/. > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
railsthinker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jun-09 20:39 UTC
Re: 302 found, I dont know how this is happen even i have the respective file in server.
Hi, Finally i debugged this error, this is becoz of non-commenting the line to save the session as active_record. So that in my production server, i doesnt have permission to create a new file for each session. so that session is get expired then logged out automatically. I have only read and execute permission in the production server. once I have removed the comment, sessions are get saved into my DB, then sessions get reliable as usual. Thanks P.Gokula murthy On May 8, 9:39 am, EmmanuelOga <emmanuel...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I had the same issue today and, Oh man! this was so freaking difficult > to debug! > > The problem in my case was I''m using jquery on my page and this was on > application.js: > > $(''a.buttonstyle'').click(function() { > $(this).parent().submit(); > > }); > > I think the idea was to make a link act as a form button. This may be > ok if you are using this css class on a link inside a form of yours. > But what happens if you are using a link_to .... :method => "post" ? > Multiple redirects!!! that''s what was happening to me at least. So my > advice would be: look for rare javascript calls (unobtrusive calls?) > around the view that is failing with that redirect message. > > gokul murthy wrote: > > hey Mark, > > > Thanks a lot, i will try with tat. > > > can send your suggestions for this, how to disable the 302 found > > message. Following is the error i am facing... > > > Processing DesignerController#index (for 203.199.223.209 at 2008-03-28 > > 09:18:14) [GET] > > Session ID: c6f87f53074f58858b7303dc6f24ac6e > > Parameters: {"action"=>"index", "controller"=>"designer"} > > Redirected tohttp://c21.broadspire.net/ > > Completed in 0.00038 (2644 reqs/sec) | DB: 0.00000 (0%) | 302 Found [ > >http://c21.broadspire.net/designer/index/] > > > but i dont know why this is redirecting. i am accessing this > >http://c21.broadspire.net/designer/index/URL from > >http://c21.broadspire.net/( after login only ) > > > I dont know why this is redircecting again login page.... > > > Please help me out of this issue... > > > Thanks > > > P.Gokula murthy > >http://railsthinker.blogspot.com/ > > > On Fri, Mar 28, 2008 at 9:33 PM, Mark Bush <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > wrote: > > > > gokul murthy wrote: > > > > In one of my Rails web application, i need to create images with dynamic > > > > text. I found the solution for this task in PHP. But i need the same > > > > processes to do in Rails. Below is the URL which i found the solution in > > > > PHP > > > > I''ve used RMagick with great success: > > > >http://rmagick.rubyforge.org/ > > > > -- > > > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---