When using the Auth component with CakePHP, I keep ketting this error. Why?
Posted
by Josh Brown
on Stack Overflow
See other posts from Stack Overflow
or by Josh Brown
Published on 2010-03-27T16:37:25Z
Indexed on
2010/03/27
16:43 UTC
Read the original article
Hit count: 216
Warning (2): Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/iframeworking/iframe/app/models/frame.php:7) [COREcake/libs/controller/controller.php, line 647]
here is the code from frame.php:
<?php
class Frame extends AppModel
{
var $name = 'Frame';
var $belongsTo = array('User' => array('className' => 'User', 'dependent' => true));
}
?>
© Stack Overflow or respective owner