Ok, so this is a weird one. Working on a simple install at the moment, using the following (common) modules of note: OG, CTools, Views - I am using others but I'm not listing them because they are mostly core.

Originally, as I mentioned in IRC, I thought this might be Views specific. But further inspection has revealed it is regardless of Views being enabled or not so here we are in the relation queue. :)

Enable the relation module, which never finishes enabling because it hits a memory timeout, and browse to any page and you get this: Fatal error: Maximum function nesting level of '100' reached, aborting! in /Users/kennys/Sites/legacy/docroot/includes/bootstrap.inc on line 3157

First of all, the call stack when Views was turned on: http://codepad.org/1b9QCNRJ
And when it is turned off: http://codepad.org/NwdfZ9ZU

So far, the common denominator to this problem is CTools

The only way to recover the site is to do the following:

  • Disable relation through the database: drush sql-query "UPDATE system SET status = 0 WHERE name LIKE 'relation%';"
  • Truncate all cache* tables

I am more than happy to help with this problem; truthfully I just don't know where exactly to start.

Comments

webkenny’s picture

Ok, on a fresh install with just relation and CTools we've got it enabling just fine. So my suspicion is relation has problems being installed late, perhaps after fields are created. Continuing to investigate. For reference, these are the enabled modules on the "broken" endless loop install: http://codepad.org/7PdkCebi

webkenny’s picture

Project: Relation » Universally Unique IDentifier
Issue summary: View changes

Changing paste bin to code pad. Down with ADS!

webkenny’s picture

Project: Universally Unique IDentifier » Relation

Even more information. For some odd reason, this all blows up during the enable process. And on a line which has no executing PHP in system.install of all files. I am so lost. Heh.

PHP Fatal error:  Allowed memory size of 310378496 bytes exhausted (tried to allocate 4 bytes) in /Users/kennys/Sites/legacy/docroot/modules/system/system.install on line 1423
Drush command terminated abnormally due to an unrecoverable error.                                              [error]
Error: Allowed memory size of 310378496 bytes exhausted (tried to allocate 4 bytes) in
/Users/kennys/Sites/legacy/docroot/modules/system/system.install, line 1423
webkenny’s picture

Title: Fatal Error: Maximum nesting level reached when enabled » Fatal Error: Maximum nesting level reached when Relation is enabled alongside UUID
Project: Relation » Universally Unique IDentifier
Version: 7.x-1.0-beta3 » 7.x-1.0-alpha2
Priority: Major » Critical

Moving this out of this queue since it's clearly a problem with UUID. When that module is disabled, this error disappears and all is well.

skwashd’s picture

Status: Active » Closed (works as designed)

As per the error message, this is a problem with your xdebug config. You need to increase the permitted nesting level.

webkenny’s picture

Yeah. I ran into this separately on another issue. Thanks.

webkenny’s picture

Issue summary: View changes

Adding information about the memory timeout during install.