Did you place echos in each deatructor both on enter and exit?

On Mar 13, 2:59 am, Mark Hindley <[email protected]> wrote:
> On Fri, Mar 12, 2010 at 08:24:33AM -0800, Dr. Loboto wrote:
> > If error occurs on shutdown it definitely caused by some destructor.
> > I've looked into all defined by cake core destructors and found some
> > possible dangerous in some cases. All of them write caches and use
> > array_filter($objects_to_save) that may give memory allocation error
> > if $objects_to_save is a large array and memory is not enough.
> > Configure writes objects map, App writes dirs map and files map and
> > I18n writes domains map.
>
> > Also ConnectionManager closes session. Own session handler code may
> > also have dangerous operations. DataSource closes connecton, custom
> > datasource may have dangerous code.
>
> I have been through all of the destructors and put a debugging echo in
> each one. The Fatal error seems to come after they have all run. Does
> that mean it is coming from outside CakePHP? Other php scripts on the
> server run with no error.
>
> Mark

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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