[Top] [All Lists]

Re: action redirect not working

Subject: Re: action redirect not working
From: cricket
Date: Wed, 17 Nov 2010 23:02:59 -0500
On Wed, Nov 17, 2010 at 10:17 PM, Briko03 <nathanrlarkin@xxxxxxxxx> wrote:
> I dont have a line 746 anywhere.....

>From the error msg. But it's in Cake's Controller code. Probably the
redirect() method, so not likely to tell you much.

You probably have whitespace after the closing php tag (?>) in a file
somewhere. That seems to be the top reason for the "headers already
sent" error in any PHP script. Start with your controller file.

FYI, you can leave off the ?> from your scripts and PHP will handle it
fine. And you won't see this error (at least, not for this reason).

Check out the new CakePHP Questions site 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 cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at

<Prev in Thread] Current Thread [Next in Thread>