Install problem with 3.4 - PHP error due to function nesting

Author Message

John Dalton

Wednesday 02 June 2004 10:55:49 pm

Hi,

I've just installed 3.4.0 on a development box to take a look at it. The installation seemed to proceed ok, but I had problems when trying to access the site.

The admin site exceeded the default 30 second time limit, so I reloaded it a couple of times just to see if it was making progress and it eventually came up. I'm not too worried about the as the development box isn't very powerful, and the fact that it got there at all in the end is impressive. I can navigate around in there and it seems to be running just fine.

However I can't get the user site to come up at all. When I try I get the following error messages:

Fatal error: Maximum function nesting level of '64' reached, aborting! in /home/jrdalton/workdir/ezpublish/ezpublish-3.4.0/lib/eztemplate/classes/eztemplatecompiler.php on line 1345

Fatal error: Maximum function nesting level of '64' reached, aborting! in Unknown on line 0

Fatal error: Maximum function nesting level of '64' reached, aborting! in Unknown on line 0

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

I'm running the XDebug PHP extension (http://www.xdebug.org/) so I get a nice function stack trace after each of those errors (the same every time) which I can reproduce here on request.

Has anybody else run across this problem?

Any idea how I can fix it?

Jan Borsodi

Thursday 03 June 2004 12:19:14 am

You need to increase the maximum nesting setting for XDebug, eZ publish has lots of function nesting especially when doing things like template compiling.

Edit php.ini and add (or change) xdebug.max_nesting_level, setting it to 100 should make it work.

xdebug.max_nesting_level = 100

You can also turn off XDebug until the site is finished compiling, then turn it on to debug things.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

John Dalton

Thursday 03 June 2004 4:33:57 pm

Thanks, that did the trick. I should have thought to try it without XDebug first..

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.