View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04807Bug reportsSurvey takingpublic2010-12-15 13:43
Reportermedicnick Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.90+ 
Summary04807: Undefined offset: 1 in E:\<not important>\htdocs\limesurvey\qanda.php on line 1860
Description

Greetings,
I am just getting started with my first Limesurvey on IIS7, MSSQL2008, ASP.net. When viewing an unpublished survey (just have a few sample questions so far) its coming back with four of the same errors: 0 Notice: Undefined offset: 1 in E:\<not important>\htdocs\limesurvey\qanda.php on line 1860

My 1859/1860 lines are: // Let's sort answers in an array indexed by subcategories list ($categorytext, $answertext) = explode($optCategorySeparator,$ansrow['answer']);

I did find an undefined offset bug listed that was fixed in a recent 1.9 version. I'm using Version 1.90+ Build 9596.

Thanks

Steps To Reproduce

Build survey with 3 groups, 9 questions in group 1, none yet in other groups. This survey is NOT anonymous. It is presented group by group. Responses will be date stamped. IP addresses will be logged. Referer-URL will be saved. It uses cookies for access control. Participants can save partially finished surveys. Detailed email notification with result codes. Regenerate question codes: [Straight] [By group].

Go to survey URL as indicated in survey admin page. Entry screen looks ok, enter validation and press next to enter group 1. The survey appears to load OK but the error message is displayed at the top of the page.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)9596
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMSSQL 2008
Server OS (if known)Windows NT WEB708 6.0 build 6002
Webserver software & version (if known)IIS 7.0
PHP Version5.2.5

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-12-10 22:32

administrator   ~13746

Last edited: 2010-12-10 22:33

Please attach an export of your survey structure to this issue.

medicnick

medicnick

2010-12-11 01:44

reporter   ~13748

Thanks, I zipped it to limit the contents access to robots (if that's even a concern here).

c_schmitz

c_schmitz

2010-12-11 12:23

administrator   ~13753

Thanks. The general problem is that you did define a categoryseparator, but are not using actual categories in your List (Select) question.
The additional problem is that your PHP shows notices - which should be generally disabled on a production machine.
I fixed the notice for next release.

c_schmitz

c_schmitz

2010-12-15 13:43

administrator   ~13793

Released in 1.90+ version.

Issue History

Date Modified Username Field Change
2010-12-10 21:14 medicnick New Issue
2010-12-10 22:32 c_schmitz Note Added: 13746
2010-12-10 22:32 c_schmitz Note Edited: 13746
2010-12-10 22:33 c_schmitz Assigned To => c_schmitz
2010-12-10 22:33 c_schmitz Status new => feedback
2010-12-10 22:33 c_schmitz Note Edited: 13746
2010-12-11 01:43 medicnick File Added: Issue_4807_limesurvey_survey_75112.zip
2010-12-11 01:44 medicnick Note Added: 13748
2010-12-11 01:44 medicnick Status feedback => assigned
2010-12-11 12:23 c_schmitz Note Added: 13753
2010-12-11 12:24 c_schmitz File Deleted: Issue_4807_limesurvey_survey_75112.zip
2010-12-11 12:24 c_schmitz Status assigned => resolved
2010-12-11 12:24 c_schmitz Fixed in Version => 1.90+
2010-12-11 12:24 c_schmitz Resolution open => fixed
2010-12-15 13:43 c_schmitz Note Added: 13793
2010-12-15 13:43 c_schmitz Status resolved => closed