View Issue Details

This bug affects 1 person(s).
 18
IDProjectCategoryView StatusLast Update
06419Bug reportsStatisticspublic2012-08-08 12:01
Reporterrahmatawaludin Assigned Tojcleeland  
PriorityhighSeverityblock 
Status closedResolutionfixed 
Product Version2.00+ 
Fixed in Version2.00+ 
Summary06419: Failed to reproduce statistic (HTML, PDF, or Excel) with large survey in Yii Branch
Description

Hi, 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 Reproduce
  1. 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.
TagsNo tags attached.
Attached Files
Bug heat18
Complete LimeSurvey version number (& build)2
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.5.16
Server OS (if known)Windows
Webserver software & version (if known)XAMPP 1.7.7
PHP Version5.3.8

Users monitoring this issue

TMSWhite

Activities

Mazi

Mazi

2012-08-02 11:49

updater   ~20113

I can reproduce the problem using the "Sample Survey showing all question from LimeSurvey version 1.90 and later"

jcleeland

jcleeland

2012-08-03 03:38

reporter   ~20117

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9231

rahmatawaludin

rahmatawaludin

2012-08-03 11:28

reporter   ~20126

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

rahmatawaludin

rahmatawaludin

2012-08-03 11:35

reporter   ~20127

although i can solve it by setting xdebug.max_nesting_level in php.ini to 200. I thinks there are proper solution than that.

rahmatawaludin

rahmatawaludin

2012-08-03 11:40

reporter   ~20128

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.

rahmatawaludin

rahmatawaludin

2012-08-03 11:44

reporter   ~20129

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

Mazi

Mazi

2012-08-03 12:06

updater   ~20130

TMSWhite, is the nesting error simply caused by certain server settings or can we somehow fix/improve this at the code?

rahmatawaludin

rahmatawaludin

2012-08-03 12:07

reporter   ~20131

Last edited: 2012-08-03 12:18

My worked solution is

  1. setting _config variable in application\libraries\admin\pdf.php to public

or

  1. 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/

rahmatawaludin

rahmatawaludin

2012-08-03 12:47

reporter   ~20133

Last edited: 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.

c_schmitz

c_schmitz

2012-08-03 14:10

administrator   ~20168

Can you export the survey including results as *.zip?

rahmatawaludin

rahmatawaludin

2012-08-03 16:05

reporter   ~20169

c_schmitz , ok. I have upload that.

Mazi

Mazi

2012-08-03 16:56

updater   ~20170

Probably insufficient server resources (didn't test attachment yet)!?

rahmatawaludin

rahmatawaludin

2012-08-03 17:11

reporter   ~20171

Last edited: 2012-08-03 17:12

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

Mazi

Mazi

2012-08-03 17:36

updater   ~20172

I can reproduce the problem: I get a blank screen when testing the survey/data (just one data set) of the attached ZIP file.

rahmatawaludin

rahmatawaludin

2012-08-03 17:40

reporter   ~20173

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?

rahmatawaludin

rahmatawaludin

2012-08-04 10:36

reporter   ~20180

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

c_schmitz

c_schmitz

2012-08-08 12:01

administrator   ~20277

See related bug for change set.

Related Changesets

LimeSurvey: Yii 3cf9583b

2012-08-02 18:39:03

jcleeland

Details Diff
Fixed issue 06419 - Failed to reproduce statistic with large survey in Yii Branch (missing semi-colon) Affected Issues
06419
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: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: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 Issue Monitored: TMSWhite
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
2012-08-03 12:47 rahmatawaludin Note Added: 20133
2012-08-03 12:52 rahmatawaludin Note Edited: 20133
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
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-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+
2021-08-02 18:52 guest Bug heat 16 => 18