El 07/02/2008, a las 23:43, Micro escribió:
> If I uncomment the $this->redirect(array('action'=>'index')), my
> component works perfectly fine, and i don't get any error. I try to
> comment out the component part, and it works fine. The problem only
> occurs when I use my custom component and has the redirect line. Any
> clue?
Redirect sends headers, and you has just printed a result. You have to
rethink the code.
--
Fran Iglesias
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---