View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
15029Bug reportsImport/Exportpublic2020-12-23 11:16
ReporterTnuSurvey20151018 Assigned Tocdorin  
PrioritynoneSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version3.17.x 
Summary15029: Export of answers not working
Description

Export Button not working. Nothing happens if button is clicked.

Steps To Reproduce

Open a running survey which contains answers.
-> click answers and in the opening dropdown select 'Answers & Statistics'
-> click 'Export' and in the opening dropdown select 'Export answers'
-> click 'Export' on the top left.

The export should start but id does not.

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)Version 3.17.7+190627
I will donate to the project if issue is resolvedNo
BrowserVivaldi, Safari, Edge
Database type & version mysqlnd 5.0.12-dev - 20150407
Server OS (if known)Linux webbi05 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16) x86_64
Webserver software & version (if known)Apache/2.4.25 (Debian)
PHP Version7.0.33-0+deb9u3

Users monitoring this issue

There are no users monitoring this issue.

Activities

cdorin

cdorin

2019-07-05 15:33

reporter   ~52768

Can't reproduce it.

Are the column you wish to be exported selected?

Could you also upload the .lsa file of your survey (or a sample of it)?

TnuSurvey20151018

TnuSurvey20151018

2019-07-05 16:58

reporter   ~52772

All colums (32 of 32) are selected.

I can not publish data because I am not allowed to share (sorry, we store confidential user data)

However, I found a workaround. There is a hidden button at the end of the export form. If I remove the hidden class from that button, the button becomes visible and I can then click it -> Export working.

The Export button at the top is not working because some files are missing. Loading the export page is throwing the following errors in the console:
GET https://domain.ch/tmp/assets/bc7dfdde/ckeditor.js net::ERR_ABORTED 404 (Not Found)
lsadminpanel.min.js:1 The systen is currently in production mode.
466945:75 GET https://domain.ch/tmp/assets/bc7dfdde/config.js net::ERR_ABORTED 404 (Not Found)
466945:74 GET https://domain.ch/tmp/assets/bc7dfdde/ckeditor.js net::ERR_ABORTED 404 (Not Found)
466945:75 GET https://domain.ch/tmp/assets/bc7dfdde/config.js 404 (Not Found)
ckeditoradditions.js:1 Uncaught ReferenceError: CKEDITOR is not defined
at ckeditoradditions.js:1

The assets folder bc7dfdde does exist (chmod 777) but the files needed are not there.

A click on the export button is throwing the following error:
adminbasics.min.js:1 Uncaught ReferenceError: CKEDITOR is not defined
at HTMLButtonElement.run (adminbasics.min.js:1)
at HTMLDocument.dispatch (jquery-3.1.1.min.js:3)
at HTMLDocument.q.handle (jquery-3.1.1.min.js:3)

I think the error is not related to export (sorry) the files missing on all admin pages.

Is there a way to force the system to recreate the assets?

TnuSurvey20151018

TnuSurvey20151018

2019-07-09 14:08

reporter   ~52807

We could find the cause of this issue and fix it. What we did:

  • Set the max_execution_time to 300 (default was 30)
  • After that we cleaned the tmp folder
  • Navigate to the admin page. This will take some time (about 45s) till the login apeared and all the assets were rebuilt.

@Limesurvey: Please optimize your setup scripts to finish within default configuration. It would also help if limesurvey would detect missing assets and heal itself from issues like this.

Good Luck!

cdorin

cdorin

2020-12-23 11:16

reporter   ~61070

Unable to reproduce in latest lts.
We will need a health check plugin created at some point - it s on our to-do list :)

Issue History

Date Modified Username Field Change
2019-07-05 11:30 TnuSurvey20151018 New Issue
2019-07-05 15:33 cdorin Assigned To => cdorin
2019-07-05 15:33 cdorin Status new => feedback
2019-07-05 15:33 cdorin Note Added: 52768
2019-07-05 16:58 TnuSurvey20151018 Note Added: 52772
2019-07-05 16:58 TnuSurvey20151018 Status feedback => assigned
2019-07-09 14:08 TnuSurvey20151018 Note Added: 52807
2020-12-23 11:16 cdorin Status assigned => closed
2020-12-23 11:16 cdorin Resolution open => unable to reproduce
2020-12-23 11:16 cdorin Note Added: 61070