I have a problem with drupal projects. In general there are two drupal installations: one is foo.com and other installation in foo.com/bar. So there is two admin panels and two databases.
My task is to merge these projects (only one drupal installation and one admin panel). I have moved all modules from foo.com/bar/sites/all into to foo.com/sites/all (except one - entity.module). I have created page for foo.com/new_bar to act as foo.com/bar. Now I'm facing huge problem. When I go to foo.com/new_bar without that entity module everything is ok. But foo.com/bar needs this module. When I try to add entity.module to project I get error.
Fatal error: Maximum function nesting level of '1000' reached, aborting! When xdebug.max_nesting_level is increased I get 101 response code (ERR_CONNECTION_RESET)
Without entity module I can access admin panel / site, but when I add this module to modules folder I get error.