GSOC 2010: File Upload Question Type

More
6 years 10 months ago #52908 by texens
texens replied the topic: GSOC 2010: File Upload Question Type
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 10 months ago #52909 by c_schmitz
c_schmitz replied the topic: GSOC 2010: File Upload Question Type
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 10 months ago #52914 by jelo
jelo replied the topic: GSOC 2010: File Upload Question Type
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 8 months ago #54670 by starmonkey
starmonkey replied the topic: GSOC 2010: File Upload Question Type
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 8 months ago #54676 by c_schmitz
c_schmitz replied the topic: GSOC 2010: File Upload Question Type
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
LimeSurvey Professional (previously LimeService) support

Best regards

Carsten Schmitz
LimeSurvey project leader

Please Log in to join the conversation.

More
6 years 8 months ago #54684 by texens
texens replied the topic: GSOC 2010: File Upload Question Type

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 8 months ago #54773 by texens
texens replied the topic: GSOC 2010: File Upload Question Type
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 7 months ago #57105 by bquiller
bquiller replied the topic: GSOC 2010: File Upload Question Type
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 7 months ago #57109 by texens
texens replied the topic: GSOC 2010: File Upload Question Type
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
6 years 5 months ago #58862 by mattias01
mattias01 replied the topic: GSOC 2010: File Upload Question Type
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.

More
6 years 5 months ago #59785 by ikaros
ikaros replied the topic: GSOC 2010: File Upload Question Type

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


I get the same error but I don't know what the Technical administrative panel is to check the sql syntax error.

Is "file upload" working?

Please Log in to join the conversation.

More
6 years 5 months ago #59793 by mattias01
mattias01 replied the topic: GSOC 2010: File Upload Question Type
is when trying to download for a response from the administration panel, I mean to download data from a specific survey.
if my upload is working ok, only this is my problem.

Greetings

Please Log in to join the conversation.

More
6 years 4 months ago #59979 by ikaros
ikaros replied the topic: GSOC 2010: File Upload Question Type

ikaros wrote:

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


I get the same error but I don't know what the Technical administrative panel is to check the sql syntax error.

Is "file upload" working?


No one is bothered to answer this simple question but the "donate" button is on the very first page...maybe we have to wait for the next GSOC...

Please Log in to join the conversation.

More
6 years 4 months ago #59982 by texens
texens replied the topic: GSOC 2010: File Upload Question Type
ikaros,

Sorry about the delay. I've been a little busy off late and haven't been able to take a look at the issue. I'll look into it later tonight and update/fix the same.
The following user(s) said Thank You: ikaros

Please Log in to join the conversation.

More
6 years 4 months ago #60233 by ikaros
ikaros replied the topic: GSOC 2010: File Upload Question Type
ok, thanx man.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now