1. believe I have a clean Drupal 7.2 site - i.e. no known problems
2. installed civiCRM 4.0.4 (with 4.0.3 could not even get to the checklist)
3. now I get random abends with the worst highlighted.
I posted this on the civiCRM site, but Lobo suggested this is a Drupal problem ?
Question: Is there an option to set that would increase nesting or would that just prolong the abend ?
> When I install civiCRM 4.0.4 into a clean Drupal 7.2 site (detailed module list to follow) and clear cache I get the following
> ( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\includes\bootstrap.inc on line 135
> Call Stack
> # Time Memory Function Location
> 1 0.0012 676112 {main}( ) ..\index.php:0
> 2 1.1657 43611016 menu_execute_active_handler( ) ..\index.php:22
> 3 1.1661 43612528 call_user_func_array ( ) ..\menu.inc:503
> 4 1.1661 43612768 node_page_default( ) ..\menu.inc:0
> 5 1.4764 44360608 drupal_add_feed( ) ..\node.module:2549
> 6 1.4765 44361680 theme( ) ..\common.inc:358
> 7 1.4765 44361680 theme_get_registry( ) ..\theme.inc:763
> 8 1.4765 44361728 call_user_func_array ( ) ..\theme.inc:248
> 9 1.4765 44362216 _theme_load_registry( ) ..\theme.inc:0
> 10 1.4771 44362264 _theme_build_registry( ) ..\theme.inc:289
> 11 2.4236 58536856 _theme_process_registry( ) ..\theme.inc:530
> 12 2.4236 58574552 views_theme( ) ..\theme.inc:384
> 13 2.4243 58581256 views_fetch_plugin_data( ) ..\views.module:90
> 14 2.4253 58620608 _views_fetch_plugin_data( ) ..\views.module:1156
> 15 2.4812 62131064 views_discover_plugins( ) ..\cache.inc:75
> 16 2.4825 62158816 entity_views_plugins( ) ..\plugins.inc:388
> 17 2.4825 62158816 views_fetch_data( ) ..\entity.views.inc:37
> 18 2.4825 62158960 _views_fetch_data( ) ..\views.module:1145
> 19 2.4859 62159648 module_invoke_all( ) ..\cache.inc:30
> 20 2.4868 62227128 call_user_func_array ( ) ..\module.inc:819
> 21 2.4868 62227368 civicrm_views_data( ) ..\module.inc:0
> 22 3.1394 85116632 l( ) ..\civicrm.views.inc:919
> 23 3.1394 85117368 theme_get_registry( ) ..\common.inc:2335
> 24 3.1394 85117416 call_user_func_array ( ) ..\theme.inc:248
> 25 3.1394 85117904 _theme_load_registry( ) ..\theme.inc:0
> 26 3.1400 85117952 _theme_build_registry( ) ..\theme.inc:289
> 27 3.5222 85862488 _theme_process_registry( ) ..\theme.inc:530
> 28 3.5222 85900184 views_theme( ) ..\theme.inc:384
> 29 3.5229 85906912 views_fetch_plugin_data( ) ..\views.module:90
> 30 3.5229 85907056 _views_fetch_plugin_data( ) ..\views.module:1156
> 31 3.5229 85907104 views_discover_plugins( ) ..\cache.inc:75
> 32 3.5243 85932824 entity_views_plugins( ) ..\plugins.inc:388
> 33 3.5243 85932824 views_fetch_data( ) ..\entity.views.inc:37
> 34 3.5243 85932968 _views_fetch_data( ) ..\views.module:1145
> 35 3.5251 85933144 module_invoke_all( ) ..\cache.inc:30
> 36 3.5257 85997512 call_user_func_array ( ) ..\module.inc:819
> 37 3.5257 85997752 civicrm_views_data( ) ..\module.inc:0
> 38 3.5325 86174768 l( ) ..\civicrm.views.inc:919
> 39 3.5325 86175504 theme_get_registry( ) ..\common.inc:2335
> 40 3.5325 86175552 call_user_func_array ( ) ..\theme.inc:248
> 41 3.5325 86176040 _theme_load_registry( ) ..\theme.inc:0
> 42 3.5331 86176088 _theme_build_registry( ) ..\theme.inc:289
> 43 3.9435 86920680 _theme_process_registry( ) ..\theme.inc:530
> 44 3.9435 86958376 views_theme( ) ..\theme.inc:384
> 45 3.9443 86965104 views_fetch_plugin_data( ) ..\views.module:90
> 46 3.9443 86965248 _views_fetch_plugin_data( ) ..\views.module:1156
> 47 3.9443 86965296 views_discover_plugins( ) ..\cache.inc:75
> 48 3.9458 86991016 entity_views_plugins( ) ..\plugins.inc:388
> 49 3.9458 86991016 views_fetch_data( ) ..\entity.views.inc:37
> 50 3.9458 86991160 _views_fetch_data( ) ..\views.module:1145
> 51 3.9465 86991336 module_invoke_all( ) ..\cache.inc:30
> 52 3.9473 87055704 call_user_func_array ( ) ..\module.inc:819
> 53 3.9473 87055944 civicrm_views_data( ) ..\module.inc:0
> 54 3.9558 87232960 l( ) ..\civicrm.views.inc:919
> 55 3.9559 87233696 theme_get_registry( ) ..\common.inc:2335
> 56 3.9559 87233744 call_user_func_array ( ) ..\theme.inc:248
> 57 3.9559 87234232 _theme_load_registry( ) ..\theme.inc:0
> 58 3.9566 87234280 _theme_build_registry( ) ..\theme.inc:289
> 59 4.3664 87978840 _theme_process_registry( ) ..\theme.inc:530
> 60 4.3664 88016536 views_theme( ) ..\theme.inc:384
> 61 4.3669 88023264 views_fetch_plugin_data( ) ..\views.module:90
> 62 4.3669 88023408 _views_fetch_plugin_data( ) ..\views.module:1156
> 63 4.3669 88023456 views_discover_plugins( ) ..\cache.inc:75
> 64 4.3679 88049176 entity_views_plugins( ) ..\plugins.inc:388
> 65 4.3679 88049176 views_fetch_data( ) ..\entity.views.inc:37
> 66 4.3679 88049320 _views_fetch_data( ) ..\views.module:1145
> 67 4.3685 88049496 module_invoke_all( ) ..\cache.inc:30
> 68 4.3691 88113864 call_user_func_array ( ) ..\module.inc:819
> 69 4.3691 88114104 civicrm_views_data( ) ..\module.inc:0
> 70 4.3756 88814936 l( ) ..\civicrm.views.inc:919
> 71 4.3756 88815672 theme_get_registry( ) ..\common.inc:2335
> 72 4.3756 88815720 call_user_func_array ( ) ..\theme.inc:248
> 73 4.3757 88816208 _theme_load_registry( ) ..\theme.inc:0
> 74 4.3762 88816256 _theme_build_registry( ) ..\theme.inc:289
> 75 4.7509 89560832 _theme_process_registry( ) ..\theme.inc:530
> 76 4.7510 89598528 views_theme( ) ..\theme.inc:384
> 77 4.7515 89605256 views_fetch_plugin_data( ) ..\views.module:90
> 78 4.7515 89605400 _views_fetch_plugin_data( ) ..\views.module:1156
> 79 4.7515 89605448 views_discover_plugins( ) ..\cache.inc:75
> 80 4.7525 89631176 entity_views_plugins( ) ..\plugins.inc:388
> 81 4.7525 89631176 views_fetch_data( ) ..\entity.views.inc:37
> 82 4.7526 89631320 _views_fetch_data( ) ..\views.module:1145
> 83 4.7533 89631496 module_invoke_all( ) ..\cache.inc:30
> 84 4.7538 89695864 call_user_func_array ( ) ..\module.inc:819
> 85 4.7538 89696104 civicrm_views_data( ) ..\module.inc:0
> 86 4.7602 89873120 l( ) ..\civicrm.views.inc:919
> 87 4.7602 89873856 theme_get_registry( ) ..\common.inc:2335
> 88 4.7602 89873904 call_user_func_array ( ) ..\theme.inc:248
> 89 4.7602 89874392 _theme_load_registry( ) ..\theme.inc:0
> 90 4.7608 89874440 _theme_build_registry( ) ..\theme.inc:289
> 91 5.1747 90619008 _theme_process_registry( ) ..\theme.inc:530
> 92 5.1747 90656704 views_theme( ) ..\theme.inc:384
> 93 5.1755 90663432 views_fetch_plugin_data( ) ..\views.module:90
> 94 5.1755 90663576 _views_fetch_plugin_data( ) ..\views.module:1156
> 95 5.1755 90663624 views_discover_plugins( ) ..\cache.inc:75
> 96 5.1769 90689344 entity_views_plugins( ) ..\plugins.inc:388
> 97 5.1769 90689344 views_fetch_data( ) ..\entity.views.inc:37
> 98 5.1769 90689488 _views_fetch_data( ) ..\views.module:1145
> 99 5.1769 90689664 views_cache_get( ) ..\cache.inc:23
> __________________________________________________________________________________________________________________________
> Drupal 7.2 Installation: (attached pdf too - easier to read)
> Drupal core
> Up to date
> Drupal core 7.2
> Includes:
> Enabled: Aggregator, Bartik, Block, Blog, Book, Color, Comment, Contact, Content translation, Contextual links,
> Dashboard, Database logging, Field, Field SQL storage, Field UI, File, Filter, Forum, Garland, Help, Image,
> List, Locale, Menu, Node, Number, OpenID, Options, Overlay, PHP filter, Path, Poll, RDF, Search, Seven,
> Shortcut, Stark, Statistics, Syslog, System, Taxonomy, Text, Toolbar, Tracker, Trigger, Update manager, User
> Disabled: Testing
> Modules
> Up to date
> Administration menu 7.x-3.x-dev (2011-May-05)
> Recommended version: 7.x-3.0-rc1 (2011-Jan-06)
> Download
> Release notes
> Includes: Administration Development tools, Administration menu, Administration menu Toolbar style,
> Administration views
> Up to date
> Advanced help 7.x-1.0-beta1
> Includes: Advanced help, Advanced help example
> Up to date
> Backup and Migrate 7.x-2.1 Includes: Backup and Migrate
> Up to date
> Chaos tool suite 7.x-1.0-beta1
> Includes: Bulk Export, Chaos Tools (CTools) AJAX Example, Chaos Tools (CTools) Plugin Example, Chaos
> tools, Custom content panes, Custom rulesets, Page manager, Stylizer, Views content panes
> Up to date
> Context 7.x-3.0-beta1
> Includes: Context, Context UI, Context layouts
> Up to date
> Context Rules 7.x-1.x-dev (2011-Feb-26)
> Includes: Context Rules
> Up to date
> Date 7.x-2.0-alpha3
> Includes: Date, Date API, Date Popup, Date Repeat API, Date Tools, Date Views
> Up to date
> Devel 7.x-1.0
> Includes:
> Enabled: Devel, Devel generate, Performance Logging
> Disabled: Devel node access
> Up to date
> Email Field 7.x-1.0-beta1
> Includes: Email
> Up to date
> Entity API 7.x-1.0-beta9
> Includes: Entity API, Entity tokens
> Up to date
> Features 7.x-1.0-beta3
> Includes: Features
> Up to date
> Nice Menus 7.x-2.0-beta3
> Includes: Nice Menus
> Up to date
> Options Element 7.x-1.4
> Includes: Options element
> Up to date
> Panels 7.x-3.0-alpha3
> Includes: Mini panels, Panel nodes, Panels, Panels In-Place Editor
> Up to date
> Pathauto 7.x-1.0-rc2
> Includes: Pathauto
> Up to date
> Profile 2 7.x-1.0-beta4
> Includes:
> Enabled: Profile2, Profile2 pages
> Disabled: Profile2 group access
> Up to date
> Rules 7.x-2.0-beta2
> Includes: Rules, Rules Scheduler, Rules UI
> Up to date
> Select (or other) 7.x-2.0
> Includes: Select (or other)
> Up to date
> Token 7.x-1.0-beta2
> Includes: Token
> Up to date
> Views 7.x-3.0-rc1
> Includes: Views, Views UI
> Up to date
> Views Bulk Operations (VBO) 7.x-3.0-alpha3
> Includes: Actions permissions, Views Bulk Operations
> Up to date
> Views System 7.x-3.0-rc2
> Includes: Views System
> Themes
> Up to date
> Abessive 7.x-1.3
> Includes: Abessive
> Up to date
> AdaptiveTheme 7.x-1.0
> Includes: AT Admin, AT Core, AT Subtheme
> Depends on: AT Core
> Up to date
> Administration theme 7.x-1.0
> Includes: Administration theme
> Up to date
> Austin Zen Sub Theme 7.x-3.x-dev (2011-Feb-25)
> Includes: Austin
> Depends on: Zen
> Up to date
> Easy Breeze 7.x-3.0-rc1
> Includes: Easy Breeze
> Depends on: Zen
> Up to date
> Pixture Reloaded 7.x-1.0
> Includes: Pixture Reloaded
> Depends on: AT Core
> Up to date
> Tarski 7.x-1.8
> Includes: Tarski
> Up to date
> Typebased 7.x-1.8
> Includes: Typebased
> Up to date
> Zen 7.x-5.x-dev (2011-Jun-24)
> Includes: Zen
> Disabled modules
> Up to date
> Facebook Connect 7.x-2.x-dev (2011-Mar-16)
> Includes: FBConnect Test, Facebook Friends Invite, Facebook Stream Publish, Fbconnect
> Up to date
> Google Analytics 7.x-1.2
> Includes: Google Analytics
> Up to date
> Libraries API 7.x-1.0
> Includes: Libraries
> Up to date
> Logging and alerts 7.x-1.x-dev (2011-Mar-29)
> Includes: Email logging and alerts, Watchdog Rules, Watchdog Triggers, Web server logging and alerts
> Up to date
> Organic groups 7.x-1.1-rc3
> Includes: OG example, Organic groups, Organic groups UI, Organic groups access control, Organic groups
> context, Organic groups field access, Organic groups migrate, Organic groups register
> Up to date
> Wysiwyg 7.x-2.1
> Includes: Wysiwyg
> Disabled themes
> Up to date
> Fusion 7.x-1.0-alpha1
> Includes: Fusion Core, Fusion Starter, Fusion Starter Lite
> Depends on: Fusion Core
| Comment | File | Size | Author |
|---|---|---|---|
| civiCRM 4.0.4 Fatal error max nesting overflow.pdf | 33.33 KB | barbarae | |
| 2011-06-26 Drupal 7.2 installation status.pdf | 24.08 KB | barbarae |
Comments
Comment #1
catchcivicrm_views_data() appears to be calling l(), l() calls theme, this isn't a core bug. Moving to CiviCRM project.
Comment #2
bigjim commentedI'm totally unable to re-create this one. I have a tried on two different installations. Could it be an issue with your theme?
Comment #3
bigjim commentedOkay so I finally did get this, tough oddly it was only after I installed Rules (and it's dep Entity API). In order to get things back online I had to disable Views, Views UI and Rules (never turned Rules Admin on), Entity APi and Entity Token then drush cc all, 2 times, and clear the cache in the Drupal UI under Performance .
After all that I could turn Views back on. At a couple different points while I was kicking the tires I had Rules and Views off but Entity API on and everything was abending. I still had to do everything above (disabeling mods and clearing caches) to get things back on track.
It seems like Entity API and CiviCRM are colliding, but I don't see where in the backtrace. The only call to Entity API in the backtrace is entity_views_plugins( ) ..\plugins.inc:388.
Comment #4
barbarae commentedThank you for working this one !! I am attending Dallas Drupal Days next weekend, and am going to be in EMEA brainstorming open source offerings with a development team in August. Would be good to be able to demo Drupal 7.4 and civiCRM 4.x with confidence. Are any civiCRM 4.x releases void of this problem ?
Comment #5
bigjim commentedDoubtful, i don't think that code in CiviCRM has gone through many changes since the move to 4.0. But to be honest I'm not too familiar with that part of the CiviCRM code base
Comment #6
bigjim commentedIt's fixed in the next version of CiviCRM,
Here's the patch (sorry for the paste), it's to the file at sites/all/modules/civicrm/drupal/mpodules/views/civicrm.views.inc. You can always just download the file with wget from svn.civicrm.org/branches/v4.0/drupal/modules/views/civicrm.views.inc
===================================================================
--- civicrm.views.inc (revision 34901)
+++ civicrm.views.inc (revision 35109)
@@ -916,10 +916,9 @@
);
//Address name
- $link = l(t('In Global Settings'), 'civicrm/admin/setting/preferences/address', array('query' => array('reset=1')));
$data['civicrm_address']['name'] = array(
'title' => t('Address Name'),
- 'help' => t('Be sure addres name is enabled %link', array('%link' => $link)),
+ 'help' => t('Be sure addres name is enabled %link', array('%link' => l(t('In Global Settings'), 'civicrm/admin/setting/preferences/address', array('query' => array('reset=1'))))),
'field' => array(
'handler' => 'views_handler_field',
'click sortable' => TRUE,
Comment #7
barbarae commentedAnother note: I have clean Drupal 7.4 with a "sample-data" loaded civiCRM 4.04 ONLY. i.e. not an upgrade.
____________________________________________________________________________________
Applied the patch and loaded civiCRM 4.0.4 (with patch) to clean 7.0.4 and am still getting errors. Tried flushing cache multiple times and getting the following results:
( ! ) Parse error: syntax error, unexpected $end in C:\wamp\www\sites\all\modules\civicrm\drupal\modules\views\civicrm.views.inc on line 6549
Call Stack
# Time Memory Function Location
1 0.0008 676448 {main}( ) ..\index.php:0
2 0.6107 43682504 menu_execute_active_handler( ) ..\index.php:21
3 0.6113 43684016 call_user_func_array ( ) ..\menu.inc:503
4 0.6113 43684256 node_page_default( ) ..\menu.inc:0
5 0.6470 44432128 drupal_add_feed( ) ..\node.module:2550
6 0.6470 44433200 theme( ) ..\common.inc:358
7 0.6470 44433200 theme_get_registry( ) ..\theme.inc:763
8 0.6470 44433248 call_user_func_array ( ) ..\theme.inc:248
9 0.6470 44433736 _theme_load_registry( ) ..\theme.inc:0
10 0.6475 44433784 _theme_build_registry( ) ..\theme.inc:289
11 1.6488 58613760 _theme_process_registry( ) ..\theme.inc:530
12 1.6488 58651456 views_theme( ) ..\theme.inc:384
13 1.6495 58658160 views_fetch_plugin_data( ) ..\views.module:90
14 1.6505 58697512 _views_fetch_plugin_data( ) ..\views.module:1156
15 1.6541 58961312 views_include_handlers( ) ..\cache.inc:73
16 1.6590 59462936 views_module_include( ) ..\views.module:1045
17 1.6590 59463176 ctools_plugin_api_include( ) ..\views.module:982
Comment #8
barbarae commentedJim - since I am still getting view-related errors, I know it may be abnormal, but perhaps I could zip and send my "wamp" (localhost) folder for you to be able to have the exact same set of code base that I've installed for testing ? I've kept any data to a minimum because I wanted to have Drupal totally clean prior to getting civiCRM 4.x started in earnest. This is my test site so I haven't loaded a big set of "live" data from a prior Drupal 6.x installation. What do you think ? Or is there other data/error messages that I could send that would help ?
Comment #9
bigjim commented@barbarae try replacing the sites/all/modules/civicrm/drupal/mpodules/views/civicrm.views.inc fiel with the one in CiviCRM's svn repo. You can always just download the file with wget from svn.civicrm.org/branches/v4.0/drupal/modules/views/civicrm.views.inc.
I made another change since posting that patch on this forum.
Comment #10
bigjim commentedThis would be the correct patch, basically delete the call to the l() function all together
===================================================================
--- civicrm.views.inc (revision 34901)
+++ civicrm.views.inc (revision 35109)
@@ -916,10 +916,9 @@
);
//Address name
- $link = l(t('In Global Settings'), 'civicrm/admin/setting/preferences/address', array('query' => array('reset=1')));
$data['civicrm_address']['name'] = array(
'title' => t('Address Name'),
- 'help' => t('Be sure addres name is enabled %link', array('%link' => $link)),
+ 'help' => t('Be sure address name is enabled In Global Settings'),
'field' => array(
'handler' => 'views_handler_field',
'click sortable' => TRUE,
Comment #12
paskainos commented#10 works like a charm. Thanks Jim!