View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11868 | Bug reports | Import/Export | public | 2016-11-04 17:21 | 2017-06-15 15:56 |
Reporter | jsmith | Assigned To | c_schmitz | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.55.x | ||||
Fixed in Version | 2.65.x | ||||
Summary | 11868: Error al descargar datos adjuntos desde el sistema, LimeSurvey Versión 2.55.1+161026 | ||||
Description | Buen día, al crear cualquier encuesta e incluir preguntas para datos adjuntos el sistema funciona correctamente, carga los archivos y los almacena en el hosting. El problema radica cuando se van a descargar los archivos, ingresando por ver respuestas se ven los archivos cargados (.jpg, .pdf, .png) y el link de acceso, al seleccionarlo el archivo descarga correctamente, pero al abrirlo muestra error, como si el archivo se corrompiera o estuviera defectuoso. Lo mismo pasa cuando se descarga el archivo en zip, con la opción que da el limesurvey, ya sea el archivo individual, seleccionando varias respuestas o seleccionándolas todas, los archivos que descarga quedan corruptos. La única forma de tener acceso a los archivos, es descargarlos directamente desde el ftp del hosting, todos bajan con el nombre que les da el sistema y sin extensión, por lo que tok comenzar a validar uno a uno cual es su extensión y a que registro pertenece (prueba y error .pdf, .jpg, .png y por el tamaño del archivo comparándolo con el archivo que registra el limesurvey para cada respuesta. | ||||
Steps To Reproduce | Crear un formulario | ||||
Additional Information | Este error se presenta en la última versión del sistema, y desde hace un par de actualizaciones | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 2.55.1+161026 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome, Mozilla | ||||
Database type & version | MySQL 5.5.44 | ||||
Server OS (if known) | Linux RHEL 2.6.32-431.1.2.el6.x86_64 x86_64 | ||||
Webserver software & version (if known) | ajenti | ||||
PHP Version | PHP Version 5.4.42 | ||||
Please write in English. |
|
OK, so you can't download the files that were uploaded? I cannot reproduce that locally. It might be a server setting of some kind. Please supply more information. |
|
Unable to reproduce for me too |
|
that's a known problem of pclzip component, first question of their FAQ: "Q1 : While creating an archive with PclZip, the script terminates with an empty created zip archive, why ? The behavior was encounter while the zlib extension is not enabled with the PHP installation. PclZip uses the compression functions from the zlib." We should check that zlib is available before zipping anything. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=22957 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-04 17:21 | jsmith | New Issue | |
2016-11-07 10:16 | ollehar | Assigned To | => ollehar |
2016-11-07 10:16 | ollehar | Status | new => feedback |
2016-11-07 10:16 | ollehar | Note Added: 41741 | |
2016-11-07 10:22 | ollehar | Note Added: 41742 | |
2016-11-07 15:45 | aesteban | Note Added: 41753 | |
2016-11-14 15:55 |
|
Note Added: 41896 | |
2016-11-14 15:55 |
|
Assigned To | ollehar => LouisGac |
2017-06-13 11:58 | c_schmitz | Changeset attached | => LimeSurvey master 7f5296db |
2017-06-13 11:58 | c_schmitz | Note Added: 43888 | |
2017-06-13 11:58 | c_schmitz | Assigned To | LouisGac => c_schmitz |
2017-06-13 11:58 | c_schmitz | Resolution | open => fixed |
2017-06-13 11:58 | c_schmitz | Status | feedback => resolved |
2017-06-13 11:58 | c_schmitz | Fixed in Version | => 2.65.x |
2017-06-13 11:59 | c_schmitz | Product Version | => 2.55.x |
2017-06-15 15:56 | c_schmitz | Status | resolved => closed |