Initially, I had a print statement before the redirect left over from when I was tracing the code path down to the header() call. After commenting out all print statements except the one in index(), I still don't successfully redirect. That print statement shouldn't be called until after the redirect has occurred. So unless you can explain why any output from index() would have an affect on the redirect, I think we can do without the condescending tone. Thanks
On Tuesday, March 20, 2012 3:22:36 AM UTC-4, AD7six wrote:
--
On Tuesday, 20 March 2012 02:41:51 UTC+1, glevine wrote:@thatsgreat2345 That was just a typo.
Commenting out the print statements in the change method has no effect. I never see the "in the index" print statement and the browser simply shows a blank page with a couple of warnings about changing the salt and cipherSeed.Read this aloud "You can not send output to the webpage and then redirect."AD
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment