View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10563Bug reportsStatisticspublic2016-02-29 13:35
Reporterefialho Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version2.50.x 
Summary10563: Can't generate pdf statistics
Description

1) my version is 2.50+ Build 160215

2) the msg is: "TCPDF ERROR: Some data has already been output, can't send PDF file"

3) It is a small survey only with 3 groups and a total of 38 questions

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)2.50+ Build 160215
I will donate to the project if issue is resolvedYes
BrowserChrome v 48
Database type & versionmysql 5.5.46
Server OS (if known)Ubuntu 14.04.1
Webserver software & version (if known)Apache/2.4.7
PHP Version5.5.9
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-02-24 09:09

developer   ~35624

The LSA file for reproduct ? And try with HTML too.

c_schmitz

c_schmitz

2016-02-24 09:12

administrator   ~35625

Please attach your survey, preferably as .lsa file.
It looks like you have debug mode activated in your config.php - can you deactivate it and see if you still get the error?

Please give feedback ASAP.

efialho

efialho

2016-02-24 10:23

reporter   ~35641

I have activated the debug mode on my demand for debug purposes.

c_schmitz

c_schmitz

2016-02-24 10:41

administrator   ~35642

Yes, I assumed that. Can you please anwer my question?

efialho

efialho

2016-02-24 17:44

reporter   ~35667

Last edited: 2016-02-24 21:30

1) LSA file uploaded
2) With debug mode off the result still the same

3) HTML output issue 10569
https://bugs.limesurvey.org/view.php?id=10569

efialho

efialho

2016-02-24 23:57

reporter   ~35676

Last edited: 2016-02-25 00:08

1) upgrade to 2.50+ (build 160223)
2) the problem remains in statistics
3) in the "Export results" feature the same message "TCPDF ERROR: Some data has already been output, can't send PDF file"
4) When "Printing answers" i get no PDF file and the warning "file_get_contents(/startpage.pstpl): failed to open stream: No such file or directory"

Note: upload another file whith the output of the warning in 4

DenisChenu

DenisChenu

2016-02-25 08:26

developer   ~35678

Hi,

Please : test with a core template.
Maybe a white space in your config.php after the last ?> , maybe a plugin with same issue.
Actually : i can not impport your lsa : Carsten : it work for you ?
There are space before PK inforation.

Then it's surely a space somewhere in your installation : config.php or an external plugin.

c_schmitz

c_schmitz

2016-02-25 10:37

administrator   ~35690

I agree to Denis' analysis.
There must be somethin wrong with your installation. You should re-install LimeSurvey from scratch - also make sure that when you upload the files to your webserver use the binary mode, so files won't get changed.
Can you try and let us know if that helped?

I also added a fixed version of your .lsa file

c_schmitz

c_schmitz

2016-02-25 10:42

administrator   ~35692

I also cannot reproduce the problem using the fixed lsa file.

efialho

efialho

2016-02-29 13:26

reporter   ~35777

I have re-instaled LimeSurvey from scratch and now is OK, thank you very much for all the help

Issue History

Date Modified Username Field Change
2016-02-23 20:04 efialho New Issue
2016-02-23 20:04 efialho File Added: Exception.pdf
2016-02-23 21:29 c_schmitz Priority normal => immediate
2016-02-24 09:09 DenisChenu Note Added: 35624
2016-02-24 09:12 c_schmitz Note Added: 35625
2016-02-24 09:16 c_schmitz Assigned To => c_schmitz
2016-02-24 09:16 c_schmitz Status new => feedback
2016-02-24 10:23 efialho Note Added: 35641
2016-02-24 10:23 efialho Status feedback => assigned
2016-02-24 10:41 c_schmitz Note Added: 35642
2016-02-24 17:41 efialho File Added: survey_archive_734176.lsa
2016-02-24 17:44 efialho Note Added: 35667
2016-02-24 21:18 c_schmitz Assigned To c_schmitz =>
2016-02-24 21:18 c_schmitz Status assigned => new
2016-02-24 21:30 efialho Note Edited: 35667
2016-02-24 23:57 efialho Note Added: 35676
2016-02-25 00:08 efialho Note Edited: 35676
2016-02-25 00:09 efialho File Added: warning_print_answers.pdf
2016-02-25 08:26 DenisChenu Note Added: 35678
2016-02-25 10:29 c_schmitz Note View State: 35678: public
2016-02-25 10:37 c_schmitz Note Added: 35690
2016-02-25 10:37 c_schmitz File Added: survey_archive_734176_fixed.lsa
2016-02-25 10:42 c_schmitz Note Added: 35692
2016-02-25 10:42 c_schmitz Priority immediate => normal
2016-02-25 10:42 c_schmitz Assigned To => c_schmitz
2016-02-25 10:42 c_schmitz Status new => feedback
2016-02-29 13:26 efialho Note Added: 35777
2016-02-29 13:26 efialho Status feedback => assigned
2016-02-29 13:35 c_schmitz Status assigned => closed
2016-02-29 13:35 c_schmitz Resolution open => unable to reproduce
2016-02-29 13:35 c_schmitz File Deleted: Exception.pdf
2016-02-29 13:35 c_schmitz File Deleted: warning_print_answers.pdf