Thanks, not sure what it was, just re-baked the controller and its working.
Jas On Oct 9, 7:16 pm, "Dr. Loboto" <[email protected]> wrote: > Check for whitespace before <?php or after ?> tags in problem > controller/model files. > > On Oct 9, 11:45 am, Jas <[email protected]> wrote: > > > I have an uploads controller to handle files and it works well apart > > from these two methods: > > > $this->redirect(array('controller'=>'records','action'=>'view',$this->data['Upload']['record_id'])); > > > Gives me a headers already sent error > > > and > > > debug($this->Session->read()) > > returns nothing > > > They both work in other controllers, I just cant see a difference > > anywhere apart from there not being any views for Uploads, the models > > look fine. > > > Jas > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
