Welcome, Guest
Username: Password: Remember me

TOPIC: GSOC 2010: File Upload Question Type

Re:GSOC 2010: File Upload Question Type 4 years 1 day ago #52908

  • texens
  • texens's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 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.
The administrator has disabled public write access.

Re:GSOC 2010: File Upload Question Type 4 years 1 day ago #52909

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 823
  • Thank you received: 116
  • Karma: 93
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!
The administrator has disabled public write access.

Re:GSOC 2010: File Upload Question Type 4 years 1 day ago #52914

  • jelo
  • jelo's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 470
  • Thank you received: 52
  • Karma: 16
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?
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 10 months ago #54670

  • starmonkey
  • starmonkey's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 10 months ago #54676

  • c_schmitz
  • c_schmitz's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 823
  • Thank you received: 116
  • Karma: 93
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!
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 10 months ago #54684

  • texens
  • texens's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 1
  • Karma: 0
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
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 10 months ago #54773

  • texens
  • texens's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 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
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 9 months ago #57105

  • bquiller
  • bquiller's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 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.
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 9 months ago #57109

  • texens
  • texens's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 24
  • Thank you received: 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 :|
The administrator has disabled public write access.

Re: GSOC 2010: File Upload Question Type 3 years 7 months ago #58862

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • 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
Attachments:
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.197 seconds
Donation Image