View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
06577Bug reportsSurvey editingpublic2014-06-23 15:34
Reporteruser21517Assigned Toc_schmitz  
PrioritynormalSeveritycrash 
Status closedResolutionunable to reproduce 
Product Version2.00+ 
Summary06577: Surveys made in Limesurvey 2.00+ show blank screen when an "upload file" question is added.
Description

As I said, I have tried Limesurvey 2.0RC9 Build 120920 and it works perfectly on my personal web server ( Easy PHP ) except when I add an "upload file" question.
This leads the survey not to show anything and prompts just a white screen.

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)120920
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5.20
Server OS (if known)Windows 7
Webserver software & version (if known)Apache 2.2.21 VC9
PHP VersionPHP 5.3.9
Git branch / Pull Request URL

Relationships

related to 09112 closedmfaber Survey Logic check (QA) fails for questiontype date if dateMin or dateMax is entered 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-09-24 10:09

administrator   ~20768

Please attach your survey to this bug report. Thank you.

user21517

2012-09-24 11:02

  ~20770

Done :)
Hope I've been helpful :)

c_schmitz

c_schmitz

2012-09-24 14:27

administrator   ~20782

Works like a charm here. No problems at all.
Can you edit /application/config/config.php, set the debug param to 2 and see if you get any errors?

user21517

2012-09-24 14:38

  ~20783

Done.
It prompted this error:

Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\Program Files\EasyPHP-5.3.9\www\limesurvey2\application\helpers\expressions\em_core_helper.php on line 834

I tried increasing the xdebug.max_nesting_level to 500 in php.ini and everything worked perfectly.
You should probably document this, though, because 100 is the default value for xdebug.

:)

Thank you !

c_schmitz

c_schmitz

2012-09-24 14:50

administrator   ~20784

Thomas, this seems quite alot of nesting function calls to me for such a simple survey. Can you confirm that this is alright?

TMSWhite

TMSWhite

2012-09-25 03:41

reporter   ~20791

I can't reproduce the problem on my XAMPP-based server. I haven't seen problems with nesting level for over a year. Perhaps it is an interaction between EastPHP and xdebug?

Mazi

Mazi

2012-09-28 09:17

updater   ~20865

Last edited: 2012-09-28 09:24

I'm running into a similar error message when trying to call the "show logic file" feature: "Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\xampp\htdocs\git\stable\classes\expressions\ExpressionManager.php on line 529".

I thing the max nesting was introduced some weeks ago to prevent infinite loops, but for some server configuration this seems to cause problems.
The attached survey for which this error is shown is not that large and I also ran into the same problem for smaller survey.

I also attached a link to a phpinfo file, maybe someone has an idea which server setting might be related to the problem.
http://www.limesurvey-templates.com/phpinfo_Mazi.pdf

Mazi

Mazi

2012-09-28 09:30

updater   ~20868

BTW, I can confirm that setting xdebug.max_nesting_level to 500 solves the problem but since not all users are able to change these php.ini settings, maybe we can improve the code?

FYI: I'm running xampp 1.7.3 on Win7.

TMSWhite

TMSWhite

2012-09-28 13:28

reporter   ~20877

I can't reproduce this, even when I set xdebug.max_nesting_level to 50. I'm running XAMPP 2.5 on Windows XP SP3

c_schmitz

c_schmitz

2012-10-10 13:11

administrator   ~21159

I can't reproduce this here either. Maybe a bug in some PHP versions?

Issue History

Date Modified Username Field Change
2012-09-21 15:01 user21517 New Issue
2012-09-24 10:09 c_schmitz Note Added: 20768
2012-09-24 10:09 c_schmitz Assigned To => c_schmitz
2012-09-24 10:09 c_schmitz Status new => feedback
2012-09-24 11:02 user21517 File Added: limesurvey_survey_511333.lss
2012-09-24 11:02 user21517 Note Added: 20770
2012-09-24 11:02 user21517 Status feedback => assigned
2012-09-24 14:27 c_schmitz Note Added: 20782
2012-09-24 14:27 c_schmitz Status assigned => feedback
2012-09-24 14:38 user21517 Note Added: 20783
2012-09-24 14:38 user21517 Status feedback => assigned
2012-09-24 14:50 c_schmitz Assigned To c_schmitz => TMSWhite
2012-09-24 14:50 c_schmitz Note Added: 20784
2012-09-24 14:51 c_schmitz Status assigned => feedback
2012-09-25 03:41 TMSWhite Note Added: 20791
2012-09-28 09:17 Mazi Note Added: 20865
2012-09-28 09:17 Mazi File Added: limesurvey_survey_22996.lss
2012-09-28 09:24 Mazi Note Edited: 20865
2012-09-28 09:30 Mazi Note Added: 20868
2012-09-28 13:28 TMSWhite Note Added: 20877
2012-09-28 13:29 TMSWhite Assigned To TMSWhite =>
2012-10-10 13:11 c_schmitz Assigned To => c_schmitz
2012-10-10 13:11 c_schmitz Status feedback => assigned
2012-10-10 13:11 c_schmitz Note Added: 21159
2012-10-11 14:18 c_schmitz Status assigned => closed
2012-10-11 14:18 c_schmitz Resolution open => unable to reproduce
2014-06-23 15:34 mfaber Relationship added related to 09112
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing