View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
04386Bug reportsImport/Exportpublic2010-06-08 21:51
ReporterVBraun Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version1.90b 
Target Version1.90RC1Fixed in Version1.90RC1 
Summary04386: Problem with export to application - Excel, Word
Description

Hi,

I have started to use LS 1.9 beta 3 build 8745. I run it on local installation at PC for development and testing purpose. Everything worked fine until I tried to export answers from survey.

Export to excel or word has many lines with message Undefined index or Undefined variable and there are no answers. Export to VV seems to be OK I just wasnot able to get special characters right, no encoding, including UTF8, seems to provide correct results.

Steps To Reproduce

export results to application (Excel, Word)

Additional Information

Survey was not anonymous and selected fields from token table are exported. File with export is attached.

TagsNo tags attached.
Attached Files
results-survey75622.csv (27,698 bytes)
Bug heat4
Complete LimeSurvey version number (& build)8745
I will donate to the project if issue is resolved
BrowserFirefox, Chrome
Database type & versionxampp 1.7.1
Server OS (if known)Vista, xampp 1.7.1
Webserver software & version (if known)xampp 1.7.1
PHP Versionxampp 1.7.1 - PHP 5.2.9.

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2010-06-02 11:26

updater   ~12078

When trying to export data of the sample survey to any format I get the following errors:
"<br />
<b>Notice</b>: Undefined variable: rows in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>659</b><br />
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND sq.scale_id=0
ORDER BY sq.question_order, sq' at line 2:SELECT sq.*, q.other FROM lime190_questions sq, lime190_questions q WHERE sq.sid=85389 AND sq.parent_qid=q.qid AND q.language='en' AND sq.language='en' AND q.qid=
AND sq.scale_id=0
ORDER BY sq.question_order, sq.question"

Mazi

Mazi

2010-06-02 11:27

updater   ~12079

VBraun, can you attach your survey for further testing?

VBraun

VBraun

2010-06-02 17:00

reporter   ~12099

I uploaded survey where I saw problem with export for first time, but I tested export from some other survey later on with the same error messages.

Mazi

Mazi

2010-06-04 01:48

updater   ~12135

When testing the attached survey and trying to export results to any export format I get:
"<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1207</b><br />
<br />
<b>Notice</b>: Undefined index: title in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1215</b><br />
<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1216</b><br />
<br />
<b>Notice</b>: Undefined index: title in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1216</b><br />
<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1207</b><br />
<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1221</b><br />
<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1207</b><br />
<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1221</b><br />
<br />
<b>Notice</b>: Undefined variable: flid in <b>C:\xampp\htdocs\limeSOURCE\limesurvey_svn\admin\exportresults.php</b> on line <b>1207</b><br />"

Issue History

Date Modified Username Field Change
2010-06-01 17:15 VBraun New Issue
2010-06-01 17:15 VBraun Status new => assigned
2010-06-01 17:15 VBraun Assigned To => user372
2010-06-01 17:15 VBraun File Added: results-survey75622.csv
2010-06-02 11:26 Mazi Note Added: 12078
2010-06-02 11:26 Mazi Assigned To user372 => c_schmitz
2010-06-02 11:26 Mazi Target Version => 1.90RC1
2010-06-02 11:27 Mazi Note Added: 12079
2010-06-02 11:27 Mazi Status assigned => feedback
2010-06-02 16:57 VBraun File Added: limesurvey_survey_75622.lss
2010-06-02 17:00 VBraun Note Added: 12099
2010-06-02 17:00 VBraun Status feedback => assigned
2010-06-04 01:48 Mazi Note Added: 12135
2010-06-04 18:17 c_schmitz Status assigned => resolved
2010-06-04 18:17 c_schmitz Fixed in Version => 1.90RC1
2010-06-04 18:17 c_schmitz Resolution open => fixed
2010-06-08 21:51 c_schmitz Status resolved => closed