Bienvenido, Invitado
Nombre de Usuario: Contraseña: Recordarme

TEMA: GSOC 2010: File Upload Question Type

Re:GSOC 2010: File Upload Question Type hace 2 años 6 meses #52908

  • texens
  • Avatar de texens
  • DESCONECTADO
  • Junior Lime
  • Mensajes: 24
  • Gracias recibidas 1
  • Karma: 0
Mazi,

Could you please check if the limesurvey_dev/upload/surveys directory is recursively writable?

We're saving the files in tmp/ and surveys/surveyid/files/ directories and need both of them to be writable.
El administrador ha desactivado la escritura pública.

Re:GSOC 2010: File Upload Question Type hace 2 años 6 meses #52909

  • c_schmitz
  • Avatar de c_schmitz
  • DESCONECTADO
  • LimeSurvey Team
  • Mensajes: 618
  • Gracias recibidas 73
  • Karma: 78
It is all writable,

there is just no 'upload/tmp/' as indicated in the error message.
Support us, too. Donate to the LimeSurvey project and help keep us going!
El administrador ha desactivado la escritura pública.

Re:GSOC 2010: File Upload Question Type hace 2 años 6 meses #52914

  • jelo
  • Avatar de jelo
  • DESCONECTADO
  • Platinum Lime
  • Mensajes: 345
  • Gracias recibidas 32
  • Karma: 13
The php rename function is (oldname/newname).
Warning: Invalid argument supplied for foreach() in /var/www/virtual/limesurvey.org/devdemo/htdocs/save.php on line 122
 
Warning: rename(upload/tmp/ErsteSchritte-LimeSurvey.pdf,upload/surveys/32556/files/acviqkv6de22vms3ttyg) [function.rename]: No such file or directory in /var/www/virtual/limesurvey.org/devdemo/htdocs/save.php on line 502
Error Moving file to its destination
Notice: Undefined index: lastanswer in /var/www/virtual/limesurvey.org/devdemo/htdocs/save.php on line 782

The rename/remove action isn't working. This error occurs when finally submitting the survey.

The upload seems to work (at least no error) in the upload dialog.
Is upload/tmp/ErsteSchritte-LimeSurvey.pdf existing? Or is only the destination /upload/surveys/3556/files/... not available?
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 5 meses #54670

  • starmonkey
  • Avatar de starmonkey
  • DESCONECTADO
  • Fresh Lemon
  • Mensajes: 9
  • Karma: 0
Hi there,

Just following up on the status of this project in regards to a 1.91 release?

Reading your documentation @ docs.limesurvey.org/tiki-index.php?page=...Upload+Question+Type it appears that development halted?

I had a quick play with devdemo.limesurvey.org/ and it seems like the File Upload question type is in place.

What work remains? There are still a few items in the "TODO" section of the above document.

cheers,
SM
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 5 meses #54676

  • c_schmitz
  • Avatar de c_schmitz
  • DESCONECTADO
  • LimeSurvey Team
  • Mensajes: 618
  • Gracias recibidas 73
  • Karma: 78
There is already an 1.91 beta release (see home page) - a first Release Candidate will be out soon.

Best regards from Hamburg / Germany

Carsten Schmitz
LimeService support
Support us, too. Donate to the LimeSurvey project and help keep us going!
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 5 meses #54684

  • texens
  • Avatar de texens
  • DESCONECTADO
  • Junior Lime
  • Mensajes: 24
  • Gracias recibidas 1
  • Karma: 0
starmonkey escribió:
Hi there,

What work remains? There are still a few items in the "TODO" section of the above document.

SM,
There are a couple things in the #TODO list, but they are mostly enhancements and not functional changes. I'll take them up one by one as and when time permits.

Amit
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 5 meses #54773

  • texens
  • Avatar de texens
  • DESCONECTADO
  • Junior Lime
  • Mensajes: 24
  • Gracias recibidas 1
  • Karma: 0
A first release candidate of version 1.91 has been released. You can grab a copy of the same off this link

Please post any bugs/issues you come across in with the file upload feature in the bug tracker or this thread itself.

Happy New Year,
Amit
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 4 meses #57105

  • bquiller
  • Avatar de bquiller
  • DESCONECTADO
  • Fresh Lemon
  • Mensajes: 4
  • Karma: 0
Hello,

I am new in the forum. So first thank you for this usefull question type.

I have downloaded the RC4 and tried the file upload ; i have a problem to delete the file : "can't open file"
The request to delete.php have the parameter file_index=undefined so I think the problem come from that but I don't know why ?


PS In watching logs I have seen that the qanda.php references a scripts/parseuri.js which is not in the archive, CVS ... I have downloaded it from blog.stevenlevithan.com/archives/parseuri.
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 4 meses #57109

  • texens
  • Avatar de texens
  • DESCONECTADO
  • Junior Lime
  • Mensajes: 24
  • Gracias recibidas 1
  • Karma: 0
Hello bquiller,

I did some major code overhaul and as a result the delete functionality broke down. This bug has been(bugs.limesurvey.org/view.php?id=4956) reported and I'll be fixing it over the weekend.

Regarding the parseuri.js
That file was redundant and hence I didn't add it to the repository, but I forgot to remove it from qanda.php :|
El administrador ha desactivado la escritura pública.

Re: GSOC 2010: File Upload Question Type hace 2 años 2 meses #58862

  • mattias
  • Avatar de mattias
  • DESCONECTADO
  • Senior Lime
  • Mensajes: 74
  • Karma: 1
I installed the version 1.91 rc5 but when I upload a file gives the following error 'Unknown error' when I see the attachment from the Technical administrative panel gives the following error me You Have an error in your SQL syntax; check the That manual corresponds to your MySQL server version for the right syntax to use near '4} 'at line 1: SELECT 96256X1X1 lime_survey_96256 FROM ``WHERE id = {4}, we hope will help.

Greetings
Adjuntos:
El administrador ha desactivado la escritura pública.
Moderadores: DenisChenu, ITEd
Tiempo de carga de la página: 0.353 segundos
Donation Image