Check whether you have mad an debug or echo statement in your code

On Tue, Jul 21, 2009 at 1:32 AM, Dave Maharaj :: WidePixels.com <
[email protected]> wrote:

>  Ok,
>
> thanks for the tip. Will check it out.
>
> Dave
>
>  ------------------------------
> *From:* Pablo Viojo [mailto:[email protected]]
> *Sent:* July-20-09 5:07 PM
>
> *To:* [email protected]
> *Subject:* Re: Cannot modify header information
>
> Now what?
> Try looking at /cake/basics.php:108 ... I found it belongs to function
> debug(), so maybe you're using debug(...) previously?
>
> Take a look at your code.
>
> Saludos,
>
> Pablo Viojo
> [email protected]
> http://pviojo.net
> (#340 y creciendo!)
>
> ------------------------------------------------------------
> Ayudar nos hace felices!
> http://needish.com  - http://helperman.org
>
>
>
> On Mon, Jul 20, 2009 at 3:24 PM, Dave Maharaj :: WidePixels.com <
> [email protected]> wrote:
>
>>
>> Yes.....
>>
>> Cannot modify header information - headers already sent by (output started
>> at /cake/basics.php:108) [CORE/cake/libs/controller/controller.php, line
>> 640]
>>
>> Now what?
>>
>>
>> ________________________________
>>
>> From: Pablo Viojo [mailto:[email protected]]
>> Sent: July-20-09 4:39 PM
>> To: [email protected]
>> Subject: Re: Cannot modify header information
>>
>>
>> Normally that error comes with something like:
>>
>> Warning (2): Cannot modify header information - headers already sent by
>> (output started at file:line)
>>
>> Regards,
>>
>> Pablo Viojo
>> [email protected]
>> http://pviojo.net
>> (#340 y creciendo!)
>>
>> ------------------------------------------------------------
>> Ayudar nos hace felices!
>> http://needish.com  - http://helperman.org
>>
>>
>>
>>
>> On Mon, Jul 20, 2009 at 2:54 PM, Dave Maharaj :: WidePixels.com
>> <[email protected]> wrote:
>>
>>
>>
>>        I have debug = 2 and I get
>>        Cannot modify header information
>>
>>        turn debug to 0 and it works the way i want. Doing a redirect after
>> login to
>>        redirect a user to appropriate area.
>>        No white space after closing ?>
>>        $this->Auth->autoRedirect = false;
>>
>>        Ideas why this may be happeining?
>>
>>        Dave
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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