View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
18549Bug reportsSurvey editingpublic2022-12-15 14:54
ReporterJmantysalo Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version5.4.x 
Summary18549: Uploading a video from inline editor fails
Description

Uploading an mp4-file directly from the question editor fails. It works when I first download the file from Resources -link.

Steps To Reproduce

Edit question. Click Show full toolbar -button. Click Insert HTML5 video -button. Click Upload, then Browse, select a file, and click Send it to the server. You will get "Incorrect server response."

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)Version 5.4.14+221205
I will donate to the project if issue is resolvedNo
Browser
Database type & versionN/A
Server OS (if known)
Webserver software & version (if known)Debian 11
PHP VersionN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-12-12 08:37

developer   ~73047

Found the toolbar (didn't know it exist ;) )

Can not reproduce : it work without any issue for me.
Maybe related to server config ?

Jmantysalo

Jmantysalo

2022-12-12 08:41

reporter   ~73048

Can not reproduce : it work without any issue for me.
Maybe related to server config ?

Can be. What OS / Distribution you are using?

A user here noticed this on 5.4.11+221114 running on RHEL 8, but it has a self-made SB authentication module. Hence I did another test with a fresh install of newest version on Debian 11 and the same error happened.

DenisChenu

DenisChenu

2022-12-12 09:36

developer   ~73049

Debian 11 with PHP74 on apache
Tested too on my local install with nginx.

but it has a self-made SB authentication module

Maybe something here.

debug and log ?

Jmantysalo

Jmantysalo

2022-12-12 09:41

reporter   ~73050

To clarify: My Debian 11 test installation has no SB module.

I'll try to spot the exact conditions for the bug later.

gabrieljenik

gabrieljenik

2022-12-13 19:14

manager   ~73105

If it is OK I will set the status to feedback until more info is added. Thanks!

Jmantysalo

Jmantysalo

2022-12-15 08:44

reporter   ~73125

I just installed Ubuntu 20.04 LTS on a virtual machine and downloaded & installed version 5.4.15+221212 on LS. The bug is here.

But what is kcat-link? Now when I go to resources on the new installation I got a links "kcat:upload", "kcat:refresh" etc. Something strange here.

DenisChenu

DenisChenu

2022-12-15 14:10

developer   ~73132

JS file broken, try to reset assets,
If it don't work : give all right to www-data inside tmp/ (and upload)

Jmantysalo

Jmantysalo

2022-12-15 14:45

reporter   ~73136

JS file broken, try to reset assets,

In a brand new installation? As you wish... did not make any difference.

If it don't work : give all right to www-data inside tmp/ (and upload)

I did this test install with chmod a+rwX just to make sure that permissions are not an issue.

DenisChenu

DenisChenu

2022-12-15 14:47

developer   ~73138

kcat:* are the link managed with JS by kcdinfer.
Always …

Then : look at console ?

Jmantysalo

Jmantysalo

2022-12-15 14:53

reporter   ~73139

Console shows quite much, like

Uncaught TypeError: $(...).get(...) is undefined
initSettings http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2711
init http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2115
<anonymous> http://127.0.0.1:8888/limesurvey/third_party/kcfinder/browse.php?language='en':34
e http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
t http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
setTimeout handler*Deferred/then/l/< http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
c http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
fireWith http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
fire http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
c http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
fireWith http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
ready http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2
B http://127.0.0.1:8888/limesurvey/third_party/kcfinder/js/index.php:2

but I don't know what to look for.

(:8888 comes from the port forwarding I used to connect VirtualBox vmachine.)

DenisChenu

DenisChenu

2022-12-15 14:54

developer   ~73140

Can not help

Issue History

Date Modified Username Field Change
2022-12-12 08:01 Jmantysalo New Issue
2022-12-12 08:35 DenisChenu Bug heat 0 => 2
2022-12-12 08:36 DenisChenu Bug heat 2 => 0
2022-12-12 08:37 DenisChenu Note Added: 73047
2022-12-12 08:37 DenisChenu Bug heat 0 => 2
2022-12-12 08:41 Jmantysalo Note Added: 73048
2022-12-12 08:41 Jmantysalo Bug heat 2 => 4
2022-12-12 09:36 DenisChenu Note Added: 73049
2022-12-12 09:41 Jmantysalo Note Added: 73050
2022-12-13 19:14 gabrieljenik Status new => feedback
2022-12-13 19:14 gabrieljenik Note Added: 73105
2022-12-13 19:14 gabrieljenik Bug heat 4 => 6
2022-12-15 08:44 Jmantysalo Note Added: 73125
2022-12-15 08:44 Jmantysalo Status feedback => new
2022-12-15 14:10 DenisChenu Note Added: 73132
2022-12-15 14:45 Jmantysalo Note Added: 73136
2022-12-15 14:47 DenisChenu Note Added: 73138
2022-12-15 14:53 Jmantysalo Note Added: 73139
2022-12-15 14:54 DenisChenu Note Added: 73140