No it's not working, and upload is not redirecting back to index, i suspect is there anything todo with routes?
On Fri, Nov 13, 2009 at 10:09 PM, wfisk <william.f...@gmail.com> wrote: > It sounds like its trying to redirect to the same url. > > Try > $this->redirect('/files/upload'); > > Or is it possible that upload() is redirecting back to '/files/index'? > > On Nov 13, 9:49 am, "[ ramesh ]" <ramesh...@gmail.com> wrote: > > Hi John, > > > > function index() { > > //$this->pageTitle('BetterApps ยป '); > > $this->redirect ( array ('action' => 'upload' ) ); > > } > > > > function upload() { > > $this->pageTitle = 'Upload'; > > $this->set ( 'uuid', uniqid () ); > > } > > > > when i type files/index i am getting the error message > > > > On Thu, Nov 12, 2009 at 10:52 PM, John Andersen <j.andersen...@gmail.com > >wrote: > > > > > > > > > Please show the code that handles the first action together with the > > > redirect statement, so that we may better be able to help you. > > > Enjoy, > > > John > > > > > On Nov 12, 7:04 pm, "[ ramesh ]" <ramesh...@gmail.com> wrote: > > > > Hi, > > > > > > i am getting started with cakephp, my application has one > controller > > > and > > > > 3 actions, submitting a form on first action takes user to second > action > > > and > > > > finally third action. after submitting the first form firefox is > showing > > > > this message - "The page isn't redirecting properly", i have tried > google > > > > but in vain. could you help me > > > > > > the full error is > > > > > > The page isn't redirecting properly > > > > > > Firefox has detected that the server is redirecting the request for > this > > > > address in a way that will never complete. > > > > > > Thanks > > > > /Ramesh Sakibanda/ > > > > > -- > > > > > You received this message because you are subscribed to the Google > Groups > > > "CakePHP" group. > > > To post to this group, send email to cake-...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com> > <cake-php%2bunsubscr...@googlegroups.com<cake-php%252bunsubscr...@googlegroups.com> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/cake-php?hl=. > > > > -- > > /Ramesh Sakibanda/ > > -- > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-...@googlegroups.com. > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/cake-php?hl=. > > > -- /Ramesh Sakibanda/ -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-...@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cake-php?hl=.