On Apr 10, 1:04 pm, Ayman Bedair <[email protected]> wrote:
> Got this error when I installed the profiler
>
> ( ! ) Fatal error: Maximum function nesting level of '100' reached,
> aborting! in C:\AppServ\www\test\memphis_erp\cake\libs\folder.php on
> line 239

Ayman,

Xdebug isn't just a profiler. One of the things it does is prevent
loops by imposing a max nesting level.
http://xdebug.org/docs/basic

Although hitting this limit (immediately) most likely hints at part of
the cause of your problems - why don't you just increase the limit (to
say 200) so you can get a profile - since your app "worked" before you
obviously don't have an infinite loop in your code - you've simply got
a very-nested loop in your code. And are currently getting distracted
by a relevant - but not immediately so - detail.

Hower, here's what you stack trace tells me:

> 2       4.7698  3677016 Dispatcher->dispatch( )      ..\index.php:88

It took 4.7 seconds to get to line 88 of index.php.
http://github.com/cakephp/cakephp1x/blob/master/app/webroot/index.php#L88
That's ALOT of time - and isn't dependent on your app code. it means
you have some kind of setup problem.

> 89      8.6338  11936400        Model->schema( )     ..\model.php:753

It took a further 4 seconds before not-completing instantiating your
model network. That's also a looong time.

When you finally get a profile - you'll know more details where to
look.

hth,

AD
PS Use real names, and real (abbreviated where possible) code. You
don't help anyone pasting erroneous made up code

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to