Yes, I know, that something must send some stuff...but it is not my
code.
I already searched through my project. I am a little bit confused,
because the error message comes from the controller.php method
header().
On Jun 23, 4:00 pm, leo <[EMAIL PROTECTED]> wrote:
> Something has already set the headers ;)
> Try searching your code for echos, debugs, prints etc.
> Failing that, look for something else that sends headers! It can be a
> bit of a blighter to find.
>
> On 23 Juny, 15:53, killerboy <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have a strange headers already send error. I try to redirect via
> > $this->redirect($url), but I do get this error everytime I try:
>
> > Cannot modify header information - headers already sent by (output
> > started at C:\Dokumente und Einstellungen\User\Zend\workspaces
> > \DefaultWorkspace\TrackIt\app\models\action.php:8) [CORE\cake\libs
> > \controller\controller.php, line 576
>
> > The line 8 in my model Action is the last line of the model (the
> > bracket):
>
> > class Action extends AppModel {
> > var $name = 'Action';
> > var $belongsTo = array('Keyword', 'Unique');
>
> > }
>
> > And here is line 576 of controller.php. This is a undocumented
> > function of the controller.php:
>
> > function header($status) {
> > header($status);
>
> > }
>
> > I've tried to remove the belongsTo association, but still the same
> > error. I tried now for 1 1/2 hours to solve this issue. Has anybody an
> > idea?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---