Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When run the test, fatal error appears:
Test: Fatal error: Maximum function nesting level of '400' reached, aborting! in filefield.test on line 12
Comment | File | Size | Author |
---|---|---|---|
#11 | filefield-call_user_func_array-php-5-3-1105064-6.patch | 1.41 KB | kenorb |
#10 | imagefield.test-1146670.patch | 546 bytes | kenorb |
#6 | filefield-call_user_func_array-php-5-3-1105064-6.patch | 1.16 KB | JoeMcGuire |
#4 | filefield.test.patch | 780 bytes | kenorb |
Comments
Comment #1
kenorb CreditAttribution: kenorb commented...
Comment #2
quicksketchI cannot reproduce these problems. Tests run fine for me. Do you have all the modules that FileField needs in order to run tests successfully ('content', 'filefield', 'filefield_meta', 'getid3', 'mimedetect', 'token', and 'views')?
Comment #3
kenorb CreditAttribution: kenorb commentedNot every:
CCK Content (content) Module Enabled 6.x-2.9
CCK FileField (filefield) Module Enabled 6.x-3.9
CCK FileField Meta (filefield_meta) Module Not installed 6.x-3.9
Features Publisher views features (publisher_views_features) Module Enabled
Other MimeDetect (mimedetect) Module Enabled 6.x-1.3
Other Token (token) Module Enabled 6.x-1.13
Views Views (views) Module Enabled 6.x-3.x-dev
I don't have getid3, which I don't need.
Maybe because I'm using Pressflow.
I've Simpletest module: version = "6.x-2.10"
It happening with some modules as well:
#1107770: Mollom: Maximum function nesting level of '400' reached, aborting! in tests/mollom.test on line 83
Comment #4
kenorb CreditAttribution: kenorb commentedSee solution here:
http://drupal.org/node/1107770#comment-4425060
It happens with PHP 5.3.x.
Find attached patch.
Or there is other solution:
http://drupalcode.org/project/mollom.git/blobdiff/e44ea30d05bd1f33ccb95f...
Comment #5
kenorb CreditAttribution: kenorb commentedComment #6
JoeMcGuire CreditAttribution: JoeMcGuire commentedThanks - glad to see other with the same issue - we are using PHP 5.3.10.
Fix in 4 is not quiet right. Amended patch attached which uses the correct syntax. The parent setUp() function is expecting multiple string parameters for each module required, not an array of modules.
Issue already posted for filefield_path module #1502666: FileFieldPathsUploadTestCase Simpletest fails
Error can also show up as:
Comment #7
quicksketchThanks @JoeMcGuire, sounds like the syntax for call_user_func_array() must have changed.
Comment #8
kenorb CreditAttribution: kenorb commentedComment #9
kenorb CreditAttribution: kenorb commentedComment #10
kenorb CreditAttribution: kenorb commentedThere is as well second place in the same file.
Patch attached.
Comment #11
kenorb CreditAttribution: kenorb commentedThis one (ignore the previous one).
Comment #12
quicksketchThanks, applied patches and tests are now passing with PHP 5.3.23 (the latest version I have locally).