View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
06421Bug reportsSurvey editingpublic2012-08-16 10:23
Reportermargaret Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00RC7 
Target Version2.00RC9Fixed in Version2.00RC9 
Summary06421: array text show totals give PHP error
Description

Preview 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", "<p> Count</p> <p> </p> ", ...))

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 Reproduce

Question 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

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)120721
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionMySQL 5.5.24
Server OS (if known)windows 7 home premium
Webserver software & version (if known) Apache/2.4.2 (Win32)
PHP Version5..4.0

Users monitoring this issue

There are no users monitoring this issue.

Activities

TMSWhite

TMSWhite

2012-08-03 00:02

reporter   ~20116

I can't reproduce this with the latest Yii patches.

Mazi

Mazi

2012-08-04 12:24

updater   ~20183

Please attach a simple test survey for testing.

Thanks!

margaret

margaret

2012-08-05 18:16

reporter   ~20205

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.

c_schmitz

c_schmitz

2012-08-06 11:51

administrator   ~20220

Always respond on the web, replying by email is not possible.
Please attach a sample survey to this bug.

c_schmitz

c_schmitz

2012-08-10 09:16

administrator   ~20331

Pretty please?

margaret

margaret

2012-08-10 14:34

reporter   ~20337

Sorry, easily distracted by a different part of the project.
This work great in 1.92

c_schmitz

c_schmitz

2012-08-10 14:43

administrator   ~20338

You attached an .xls file. We would need the .lss file (survey structure file). Can you try again, please?

TMSWhite

TMSWhite

2012-08-10 14:58

reporter   ~20340

Carsten - that is the Excel import/export format. It should import fine in 2.0

margaret

margaret

2012-08-10 15:59

reporter   ~20342

you now have both

c_schmitz

c_schmitz

2012-08-16 10:23

administrator   ~20476

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
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing