Welcome, Guest
Username: Password: Remember me

TOPIC: Problem with uploading a picture to a survey question - KCfinder

Problem with uploading a picture to a survey question - KCfinder 1 year 6 months ago #91239

  • lukasso8eu
  • lukasso8eu's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi,
I have a problem with uploading pictures to survey questions.
Error is something like this: cannot write to upload folder and it shows a path to third party / kcfinder.
I have tried to put this is config.php of kcfinder:

$_CONFIG = array(

'disabled' => false,
'denyZipDownload' => true,
'denyUpdateCheck' => false,
'denyExtensionRename' => false,
With no change.
Than I have tried to put there an absolute path to the upload folder (upload in foor, not upload folder of kcfinder) to the:
'uploadURL' => "web.natur.cuni.cz/~ksgrrsek/survey/lime/upload",
but only change was that the error message changed to not being able to write to upload (in root dir).

Does anybody know how to solve it?
Thank you in advance.
The administrator has disabled public write access.

Re: Problem with uploading a picture to a survey question - KCfinder 1 year 6 months ago #91652

  • lukasso8eu
  • lukasso8eu's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
Hi, even I'm the only one discussing this topic, I want to tell you it's progress.
I found out, that this has been corrected in newer build of limesurvey, so I have updated it and now i can upload pictures to the folders.
BUT: when I select this picture (by this nice popup window of some kind of file explorer)and select it, the address of the picture is bad ( /~ksgrrsek/survey/lime/upload/surveys/398923/images/06102009271.jpg )and of course it doesnt show itself in the preview of on the question (which Im editing now)
I have tried to put there manually correct address, but which address is it?

survey.natur.cuni.cz - this is shortened addres (given by admin)
web.natur.cuni.cz/~ksgrrsek/survey - this suppose to be the real one
(both leading to the same page)

So my question is: can someone tell me, which address should I chose and where can i put it?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.142 seconds
Donation Image