View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19193 | Bug reports | Plugins | public | 2023-10-25 09:28 | 2023-10-26 11:59 |
Reporter | leemgs | Assigned To | tibor.pacalat | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | duplicate | ||
Product Version | 6.2.x | ||||
Summary | 19193: How To Upload Image File On Chrome Brwoser | ||||
Description | I tried to upload a file in Chrome browser and it failed. The file is not uploaded and only JSON information is displayed in the browser as shown below.
On the other hand, when I use the Edge browser and Firefox, the file upload works fine. What can I do to resolve this issue?
3.1. Chrom browser, debug message, VM349 limesurvey-file-upload-err.JPG 3.2. JavaScript error occurs:: !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict"function(){function addEvent(e,t,a){if(e.addEventListener)e.addEventListener(t,a,!1);else{if(!e.attachEvent)throw new Error("not supported or DOM not loaded");e.attachEvent("on"+t,(function(){a.call(e)}))}}if(document.documentElement.getBoundingClientRect)var getOffset=function(e)............................0!=s&&n<s&&showpopups?!!confirm(uploadLang.errorNeedMoreConfirm.replace("%s",s-n))&&l(e,t,a,i),!0)l(e,t,a,i),!0)}}};function escapeHtml(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}window.getUploadHandler=function(e,t){return window.currentUploadHandler=new uploadHandler(e,t),window.currentUploadHandler.init(),window.currentUploadHandler}})); 3.3. Storage device file folder part, corresponding temporary file area: BRs, | ||||
Steps To Reproduce | Steps to reproduce
Expected resultWe can see the uploaded file information from the pop-up window. Actual resultWe got the the below json messages on chrome browser unexpectedly. | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | LimeSurvey Community Edition Version 6.2.6+230904 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Chrome Browser (Version 118.0.5993.71 64bit) | ||||
Database type & version | MySQL 8.0.34-0ubuntu0.22.04.1 for Linux on x86_64 | ||||
Server OS (if known) | Ubuntu 22.04 LTS (64bit) | ||||
Webserver software & version (if known) | Apache 2.4.52-1ubuntu4.4 | ||||
PHP Version | PHP 8.1.2-1ubuntu2.14 | ||||
duplicate of | 19192 | closed | tibor.pacalat | How To Upload Image File On Chrome Brwoser |
I can not reproduce this using Chrome 118, Limesurvey 6.2.6+230904, PHP 8.1.4. Can you please update to the app to newest version and try again? |
|
To tibor.pacalat, To reproduce my report consistently, I temporarily opened the website listed below.
Frontend$ firefox http://localhost:8888/ Backend$ firefox http://localhost:8888/index.php/admin |
|
I also evaluated LimeSurvey with version 6.3.0+231016. But the file upload is still not okay. :(
|
|
I used your temporary server and I can upload the image without an issue. |
|
I have also tested the temporary server with both, Chrome and Edge (see forum post) and the upload works as expected. On submitting I am getting an error message (in both browsers): "Error moving file to target destination". But the upload works, just like Tibor shows in his video. Try with a "clean" Chrome browser (no addons/plugins) or with Chrome on a different computer. |
|
Dear holch,
I evaluated the file upload feature with Crhome version 118 after cleaning the addons/plugins as follows.
BRs, |
|
I attached two screenshot files.
|
|
Since this is not a bug, I will close this ticket. Please ask this question on official forum. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-10-25 09:28 | leemgs | New Issue | |
2023-10-25 09:28 | leemgs | Issue generated from: 19192 | |
2023-10-25 10:22 | DenisChenu | Relationship added | duplicate of 19192 |
2023-10-25 12:07 | tibor.pacalat | Note Added: 77969 | |
2023-10-25 12:07 | tibor.pacalat | Bug heat | 0 => 2 |
2023-10-25 12:08 | tibor.pacalat | Assigned To | => tibor.pacalat |
2023-10-25 12:08 | tibor.pacalat | Status | new => feedback |
2023-10-25 15:55 | leemgs | Note Added: 77981 | |
2023-10-25 15:55 | leemgs | File Added: limesurvey-fileupload-err.JPG | |
2023-10-25 15:55 | leemgs | Bug heat | 2 => 4 |
2023-10-25 15:55 | leemgs | Status | feedback => assigned |
2023-10-25 16:10 | leemgs | Note Added: 77986 | |
2023-10-25 16:10 | leemgs | File Added: limesurvey630-fileupload-err.JPG | |
2023-10-25 16:23 | tibor.pacalat | Note Added: 77993 | |
2023-10-25 16:23 | tibor.pacalat | File Added: Screen-2023-10-25-162129.mp4 | |
2023-10-25 17:55 | holch | Note Added: 78003 | |
2023-10-25 17:55 | holch | Bug heat | 4 => 6 |
2023-10-26 01:02 | leemgs | Note Added: 78023 | |
2023-10-26 01:02 | leemgs | File Deleted: limesurvey630-fileupload-err.JPG | |
2023-10-26 01:02 | leemgs | File Deleted: limesurvey-fileupload-err.JPG | |
2023-10-26 04:48 | leemgs | Note Added: 78026 | |
2023-10-26 04:48 | leemgs | File Added: Screenshot_20231026_071948_bVNC Pro.jpg | |
2023-10-26 04:48 | leemgs | File Added: Screenshot_20231026_072003_bVNC Pro.jpg | |
2023-10-26 04:48 | leemgs | File Added: Screenshot_20231026_072111_bVNC Pro.jpg | |
2023-10-26 11:59 | tibor.pacalat | Note Added: 78037 | |
2023-10-26 11:59 | tibor.pacalat | Status | assigned => closed |
2023-10-26 11:59 | tibor.pacalat | Resolution | open => duplicate |