LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
06419Bug reports[All Projects] Statisticspublic2012-08-02 11:372012-08-08 12:01
Reporterrahmatawaludin 
Assigned Tojcleeland 
PriorityhighSeveritycrash 
StatusclosedResolutionfixed 
Product Version2.00+ 
Target VersionFixed in Version2.00+ 
Summary06419: Failed to reproduce statistic (HTML, PDF, or Excel) with large survey in Yii Branch
DescriptionHi, i'm forking from LimeSurvey at github. Currently i'm trying Yii branch.
I'm creating survey with about 94 question and logic within them. To Costumize it, I also using ajax to load external data (i'm really sure it won't mess with survey response).

My problem is that it won't generate any statistic data even with only one completed survey.
Steps To Reproduce1. Import Survey file (attached)
2. Start survey
3. Fill out survey (only one)
4. Go to response & Statistic
5. Choose Get Statistic from These Response
6. check 'View summary of all available fields'
7. check 'Subtotals based on displayed questions'
8. check 'Show text responses inline'
9. check 'Show graphs'
10. Select output format (try all three HTML, PDF, Excel)
11. Click View Stats
12. No output. Blank Screen.
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number2
Browser
Database & DB-VersionMySQL 5.5.16
Operating System (Server)Windows
Webserver software & versionXAMPP 1.7.7
PHP Version5.3.8
Attached Files? file icon limesurvey_survey_41296.lss [^] (582,773 bytes) 2012-08-02 11:37
zip file icon survey_with_results_765329.zip [^] (31,117 bytes) 2012-08-03 16:04

- Relationships

-  Notes
User avatar (20113)
Mazi (developer)
2012-08-02 11:49

I can reproduce the problem using the "Sample Survey showing all question from LimeSurvey version 1.90 and later"
User avatar (20117)
jcleeland (developer)
2012-08-03 03:38

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9231 [^]
User avatar (20126)
rahmatawaludin (reporter)
2012-08-03 11:28

In this commit, I can't run my attached survey in group 8. It show another blankscreen. It says..

Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\xampp\htdocs\limesurvey\application\helpers\expressions\em_core_helper.php on line 834
User avatar (20127)
rahmatawaludin (reporter)
2012-08-03 11:35

although i can solve it by setting xdebug.max_nesting_level in php.ini to 200. I thinks there are proper solution than that.
User avatar (20128)
rahmatawaludin (reporter)
2012-08-03 11:40

Also when I click at "View the statistics for this survey"

I got an error message:

Page Not Found
The system is unable to find the requested action "sid".
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
User avatar (20129)
rahmatawaludin (reporter)
2012-08-03 11:44

But the "Print your answers" options is working.
Another error arise when I click "pdf export". It says..

Fatal error: Cannot access private property pdf::$_config in C:\xampp\htdocs\limesurvey\application\controllers\PrintanswersController.php on line 136
User avatar (20130)
Mazi (developer)
2012-08-03 12:06

TMSWhite, is the nesting error simply caused by certain server settings or can we somehow fix/improve this at the code?
User avatar (20131)
rahmatawaludin (reporter)
2012-08-03 12:07
edited on: 2012-08-03 12:18

My worked solution is
1. setting _config variable in application\libraries\admin\pdf.php to public
 
or

2. creating public function setConfig to initialize _config value. Consider that its a private variable. I'm using this one in my fork.

May I push my fork to origin?
mine is at https://github.com/rahmatawaludin/LimeSurvey/ [^]

User avatar (20133)
rahmatawaludin (reporter)
2012-08-03 12:47
edited on: 2012-08-03 12:52

When I select only first group the statistic is working. But, when another group is selected the statistic is still not working in my attached survey.

User avatar (20168)
c_schmitz (administrator)
2012-08-03 14:10

Can you export the survey including results as *.zip?
User avatar (20169)
rahmatawaludin (reporter)
2012-08-03 16:05

c_schmitz , ok. I have upload that.
User avatar (20170)
Mazi (developer)
2012-08-03 16:56

Probably insufficient server resources (didn't test attachment yet)!?
User avatar (20171)
rahmatawaludin (reporter)
2012-08-03 17:11
edited on: 2012-08-03 17:12

hmmm... i think not. Could you test it in your server? thanks

User avatar (20172)
Mazi (developer)
2012-08-03 17:36

I can reproduce the problem: I get a blank screen when testing the survey/data (just one data set) of the attached ZIP file.
User avatar (20173)
rahmatawaludin (reporter)
2012-08-03 17:40

Thats what I mean. If you just select the first group, the statistic will working. It will produce blank screen when another group is selected when producing statistic. Any idea?
User avatar (20180)
rahmatawaludin (reporter)
2012-08-04 10:36

I have found what causing this.
It is a numerical Input type which causing break.
I'm trying to select that statistic one-by-one and when I select that question type (Question Group: Identification information, Question: pcode1_3: PCode). It break
It show this..
Fatal error: Call to a member function readAll() on a non-object in C:\xampp\htdocs\LimeSurvey\application\helpers\admin\statistics_helper.php on line 868

Additional information could be found here @ 10:03
http://www.limesurvey.org/irclogs/limesurvey/index.php?date=2012-08-04 [^]
User avatar (20277)
c_schmitz (administrator)
2012-08-08 12:01

See related bug for change set.

- Related Changesets
LimeSurvey: Yii 3cf9583b
Timestamp: 2012-08-02 18:39:03
Author: jcleeland
Committer: jcleeland
Details ] Diff ]
Fixed issue 06419 - Failed to reproduce statistic with large survey in Yii Branch (missing semi-colon)
mod - application/helpers/admin/statistics_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-08-02 11:37 rahmatawaludin New Issue
2012-08-02 11:37 rahmatawaludin File Added: limesurvey_survey_41296.lss
2012-08-02 11:49 Mazi Note Added: 20113
2012-08-02 11:49 Mazi Assigned To => jcleeland
2012-08-02 11:49 Mazi Status new => assigned
2012-08-03 03:38 jcleeland Changeset attached => LimeSurvey Yii 3cf9583b
2012-08-03 03:38 jcleeland Note Added: 20117
2012-08-03 03:38 jcleeland Resolution open => fixed
2012-08-03 03:39 jcleeland Status assigned => resolved
2012-08-03 11:24 rahmatawaludin Note Added: 20125
2012-08-03 11:28 rahmatawaludin Note Added: 20126
2012-08-03 11:28 rahmatawaludin Status resolved => feedback
2012-08-03 11:28 rahmatawaludin Resolution fixed => reopened
2012-08-03 11:28 rahmatawaludin Note Deleted: 20125
2012-08-03 11:35 rahmatawaludin Note Added: 20127
2012-08-03 11:35 rahmatawaludin Status feedback => assigned
2012-08-03 11:40 rahmatawaludin Note Added: 20128
2012-08-03 11:44 rahmatawaludin Note Added: 20129
2012-08-03 12:06 Mazi Note Added: 20130
2012-08-03 12:07 rahmatawaludin Note Added: 20131
2012-08-03 12:18 rahmatawaludin Note Edited: 20131 View Revisions
2012-08-03 12:47 rahmatawaludin Note Added: 20133
2012-08-03 12:52 rahmatawaludin Note Edited: 20133 View Revisions
2012-08-03 14:10 c_schmitz Note Added: 20168
2012-08-03 16:04 rahmatawaludin File Added: survey_with_results_765329.zip
2012-08-03 16:05 rahmatawaludin Note Added: 20169
2012-08-03 16:56 Mazi Note Added: 20170
2012-08-03 17:11 rahmatawaludin Note Added: 20171
2012-08-03 17:12 rahmatawaludin Note Edited: 20171 View Revisions
2012-08-03 17:36 Mazi Note Added: 20172
2012-08-03 17:40 rahmatawaludin Note Added: 20173
2012-08-04 10:36 rahmatawaludin Note Added: 20180
2012-08-06 18:29 Mazi Relationship added has duplicate 06438
2012-08-08 12:01 c_schmitz Status assigned => closed
2012-08-08 12:01 c_schmitz Resolution reopened => fixed
2012-08-08 12:01 c_schmitz Note Added: 20277
2012-08-08 12:01 c_schmitz Product Version 2.00RC7 => 2.00+
2012-08-08 12:01 c_schmitz Fixed in Version => 2.00+


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker