II get this error (below) on a clean D& install, whenever I try to enable Sparql Views (both the dev and the 7.2.alpha3 versions). I saw something like this in connection with Filefile and Mollom, where somebody suggested this ----
"Following solution which I found work:
dmitry dot revenko at businessmedia dot ru 25-Sep-2009 12:28
Just hope this note helps someone (I killed the whole day on issue).
If you use something like this in PHP < 5.3:
call_user_func_array(array($this, 'parent::func'), $args);
Such a script will cause segmentation fault in your webserver.
In 5.3 you should write it:
call_user_func_array('parent::func', $args);
Source: http://php.net/manual/en/function.call-user-func-array.php
http://drupal.org/node/1107770#comment-4425060
I just don't know how to apply this to Sprql Views. Pls help.
( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in ***\includes\bootstrap.inc on line 135
Call Stack
# Time Memory Function Location
1 0.0031 370544 {main}( ) ..\index.php:0
2 0.3786 21299272 menu_execute_active_handler( ) ..\index.php:21
3 0.3791 21300024 call_user_func_array ( ) ..\menu.inc:503
4 0.3792 21300160 node_page_default( ) ..\menu.inc:0
5 0.4028 21537840 drupal_add_feed( ) ..\node.module:2549
6 0.4029 21538744 theme( ) ..\common.inc:358
7 0.4029 21538744 theme_get_registry( ) ..\theme.inc:763
8 0.4029 21538776 call_user_func_array ( ) ..\theme.inc:248
9 0.4029 21539064 _theme_load_registry( ) ..\theme.inc:0
10 0.4038 21539096 _theme_build_registry( ) ..\theme.inc:289
11 1.0709 29812968 _theme_process_registry( ) ..\theme.inc:530
12 1.0709 29826744 views_theme( ) ..\theme.inc:384
13 1.0715 29830784 views_fetch_plugin_data( ) ..\views.module:90
14 1.0732 29859904 _views_fetch_plugin_data( ) ..\views.module:1156
15 1.1170 31319232 views_discover_plugins( ) ..\cache.inc:75
16 1.1176 31328096 entity_views_plugins( ) ..\plugins.inc:388
17 1.1176 31328096 views_fetch_data( ) ..\entity.views.inc:37
18 1.1176 31328192 _views_fetch_data( ) ..\views.module:1145
19 1.1189 31328624 module_invoke_all( ) ..\cache.inc:30
20 1.1373 31799120 call_user_func_array ( ) ..\module.inc:819
21 1.1373 31799256 sparql_views_views_data( ) ..\module.inc:0
22 1.1397 31801008 l( ) ..\sparql_views.views.inc:19
23 1.1397 31801384 theme_get_registry( ) ..\common.inc:2335
24 1.1397 31801416 call_user_func_array ( ) ..\theme.inc:248
25 1.1398 31801704 _theme_load_registry( ) ..\theme.inc:0
26 1.1405 31801736 _theme_build_registry( ) ..\theme.inc:289
27 1.3407 32041240 _theme_process_registry( ) ..\theme.inc:530
28 1.3408 32055016 views_theme( ) ..\theme.inc:384
29 1.3413 32059048 views_fetch_plugin_data( ) ..\views.module:90
30 1.3413 32059144 _views_fetch_plugin_data( ) ..\views.module:1156
31 1.3413 32059176 views_discover_plugins( ) ..\cache.inc:75
32 1.3416 32067168 entity_views_plugins( ) ..\plugins.inc:388
33 1.3416 32067168 views_fetch_data( ) ..\entity.views.inc:37
34 1.3416 32067264 _views_fetch_data( ) ..\views.module:1145
35 1.3429 32067384 module_invoke_all( ) ..\cache.inc:30
36 1.3525 32258976 call_user_func_array ( ) ..\module.inc:819
37 1.3525 32259112 sparql_views_views_data( ) ..\module.inc:0
38 1.3540 32259384 l( ) ..\sparql_views.views.inc:19
39 1.3540 32259760 theme_get_registry( ) ..\common.inc:2335
40 1.3540 32259792 call_user_func_array ( ) ..\theme.inc:248
41 1.3541 32260080 _theme_load_registry( ) ..\theme.inc:0
42 1.3547 32260112 _theme_build_registry( ) ..\theme.inc:289
43 1.5604 32499648 _theme_process_registry( ) ..\theme.inc:530
44 1.5604 32513424 views_theme( ) ..\theme.inc:384
45 1.5610 32517456 views_fetch_plugin_data( ) ..\views.module:90
46 1.5610 32517552 _views_fetch_plugin_data( ) ..\views.module:1156
47 1.5610 32517584 views_discover_plugins( ) ..\cache.inc:75
48 1.5613 32525576 entity_views_plugins( ) ..\plugins.inc:388
49 1.5613 32525576 views_fetch_data( ) ..\entity.views.inc:37
50 1.5613 32525672 _views_fetch_data( ) ..\views.module:1145
51 1.5625 32525792 module_invoke_all( ) ..\cache.inc:30
52 1.5712 32717384 call_user_func_array ( ) ..\module.inc:819
53 1.5712 32717520 sparql_views_views_data( ) ..\module.inc:0
54 1.5730 32717792 l( ) ..\sparql_views.views.inc:19
55 1.5730 32718168 theme_get_registry( ) ..\common.inc:2335
56 1.5730 32718200 call_user_func_array ( ) ..\theme.inc:248
57 1.5730 32718488 _theme_load_registry( ) ..\theme.inc:0
58 1.5739 32718520 _theme_build_registry( ) ..\theme.inc:289
59 1.7737 32958056 _theme_process_registry( ) ..\theme.inc:530
60 1.7738 32971832 views_theme( ) ..\theme.inc:384
61 1.7743 32975864 views_fetch_plugin_data( ) ..\views.module:90
62 1.7743 32975960 _views_fetch_plugin_data( ) ..\views.module:1156
63 1.7744 32975992 views_discover_plugins( ) ..\cache.inc:75
64 1.7746 32983984 entity_views_plugins( ) ..\plugins.inc:388
65 1.7746 32983984 views_fetch_data( ) ..\entity.views.inc:37
66 1.7746 32984080 _views_fetch_data( ) ..\views.module:1145
67 1.7761 32984200 module_invoke_all( ) ..\cache.inc:30
68 1.7846 33175792 call_user_func_array ( ) ..\module.inc:819
69 1.7846 33175928 sparql_views_views_data( ) ..\module.inc:0
70 1.7863 33176200 l( ) ..\sparql_views.views.inc:19
71 1.7863 33176576 theme_get_registry( ) ..\common.inc:2335
72 1.7863 33176608 call_user_func_array ( ) ..\theme.inc:248
73 1.7863 33176896 _theme_load_registry( ) ..\theme.inc:0
74 1.7870 33176928 _theme_build_registry( ) ..\theme.inc:289
75 2.0068 33416464 _theme_process_registry( ) ..\theme.inc:530
76 2.0068 33430240 views_theme( ) ..\theme.inc:384
77 2.0073 33434272 views_fetch_plugin_data( ) ..\views.module:90
78 2.0074 33434368 _views_fetch_plugin_data( ) ..\views.module:1156
79 2.0074 33434400 views_discover_plugins( ) ..\cache.inc:75
80 2.0078 33442392 entity_views_plugins( ) ..\plugins.inc:388
81 2.0078 33442392 views_fetch_data( ) ..\entity.views.inc:37
82 2.0078 33442488 _views_fetch_data( ) ..\views.module:1145
83 2.0092 33442608 module_invoke_all( ) ..\cache.inc:30
84 2.0179 33634200 call_user_func_array ( ) ..\module.inc:819
85 2.0179 33634336 sparql_views_views_data( ) ..\module.inc:0
86 2.0194 33634608 l( ) ..\sparql_views.views.inc:19
87 2.0194 33634984 theme_get_registry( ) ..\common.inc:2335
88 2.0194 33635016 call_user_func_array ( ) ..\theme.inc:248
89 2.0194 33635304 _theme_load_registry( ) ..\theme.inc:0
90 2.0201 33635336 _theme_build_registry( ) ..\theme.inc:289
91 2.2276 33874872 _theme_process_registry( ) ..\theme.inc:530
92 2.2276 33888648 views_theme( ) ..\theme.inc:384
93 2.2282 33892680 views_fetch_plugin_data( ) ..\views.module:90
94 2.2282 33892776 _views_fetch_plugin_data( ) ..\views.module:1156
95 2.2282 33892808 views_discover_plugins( ) ..\cache.inc:75
96 2.2285 33900800 entity_views_plugins( ) ..\plugins.inc:388
97 2.2286 33900800 views_fetch_data( ) ..\entity.views.inc:37
98 2.2286 33900896 _views_fetch_data( ) ..\views.module:1145
99 2.2286 33901016 views_cache_get( ) ..\cache.inc:23
Comments
Comment #1
Anonymous (not verified) commentedI haven't seen this before. There are no direct calls to
call_user_func_arrayin SPARQL Views, so there is no where for the fix you mention to go in SV. It looks like all of thecall_user_func_arraycalls that are in Views module use the prefered call order, so that shouldn't be where the problem is.I'm going to leave this open to see if anyone else can confirm that it happens to them as well. Unfortunately, though, I can't reproduce this and don't readily see what is going wrong, so won't be able to offer support in the near term.
Comment #2
iRex commentedI appreciate your help. With only a passing acquaintance with coding, I have subsequently removed SPARQL Views, flushed the cache, and the error message disappeared. I am not sure where to go from here. Having this module work for me is of critical importance... Once again thanx.
Mosekwa
Comment #3
iRex commentedPartial good news (for me , at least). I managed to enable the module without getting errors. However, I am not quite sure what did the trick - because I had tried to do all these steps without success more than a few times before. So here's what I did:
- before enabling SPARQL Views, I made sure I had RDFx installed/enabled (including the required ARC library).
- set my php.ini max executable time at 600, max input time at 600 (that had not worked for me before - so I did the next step)
-increased max execution time in my settings file \sites\default\settings.php to 900 ----- ini_set('max_execution_time', 900);
- I then installed and enabled the SPARQL Views module
Thats it. Hope this helps
Comment #4
Anonymous (not verified) commentedNice! great detective work, thanks for writing this up, I'll have to test it to figure out how to solve it for other people.
Comment #5
ressaI am also getting the "Fatal error: Maximum function nesting level of '100' reached", even after running
drush pm-enable rdfui views_uiand then
drush pm-enable sparql_viewsI have updated my system using Drush, this is how it looks:
Drupal 7.2
RDFx 7.x-2.0-alpha2
SPARQL API 7.x-2.0-alpha1
Views 7.x-3.0-rc1
SPARQL Views 7.x-2.0-alpha3
Entity API 7.x-1.0-beta9
Chaos tools 7.x-1.0-beta1
The error message:
( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/user/.www/drupal7/includes/database/query.inc on line 970
Call Stack
# Time Memory Function Location
1 0.0002 630264 {main}( ) ../index.php:0
2 0.5350 31567824 menu_execute_active_handler( ) ../index.php:21
3 0.5483 32935760 call_user_func_array ( ) ../menu.inc:503
4 0.5483 32936248 drupal_get_form( ) ../menu.inc:0
5 0.5483 32937448 drupal_build_form( ) ../form.inc:187
6 0.5483 32941336 drupal_retrieve_form( ) ../form.inc:314
7 0.5484 32943440 call_user_func_array ( ) ../form.inc:770
8 0.5484 32944056 system_modules( ) ../form.inc:0
9 0.6713 34799088 module_invoke( ) ../system.admin.inc:831
10 0.6714 34802104 call_user_func_array ( ) ../module.inc:795
11 0.6714 34802720 field_help( ) ../module.inc:0
12 0.6733 34816192 l( ) ../field.module:339
13 0.6734 34817160 theme_get_registry( ) ../common.inc:2335
14 0.6734 34817240 call_user_func_array ( ) ../theme.inc:248
15 0.6734 34817984 _theme_load_registry( ) ../theme.inc:0
16 0.6740 34818840 _theme_build_registry( ) ../theme.inc:289
17 0.8295 45589632 _theme_process_registry( ) ../theme.inc:530
18 0.8295 45620048 views_theme( ) ../theme.inc:384
19 0.8295 45630152 views_fetch_plugin_data( ) ../views.module:90
20 0.8299 45672312 _views_fetch_plugin_data( ) ../views.module:1156
21 0.8411 47816632 views_discover_plugins( ) ../cache.inc:75
22 0.8413 47838704 entity_views_plugins( ) ../plugins.inc:388
23 0.8413 47838704 views_fetch_data( ) ../entity.views.inc:37
24 0.8413 47838944 _views_fetch_data( ) ../views.module:1145
25 0.8416 47840040 module_invoke_all( ) ../cache.inc:30
26 0.8635 49136288 call_user_func_array ( ) ../module.inc:819
27 0.8635 49136656 sparql_views_views_data( ) ../module.inc:0
28 0.8657 49142040 l( ) ../sparql_views.views.inc:19
29 0.8657 49143008 theme_get_registry( ) ../common.inc:2335
30 0.8657 49143088 call_user_func_array ( ) ../theme.inc:248
31 0.8657 49143832 _theme_load_registry( ) ../theme.inc:0
32 0.8664 49143912 _theme_build_registry( ) ../theme.inc:289
33 0.9019 49721568 _theme_process_registry( ) ../theme.inc:530
34 0.9020 49751984 views_theme( ) ../theme.inc:384
35 0.9020 49762088 views_fetch_plugin_data( ) ../views.module:90
36 0.9020 49762328 _views_fetch_plugin_data( ) ../views.module:1156
37 0.9020 49762408 views_discover_plugins( ) ../cache.inc:75
38 0.9021 49782336 entity_views_plugins( ) ../plugins.inc:388
39 0.9021 49782336 views_fetch_data( ) ../entity.views.inc:37
40 0.9021 49782576 _views_fetch_data( ) ../views.module:1145
41 0.9024 49782880 module_invoke_all( ) ../cache.inc:30
42 0.9059 50245136 call_user_func_array ( ) ../module.inc:819
43 0.9059 50245504 sparql_views_views_data( ) ../module.inc:0
44 0.9063 50246040 l( ) ../sparql_views.views.inc:19
45 0.9064 50247008 theme_get_registry( ) ../common.inc:2335
46 0.9064 50247088 call_user_func_array ( ) ../theme.inc:248
47 0.9064 50247832 _theme_load_registry( ) ../theme.inc:0
48 0.9065 50247912 _theme_build_registry( ) ../theme.inc:289
49 0.9425 50825576 _theme_process_registry( ) ../theme.inc:530
50 0.9425 50855992 views_theme( ) ../theme.inc:384
51 0.9426 50866096 views_fetch_plugin_data( ) ../views.module:90
52 0.9426 50866336 _views_fetch_plugin_data( ) ../views.module:1156
53 0.9426 50866416 views_discover_plugins( ) ../cache.inc:75
54 0.9427 50886344 entity_views_plugins( ) ../plugins.inc:388
55 0.9427 50886344 views_fetch_data( ) ../entity.views.inc:37
56 0.9427 50886584 _views_fetch_data( ) ../views.module:1145
57 0.9429 50886888 module_invoke_all( ) ../cache.inc:30
58 0.9465 51349144 call_user_func_array ( ) ../module.inc:819
59 0.9465 51349512 sparql_views_views_data( ) ../module.inc:0
60 0.9469 51350048 l( ) ../sparql_views.views.inc:19
61 0.9469 51351016 theme_get_registry( ) ../common.inc:2335
62 0.9469 51351096 call_user_func_array ( ) ../theme.inc:248
63 0.9469 51351840 _theme_load_registry( ) ../theme.inc:0
64 0.9471 51351920 _theme_build_registry( ) ../theme.inc:289
65 0.9826 51929544 _theme_process_registry( ) ../theme.inc:530
66 0.9826 51959960 views_theme( ) ../theme.inc:384
67 0.9826 51970064 views_fetch_plugin_data( ) ../views.module:90
68 0.9827 51970304 _views_fetch_plugin_data( ) ../views.module:1156
69 0.9827 51970384 views_discover_plugins( ) ../cache.inc:75
70 0.9828 51990312 entity_views_plugins( ) ../plugins.inc:388
71 0.9828 51990312 views_fetch_data( ) ../entity.views.inc:37
72 0.9828 51990552 _views_fetch_data( ) ../views.module:1145
73 0.9830 51990856 module_invoke_all( ) ../cache.inc:30
74 0.9866 52453120 call_user_func_array ( ) ../module.inc:819
75 0.9866 52453488 sparql_views_views_data( ) ../module.inc:0
76 0.9870 52454024 l( ) ../sparql_views.views.inc:19
77 0.9870 52454992 theme_get_registry( ) ../common.inc:2335
78 0.9870 52455072 call_user_func_array ( ) ../theme.inc:248
79 0.9870 52455816 _theme_load_registry( ) ../theme.inc:0
80 0.9872 52455896 _theme_build_registry( ) ../theme.inc:289
81 1.0229 53033520 _theme_process_registry( ) ../theme.inc:530
82 1.0230 53063936 views_theme( ) ../theme.inc:384
83 1.0230 53074040 views_fetch_plugin_data( ) ../views.module:90
84 1.0230 53074280 _views_fetch_plugin_data( ) ../views.module:1156
85 1.0230 53074360 views_discover_plugins( ) ../cache.inc:75
86 1.0231 53094288 entity_views_plugins( ) ../plugins.inc:388
87 1.0231 53094288 views_fetch_data( ) ../entity.views.inc:37
88 1.0231 53094528 _views_fetch_data( ) ../views.module:1145
89 1.0235 53094832 module_invoke_all( ) ../cache.inc:30
90 1.0355 53557088 call_user_func_array ( ) ../module.inc:819
91 1.0355 53557456 sparql_views_views_data( ) ../module.inc:0
92 1.0355 53557456 sparql_views_get_endpoints( ) ../sparql_views.views.inc:5
93 1.0355 53557456 sparql_registry_load_multiple( ) ../sparql_views.views.inc:159
94 1.0355 53558072 entity_load( ) ../sparql_registry.module:113
95 1.0355 53558072 DrupalDefaultEntityController->load( ) ../common.inc:7442
96 1.0355 53558544 DrupalDefaultEntityController->buildQuery( ) ../entity.inc:193
97 1.0355 53558680 db_select( ) ../entity.inc:252
98 1.0356 53559256 DatabaseConnection->select( ) ../database.inc:2447
99 1.0356 53562256 SelectQuery->__construct( ) ../database.inc:781
Comment #6
Anonymous (not verified) commentedCould you follow these instructions from the Views project page and see if it changes anything?
Comment #7
ressaSure, and I even flushed thrice just to be safe. But I still get the error of "100 reached" when I try to install SPARQL Views... I also tried with the latest dev version of Ctools, but with the same result. Have you got other things I can test? 8o)
Comment #8
Anonymous (not verified) commenteddid you try the sequence of things iRex posted in #3?
Also, once you have RDF UI enabled, can you check admin/reports/status and ensure that the ARC library is placed?
Comment #9
Anonymous (not verified) commentedThis may have something to do with a recent change in Entity API. Could you try one of the earlier betas of Entity, available at http://drupal.org/node/626176/release
Comment #10
Anonymous (not verified) commentedOk, it seems as though this problem is due to a commit in Entity API from June 14
commit de3f489d9f780e3f8dc7a42562398dffb9e2ff8f Author: fago Date: Tue Jun 14 21:47:45 2011 +0200 #1077148 patch by fago, becw, bojanz: add a generic entity-view row plugin for views.Comment #11
ressaI think you're right, nice catch! I did a fresh install with the Entity API module version 7.x-1.0-beta8 (in stead of 7.x-1.0-beta9) and the installation went through, no "Fatal error".
I am hoping to import data from other web sites, such as DBpedia, like you did in your videos "Importing and Syncing Content using RDF"(Nov.3, 2010). I think you used the Feeds View Parser module, which only exist for Drupal 6. Is the Feeds XPath Parser module the equivalent in Drupal 7, or is there a better module for importing Feeds?
Comment #12
Anonymous (not verified) commentedUnfortunately, I don't think that there is anything that connects Views to Feeds in Drupal 7 at this point. The Feeds XPath Parser most likely enables you to use XPath on an XML file, but you wouldn't be able to use SPARQL Views in that scenario to do the import.
If no one else takes it on, I might be able to get sponsorship to connect Views and Feeds in Drupal 7 (either updating Feeds View Parser or a new approach), but that won't be for a while.
Comment #13
ressaThat sounds great, I will keep my fingers crossed that you get the sponsorship. It would be so cool to be able to import data from dbpedia.
Comment #14
Jimmel commentedIf you want to bring in data from dbpedia at the moment just follow the tutorial here
http://www.ibm.com/developerworks/library/wa-datasets/
It works fine for bringing data from other datasets also, but you need to know what your looking for. You can then use views to organise that data on your site.
If you want to know more about views and what it can do check out this excellent resource
http://nodeone.se/blogg/learn-views-screencast-series-summed-up
Play around with it and see what you come up with. If you come up with something new be sure to post it on drupal.org as the more participation on here the better.
Comment #15
Anonymous (not verified) commentedThis has been fixed with #1208898: recursion error with Entity API 7.x-1.x-beta9 and another compatibility issue with entity beta9 was fixed in #1208944: Field UI no longer works with Entity API 7.x-1.x-beta9.
These changes are in the dev release. I have created an alpha4, which should show up soon.