THE PROBLEM IS THAT U A PRINTINT SOMETHING IN THE ACTION WHERE YOU A REDIRECTO 
TO OTHER  ACTION, MAYBE YOU A PRINTING AN ARRAY O AN ALERT WITH JAVASCRIPT, 
WHEN U WANT TO REDIRECT TO OTHER ACTION U CAN NOT PRINTING ANYTHING, I HAVE 
TASTED IT

From: [email protected]
Date: Tue, 17 Aug 2010 17:10:51 +0530
Subject: Re: Warning (2): Cannot modify header information - headers already 
sent by
To: [email protected]

Comment all print and echo in your script. Kind Regards


Vikas.R.Hanagodimath



On Tue, Aug 17, 2010 at 04:47, milos <[email protected]> wrote:



I have just descovered something very important. My controller was working just 
fine with all redirect etc. After I changed the controller file to utf8 and 
whenever I had a redirect or session command it gave me information already 
send by my controller file.

It is because I change it to utf8. I changed it back to ansi and it was all ok.
It is very hard to see this error because part of controller does work. 
Probably when notepad++ changed my file to ut8 it added some chars which are 
not readable to us, but are to the server.

Check this when you get an error



View this message in context: Re: Warning (2): Cannot modify header information 
- headers already  sent by



Sent from the CakePHP mailing list archive at Nabble.com.





Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

 

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









Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

 

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
                                          

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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