I can't see what is causing the problem, but it is a warning rather
than an error. It seems to indicate that the code executed okay, but
the headers had already been sent. If you have copied & pasted the
code, you may have picked up a space after the ?> in p28n.php (I see
by swiping the code that there is one in my fragment).

L

On Jul 28, 7:29 am, Yannis <[email protected]> wrote:
> Hi leop,
>
> Thanks for the code. I've used it but I get the following error:
> Warning (2): Cannot modify header information - headers already sent
> by (output started at .../config/routes.php:49) [CORE/cake/libs/
> controller/components/cookie.php, line 364]
>
> If that rings any bell?!?!
>
> Looks like the line that is causing this is the p28n.php:
> $this->change(($this->Cookie->read('lang') ? $this->Cookie->read
> ('lang') : 'eng'));
>
> Have you had that?
--~--~---------~--~----~------------~-------~--~----~
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