unless you already know what you're looking for because, frankly,
there's not likely to be anything in there of use--or, at least, easy
to spot--for the most common debugging situations. Better to put, eg.
debug($this->params) in your controller rather than dump the entire
ball of wax, if you need that kind of info.
On Tue, Mar 3, 2009 at 8:09 PM, Spatical <spatical@gmail.com> wrote:
>
> I am getting the following error when trying to access a couple of my
> models:
>
> Fatal error: Allowed memory size of .... \cake\basics.php on line
> 209.
>
>
> It is interesting that it only occurs on a few of my models. It
> occurs as part of the controller dump (when debugging is set to 3).
> My quick fix is to simply turn debugging down a notch (2). And I no
> longer had the problem.
>
> My PHP memory limits are set to 128MB, so I guess for some reason this
> very basic controller had some sort of recursive thing in it or
> something. The controller, model, and view are all just freshly baked
> with the only change to the controller being the addition of this in
> the beforeFilter:
> parent::beforeFilter();
> $this->Auth->allowedActions = array('*');
>
>
> Here are some other threads that appeared to have a similar problem.
>
> http://groups.google.com/group/cake-php/browse_thread/thread/4272f53daa52ddf6/19fcac150e93b7e1?lnk=gst&q=fatal+error+allowed+memory+size+exhausted+controller+dump#19fcac150e93b7e1
>
> http://groups.google.com/group/cake-php/browse_thread/thread/f5742ea843f84ec9/d93c1eb1bb815aae?lnk=gst&q=fatal+error+allowed+memory+size+exhausted+controller+dump#d93c1eb1bb815aae
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment