Hi

You shouldn't echo anything before the redirect call.

Check line 46 in C:\xampp\htdocs\cake_1.3-dev\app\app_controller.php

Maybe you have there an echo or something like this:

?> something, even some space <?php

On 16 oct, 16:57, fixzzle <[email protected]> wrote:
> hi, when i try to do a redirect with this:
>
> $this->redirect(array('controller'=>'posts','action'=>'view'));
> I obtain the next error:
>
> Cannot modify header information - headers already sent by (output
> started at C:\xampp\htdocs\cake_1.3-dev\app\app_controller.php:46)
> [CORE\cake\libs\controller\controller.php, line 691]
>
> Somebody can help me? thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to