GSOC 2010: File Upload Question Type

More
6 years 4 months ago #52908 by texens
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.

Please Log in to join the conversation.

More
6 years 4 months ago #52909 by c_schmitz
It is all writable,

there is just no 'upload/tmp/' as indicated in the error message.

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
6 years 4 months ago #52914 by jelo
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?

Please Log in to join the conversation.

More
6 years 2 months ago #54670 by starmonkey
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

Please Log in to join the conversation.

More
6 years 2 months ago #54676 by c_schmitz
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 (now LimeSurvey Professional) support

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
6 years 2 months ago #54684 by texens

starmonkey wrote: 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

Please Log in to join the conversation.

More
6 years 2 months ago #54773 by texens
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

Please Log in to join the conversation.

More
6 years 1 month ago #57105 by bquiller
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 .

Please Log in to join the conversation.

More
6 years 1 month ago #57109 by texens
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 :|

Please Log in to join the conversation.

More
5 years 11 months ago #58862 by mattias01
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
Attachments:

Please Log in to join the conversation.