Questions tagged [file-upload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
22
votes
2answers
20k views

Magento 2: Implement UI Fileuploader

I recently implemented the FileUploader Ui Component in my form on Magento 2.1.7. The code for it is here (app/code/Vendor/Blog/view/adminhtml/ui_component/vendor_blog_form.xml): <field name="...
3
votes
1answer
2k views

How can I use $_FILES in a Magento 2 way?

I used $_FILES when uploading files, but magento-connect do not allow to use global variables, and it generates an error in the validation report: Direct use of $_FILES Superglobal detected How ...
1
vote
3answers
4k views

Magento 2.3.0 - Transactional Email > Logo Image upload not working

Running magento 2.3.0 on php 7.1 I'm trying to upload an image for Content > Design: Configuration > Transactional emails > Logo Image And get the following error. A technical problem ...
2
votes
3answers
3k views

Magento 2 : File upload form front end in Custom Module

I am getting this error when I submit the form from the front end. Although I set the required extension in the setAllowedExtensions Exception #0 (InvalidArgumentException): Disallowed file type. ...
6
votes
4answers
8k views

Missing image upload button

I can't seem to see any of the upload of browse image buttons on my magento backend, I have tried Firefox and chrome with no luck. I get these errors in Firefox inspect element: TypeError: ...
0
votes
2answers
92 views

Upload large files from system config not working

I'm trying to Upload a zip archive to media from System/Configuration but when I choose a large file (e.g. 35MB) it redirect to Dashboard and I get the error Invalid Form Key. Please refresh the ...
15
votes
1answer
3k views

How to Recreate Magento 2 backend image upload in frontend

In Magento 2 there's a single image uploader look like this: it uploads the image using AJAX and will return JSON serialized containing the uploaded image information. Is there a way to recreate this ...
7
votes
3answers
17k views

Read input csv file and convert it to array

I have an input file form in phtml to import data from csv file type like this: <div class="import-shipping"> <div class="header"> <h4>CSV File:</h4> </div> &...
6
votes
4answers
14k views

Export file problem in Magento 2.3

Error: "Message is added to queue, wait to get your file soon" enter code here Open admin panel/system/Data Transfer/Export After that select all export setting and click the continue button. When ...
6
votes
2answers
16k views

Magento : Product Images and browse and Upload button Missing

I have no solutions found since last one week. In My magento 1.9.3.1 all product images and browse file button and upload files button are missing on product edit in admin show in screen-sort. kindly ...
4
votes
2answers
3k views

Magento 2.3 : File Upload issue in UI Component Form

I have created a form with Ui component. It contains a file field. When I upload a file it shows an error in the console Here is my code Ui component form <field name="ffl"> ...
1
vote
5answers
3k views

UIcomponent Dynamic Rows . Image Upload Problem

I Created a form using uicomponent . In Dynamicrows i have two element fileuploader And Simple textbox. <dynamicRows ... > <field name="path"> <argument name="data" xsi:...
2
votes
0answers
40 views

knockout data-bind issue on the Frontend Magento 2

I have added file-uploader component in the review form. I have used below code to add browse button in the form. <div class="upload-wrapper" data-bind="scope: 'uploader'"> ...
2
votes
1answer
2k views

magento2 shipping method :Table Rates import issue

Right now I am trying to import table rates, shipping method rates in Magento 2 in windows environment.But whenever I am trying to import it throw me error like The file "C:/Windows/Temp/E:/wamp/tmp/...
1
vote
3answers
2k views

Magento 2.3 can't upload product images

Every time i try to upload product images on my Magento 2.3 website, i get the following error: A technical problem with the server created an error. Try again to continue what you were doing. If ...
1
vote
1answer
5k views

Attention The file was not uploaded

I am trying to create a downloadable product in Magento 2.1.7 but when I try to upload the downloadable file, I am getting this error: Attention The file was not uploaded. I tried changing the ...
1
vote
1answer
656 views

FileUploader.js throws TypeError: postData.data.set is not a function in Safari

In my custom form I use the file uploader element: <field name="image"> <argument name="data" xsi:type="array"> <item name="config" ...
0
votes
1answer
462 views

The image file was not uploaded error in Magento 2 while editing the grid form

I am getting the file was not uploaded error in Magento 2 when I edit the form in the Magento 2 backend. When I try to save the form it shows an error. The problem is that it requires me to choose ...