Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Problems with zip download

  • errata
  • errata's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago - 9 years 3 months ago #115027 by errata
Problems with zip download was created by errata
Hello everyone,

I am having intermittent problems with zip file downloading ('Download all files in this response as a zip').

If there is only one file in the zip, it seems to work perfectly in the backend. If there are multiple files (presumably that cause the zip to become larger), the zip download does not work. The page simply refreshes.

Strangely, if I wish to download multiple zip files by using the checkboxes, I can select them all and the 'download marked files' button works correctly; the files begin to download.

I have increased my memory size to 256M in php.ini and added 256 to memory_limit in config-defaults.php. Php zip is definitely installed (as it works when downloading the smaller files) and my php.ini timeout is 300 seconds. I am running version 2.05, build 140414. I have tried debug=>1 and 2, and there are no errors, nor are there errors in my PHP log.

Thanks in advance for any help!


Update

I have been doing some testing and it really seems to be random which zip files will download and which won't. None of them work if you download them individually, but some work if you 'select all' and others don't. All responses have attachments.

Any thoughts?
Last edit: 9 years 3 months ago by errata. Reason: to add update
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 3 months ago #115059 by Mazi
Replied by Mazi on topic Problems with zip download
Usually such random error are related to insufficient server resources. You have already raised some limits but I think you also need to check/raise these:
- Upload_max_filesize
- Max_input_time
- Post_max_size

If it works fine for single responses it can most probably only be related to resources. When using shared hosting the avaialble resources can differ every minute.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
  • errata
  • errata's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #116070 by errata
Replied by errata on topic Problems with zip download
Thanks for your help Mazi, I finally got this working again today after playing around with those settings. It seems that a certain few uploads still do not work, but all the more recent ones are working fine!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose