Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: why cannot upload img to question?

why cannot upload img to question? 2 years 5 months ago #105092

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
version 2.0,i upload jpg img when creat question,but the img doesn't show.


then i tried to upload img through ftp,img transfered well, but doesnot show in question editor.
what's the problem?
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105097

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Hi,

Looking at image link: seems there are strnage caracters.
Maybe rename your image with space and accent before uploading.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105100

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
whatever file name i uploaded, the file name changed to images(n)
and, browse the file folder, cannot find img.

The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105101

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
and i notice,upload img should be in upload/surveys/269291/image folder.but my img locate in the upload/surveys/269291 folder.
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105159

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
anybody has the same problem?
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105164

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6139
  • Thank you received: 1363
  • Karma: 535
Have you updated to the latest version of 2.0 (build 131206)?

I don't experience any uploading problems with that version.


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105172

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Hi,

Tony are rigth, and maybe the image folder have bad rigth ? Can you control this ?
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105246

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
i updated to latest 2.0 today, but problem is still there.
let's narrow down the problem, the img file should be uploaded to surveys/345343/images/,right?
but the img uploaded to surveys/345343/
which file could cause this problem?
OR which database table will cause this problem?
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105247

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
i am using IIS7, and i checked the file folder right again today. i tried creat new survey and upload img, problem is still there.
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105248

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
let me summary the problem again.
the image file is not uploaded to correct folder.
the image file name changed to images(1),images(2), without .jpg surfix.
i need to find the problem reason.
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105254

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Hi,

Without do some tracevar/var_export/console.log i really have no idea what's happen for you.

Sorry
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105268

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
thanks for your instruction.
i am trying to use firebug,but don't understand how to use
tracevar/var_export/console.log
shall i input them after >>>?

The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105269

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
iscar wrote:
thanks for your instruction.
i am trying to use firebug,but don't understand how to use
tracevar/var_export/console.log
shall i input them after >>>?
No, sorry , not clear here.

I just say : without hacking code to put some test here or here, or elsewhere ....

A bad bebugging method, a way to find where it's buggy.

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105281

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5974
  • Thank you received: 366
  • Karma: 260
To me this looks like a server side problem. What happens if you upload other files like PDF?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

why cannot upload img to question? 2 years 5 months ago #105324

  • iscar
  • iscar's Avatar
  • Offline
  • Banned
  • Posts: 312
  • Thank you received: 1
  • Karma: -4
for find out the reason,i updated to 2.05 version.
then i upload img, jump out"CSRF upload error".
i am not sure it hint the problem reason.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.245 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form