Di,
Make sure you don't have any white spaces after your model's or
controller's closing bracket. If you do remove it and see if that
fixes it.
Regards
On Sep 4, 2:04 pm, Dianne van Dulken <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was wondering if anyone had come across this before. I'm having a
> major problem with memory leakage. It seems to be related to a
> header already set and thus cannot send session_start warning that i
> get.
>
> The warning is below (and also the memory leak)
>
> 7. at end of cakephp findAll id: configuration : we're using (in
> bytes): 4892936
>
> Warning (2): session_start() [function.session-start]: Cannot send
> session cache limiter - headers already sent (output started at D:\www
> \cake_1.2.x.x\cake\libs\model\model.php:1498) [CORE\cake\libs
> \session.php, line 155]
>
> Context | Code
> $this->__initSession();
> session_cache_limiter ("must-revalidate");
> session_start();
> header ('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP
> IND DEM"');
> session_start - [internal], line ??
> CakeSession::__construct() - CORE\cake\libs\session.php, line 155
> SessionComponent::__construct() - CORE\cake\libs\controller\components
> \session.php, line 54
> Component::_loadComponents() - CORE\cake\libs\controller
> \component.php, line 132
> Component::init() - CORE\cake\libs\controller\component.php, line 66
> Controller::_initComponents() - CORE\cake\libs\controller
> \controller.php, line 319
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 230
> [main] - APP\webroot\index.php, line 84
>
> Warning (2): Cannot modify header information - headers already sent
> by (output started at D:\www\cake_1.2.x.x\cake\libs\model\model.php:
> 1498) [CORE\cake\libs\session.php, line 156]
>
> Context | Code
>
> $this->__initSession();
> session_cache_limiter ("must-revalidate");
> session_start();
> header ('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP
> IND DEM"');
> $this->__checkValid();
> header - [internal], line ??
> CakeSession::__construct() - CORE\cake\libs\session.php, line 156
> SessionComponent::__construct() - CORE\cake\libs\controller\components
> \session.php, line 54
> Component::_loadComponents() - CORE\cake\libs\controller
> \component.php, line 132
> Component::init() - CORE\cake\libs\controller\component.php, line 66
> Controller::_initComponents() - CORE\cake\libs\controller
> \controller.php, line 319
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 230
> [main] - APP\webroot\index.php, line 84
>
> 1. Within cakephp findAll id: position : we're using (in bytes):
> 8085512
>
> I'm not sure what I should be doing as the errors seem to be within
> the core cake functionality.
>
> Has anyone come across this before, and if so, how did they fix it?
>
> Thanks
>
> Di
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---