View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
13810Bug reportsImport/Exportpublic2018-06-27 15:04
Reporterpatrizi Assigned Toc_schmitz  
PrioritynoneSeverityblock 
Status closedResolutionno change required 
Product Version3.12.x 
Summary13810: Export Results in PDF format show page blank (and fail)
Description

Hi, we have a problem while exporting results in PDF.
First, the execution of export it seems to last a long time (several minutes, over 10);
Second, the execution ends always in a blank page without file to download.

Notice well that:

  • setting the PHP value max_execution_time to 300 or 600 did not impact on the result (always in blank page)
  • the export of the same results in excel format is successful and lasts a few seconds
  • there are no errors in apache logs
  • php do not show/display errors neither in logs
Steps To Reproduce

create: new survey
import: file lsa attached
goto: Responses & statistics
goto: Export results
choice: PDF format
click: Export

Tagsexport, PDF
Attached Files
survey_archive_896833.lsa (105,641 bytes)
Bug heat4
Complete LimeSurvey version number (& build)Version 3.12.1+180616
I will donate to the project if issue is resolvedNo
Browserany
Database type & version5.5.60-0+deb7u1-log (Debian)
Server OS (if known)Linux 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10-19) x86_64 GNU/Linux
Webserver software & version (if known)Apache/2.4.10 (Debian)
PHP VersionPHP 5.6.30-0+deb8u1 (cli)

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2018-06-25 16:10

developer   ~48293

Last edited: 2018-06-25 16:13

Try with max id to 5 : OK (with max_execution_time at 30)

PHP value max_execution_time to 300 or 600 : see config parameters : https://manual.limesurvey.org/Optional_settings#Resources . By default to 1200 : you can try with 12000 to have your export.

PS
debug=2 : Page shown Fatal error: Maximum execution time of 30 seconds exceeded in ./application/third_party/tcpdf/tcpdf.php on line 21646

debug=0 , my apache log : [Mon Jun 25 16:06:43 2018] [error] [client xx.xx.xx.xx] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /…/application/third_party/tcpdf/tcpdf.php on line 21646, referer: https://master.sondages.pro/admin/export/sa/exportresults/surveyid/896833

Your log system are broken

patrizi

patrizi

2018-06-27 14:56

reporter   ~48323

Hi Denis,
thanks for your reply.

I've setted the php_value max_execution_time to 12000 like you suggest and then I've tried to export again the responses in PDF format.
The execution time was been from time between 12:17:25 and 14:02:17 and the exporting was result successfully (the document is by 15,6 MB and 6682 pages).

Clearly the problem is bound to the complexity of the same survey but it's strange thinking this procedure require so much time for only 514 responses.

Issue History

Date Modified Username Field Change
2018-06-25 13:10 patrizi New Issue
2018-06-25 13:10 patrizi File Added: survey_archive_896833.lsa
2018-06-25 13:13 patrizi Tag Attached: PDF
2018-06-25 13:13 patrizi Tag Attached: export
2018-06-25 16:10 DenisChenu Note Added: 48293
2018-06-25 16:13 DenisChenu Note Edited: 48293
2018-06-25 16:13 DenisChenu Note Edited: 48293
2018-06-27 14:56 patrizi Note Added: 48323
2018-06-27 15:04 c_schmitz Assigned To => c_schmitz
2018-06-27 15:04 c_schmitz Status new => closed
2018-06-27 15:04 c_schmitz Resolution open => no change required