Damn, you beat me too it. :-p

There are two ways you can tell if it's a nasty white space:

1. Look at your source code. If there is a space or new line before
your dtd/html tag, then you know it's your problem. Just make sure
your layout template doesn't contain that space so you know it's not
your layout template.

2. use cakephp to generate an image like a thumbnail or something
(preferably small). If it doesn't show up, look at the source (ff
should let you). If there is a space or new line at the top, it's
definitely a space/newline issue.

As far as tracking down that space, it can be a real bitch with
cakephp even if you know the order of the files being included/
executed.

On Sep 4, 3:04 pm, Nelson Cysneros <[EMAIL PROTECTED]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to