Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Magento 2.3.5 p2] Upload fails in image uploader #29852

Closed
5 tasks
raghav111jain opened this issue Sep 1, 2020 · 8 comments · Fixed by #29671
Closed
5 tasks

[Magento 2.3.5 p2] Upload fails in image uploader #29852

raghav111jain opened this issue Sep 1, 2020 · 8 comments · Fixed by #29671
Assignees
Labels
duplicate Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Reported on 2.3.5 Indicates original Magento version for the Issue report.

Comments

@raghav111jain
Copy link

Preconditions (*)

1.magento 2.3.5 p2
2.php 7.3

Steps to reproduce (*)

Expected result (*)

  1. [Screenshots, logs or description]

Actual result (*)

  1. [Screenshots, logs or description]

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

show this error please help ASAP

"Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/designoneonline/public_html/shop/vendor/magento/module-cms/Model/Wysiwyg/Images/Storage.php:365 Stack trace: #0 /home/designoneonline/public_html/shop/generated/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Interceptor.php(37): Magento\Cms\Model\Wysiwyg\Images\Storage->getFilesCollection('/home/designone...', NULL) #1 /home/designoneonline/public_html/shop/vendor/magento/module-cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php(60): Magento\Cms\Model\Wysiwyg\Images\Storage\Interceptor->getFilesCollection('/home/designone...', NULL) #2 /home/designoneonline/public_html/shop/vendor/magento/module-cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php(74): Magento\Cms\Block\Adminhtml\Wysiwyg\Images\Content\Files->getFiles() #3 /home/designoneonline/public_html/shop/vendor/magento/module-cms/view/adminhtml/templates/browser/content/files.phtml(13): Magento\Cms\Block\Adminhtml\Wysiwyg\Images\Content\Files->getFilesCount() #4 /home/designoneonl in /home/designoneonline/public_html/shop/vendor/magento/module-cms/Model/Wysiwyg/Images/Storage.php on line 365"

@m2-assistant
Copy link

m2-assistant bot commented Sep 1, 2020

Hi @raghav111jain. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@ghost ghost added this to Ready for QA in Community Backlog Sep 1, 2020
@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Sep 1, 2020
@ajijshekh123 ajijshekh123 self-assigned this Sep 1, 2020
@m2-assistant
Copy link

m2-assistant bot commented Sep 1, 2020

Hi @ajijshekh123. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@ajijshekh123
Copy link

Hello @raghav111jain,
Please add proper Steps to be reproduced, Actual result and Expected result.
Thanks.

@ihor-sviziev
Copy link
Contributor

@raghav111jain
please check if you have installed fileinfo extension, usually it goes bundled with php

@raghav111jain
Copy link
Author

@raghav111jain
please check if you have installed fileinfo extension, usually it goes bundled with php
Thanks @ihor-sviziev its working man (fileinfo extension not installed)

@ghost ghost moved this from Ready for QA to Done (last 30 days) in Community Backlog Sep 1, 2020
@ihor-sviziev
Copy link
Contributor

I'd like to reopen this task and add ext-fileinfo to the composer.json.
Could you provide more info how we can get the same php configuration as you had?

@ihor-sviziev
Copy link
Contributor

This issue duplicates #24332.

@raghav111jain FYI we have a pull request that solves this issue: #29671, so after accepting this PR it will work even w/o fileinfo php extension.

As for now we have a workaround to install fileinfo extension.

@magento-engcom-team magento-engcom-team added the Fixed in 2.4.x The issue has been fixed in 2.4-develop branch label Sep 19, 2020
@magento-engcom-team magento-engcom-team added the Reported on 2.3.5 Indicates original Magento version for the Issue report. label Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Fixed in 2.4.x The issue has been fixed in 2.4-develop branch Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Reported on 2.3.5 Indicates original Magento version for the Issue report.
Projects
No open projects
Community Backlog
  
Done (last 30 days)
Development

Successfully merging a pull request may close this issue.

4 participants