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

Reply via email to