LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
06421Bug reports[All Projects] Survey designpublic2012-08-02 23:022012-08-16 10:23
Reportermargaret 
Assigned Toc_schmitz 
PrioritynormalSeveritymajor 
StatusclosedResolutionfixed 
Product Version2.00RC7 
Target Version2.00RC9Fixed in Version2.00RC9 
Summary06421: array text show totals give PHP error
DescriptionPreview show totals on array of texts produces PHP error

Only variables should be passed by reference
C:\UniServer\www\limesurvey\application\helpers\qanda_helper.php(5306)

Stack Trace
#0

 C:\UniServer\www\limesurvey\application\helpers\qanda_helper.php(287): do_array_multitext(array("1245", "917491X103X1245", "Q4t", "

Count

", ...))

282 break;
283 case ':': //ARRAY (Multi Flexi) 1 to 10
284 $values=do_array_multiflexi($ia);
285 break;
286 case ';': //ARRAY (Multi Flexi) Text
287 $values=do_array_multitext($ia); //It's like the "5th element" movie, come to life
288 break;
Steps To ReproduceQuestion type array (texts) Numbers only - show totals for Rows
Show grand total No
Edit subquestions
Y 1 Count
X 1 Male 2 Female
Preview this question
I will donate to the project if issue is resolved within 48 hrsNo
LimeSurvey build number120721
Browserfirefox
Database & DB-VersionMySQL 5.5.24
Operating System (Server)windows 7 home premium
Webserver software & version Apache/2.4.2 (Win32)
PHP Version5..4.0
Attached Filesxls file icon limesurvey_brokeTotals.xls [^] (69,632 bytes) 2012-08-10 14:25
? file icon limesurvey_survey_764416.lss [^] (117,333 bytes) 2012-08-10 15:05

- Relationships

-  Notes
User avatar (20116)
TMSWhite (developer)
2012-08-03 00:02

I can't reproduce this with the latest Yii patches.
User avatar (20183)
Mazi (developer)
2012-08-04 12:24

Please attach a simple test survey for testing.

Thanks!
User avatar (20205)
margaret (reporter)
2012-08-05 18:16

I've replied to the email twice and it hasn't shown up. Maybe because my registered email is an alias to actual email. (married name) If you see something from mayer@umn.edu in your spam filter, that has the attachment.

If you can tell me an alternate way to get you an attachment I can do that.

Margaret Gibson
Aug 3 (2 days ago)
to LimeSurvey
 > ----------------------------------------------------------------------
 > I can't reproduce this with the latest Yii patches.
 >

I seem to be getting unreproducible errors.
[Bug reports 06382] is a random problem and I can't reproduce it at will.
It is also easy to work around. This new problem always fails for me.

I have latest version 1.1.11 of Yii on my system for a related project.
I didn't think this makes a difference to LimeSurvey. Any suggestion
as what I could change? Show Totals works perfectly for me in 1.92
I have lots of questions that involve totals. I guess I'll use 1.92

You have a fabulous product. Thank you for your support.
If there is anything I can try let me know.

Never ruling out newbie/user error I'll attach an export of my survey if
you care to try it.
User avatar (20220)
c_schmitz (administrator)
2012-08-06 11:51

Always respond on the web, replying by email is not possible.
Please attach a sample survey to this bug.
User avatar (20331)
c_schmitz (administrator)
2012-08-10 09:16

Pretty please?
User avatar (20337)
margaret (reporter)
2012-08-10 14:34

Sorry, easily distracted by a different part of the project.
This work great in 1.92
User avatar (20338)
c_schmitz (administrator)
2012-08-10 14:43

You attached an .xls file. We would need the .lss file (survey structure file). Can you try again, please?
User avatar (20340)
TMSWhite (developer)
2012-08-10 14:58

Carsten - that is the Excel import/export format. It should import fine in 2.0
User avatar (20342)
margaret (reporter)
2012-08-10 15:59

you now have both
User avatar (20476)
c_schmitz (administrator)
2012-08-16 10:23

Version 2.00 RC 9 released.

- Issue History
Date Modified Username Field Change
2012-08-02 23:02 margaret New Issue
2012-08-03 00:02 TMSWhite Note Added: 20116
2012-08-03 00:02 TMSWhite Status new => feedback
2012-08-04 12:24 Mazi Note Added: 20183
2012-08-05 18:16 margaret Note Added: 20205
2012-08-05 18:16 margaret Status feedback => new
2012-08-06 11:51 c_schmitz Note Added: 20220
2012-08-06 11:52 c_schmitz Assigned To => c_schmitz
2012-08-06 11:52 c_schmitz Status new => feedback
2012-08-10 09:16 c_schmitz Note Added: 20331
2012-08-10 14:25 margaret File Added: limesurvey_brokeTotals.xls
2012-08-10 14:34 margaret Note Added: 20337
2012-08-10 14:34 margaret Status feedback => assigned
2012-08-10 14:43 c_schmitz Note Added: 20338
2012-08-10 14:58 TMSWhite Note Added: 20340
2012-08-10 15:05 margaret File Added: limesurvey_survey_764416.lss
2012-08-10 15:59 margaret Note Added: 20342
2012-08-12 15:18 c_schmitz Status assigned => resolved
2012-08-12 15:18 c_schmitz Fixed in Version => 2.00+
2012-08-12 15:18 c_schmitz Resolution open => fixed
2012-08-12 15:32 c_schmitz Fixed in Version 2.00+ => 2.00RC9
2012-08-15 00:22 c_schmitz Target Version => 2.00RC9
2012-08-16 10:23 c_schmitz Note Added: 20476
2012-08-16 10:23 c_schmitz Status resolved => closed


Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker