7

I'm using Magento 2.3.0, with php 7.2 version, on a ubuntu os. Everything looks working fine, but when I try to go into Magento backend, Content - Design/Configuration - Header, and I try to upload the logo image, I get this:

A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later.

I have tried already to change the user password, to check the index.php for any echo code, tried also to upgrade, compile, deploy, reindex, clean cache, but nothing, I still get this error..

  • Check your logs and post the relevant part here. – Vivek Kumar Dec 7 '18 at 15:41
  • That's the thing.. there is no relevant part.. checked logs, exceptions.. the image actually gets uploaded on the server if I check the folder, but it get's that error anyway in the backend, and shows no image.. – alexcr Dec 7 '18 at 16:45
  • @alexcr What OS you are using Windows or any Linux? – zus Dec 12 '18 at 6:12
  • @zus ubuntu os, so linux! – alexcr Dec 18 '18 at 22:51
24
+50

This is the bug in Magento 2.3 latest version, but you can fix the issue by change in below code.

You can go to this file: /vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml and please remove "fileUploader" and add "imageUploader".

    <collapsible>true</collapsible>
                <label translate="true">HTML Head</label>
            </settings>
            <!-- Remove this code -->
            <!-- <field name="head_shortcut_icon" formElement="fileUploader">-->

            <!-- Add this code -->
            <field name="head_shortcut_icon" formElement="imageUploader">
                <settings>
                    <notice translate="true">Not all browsers support all these formats!</notice>
                    <label translate="true">Favicon Icon</label>

                <collapsible>true</collapsible>
                <label translate="true">Header</label>
            </settings>
            <!-- Remove this code -->
            <!-- <field name="header_logo_src" formElement="fileUploader"> -->

            <!-- Add this code -->
            <field name="header_logo_src" formElement="imageUploader">
                <settings>
                    <label translate="true">Logo Image</label>
                    <componentType>imageUploader</componentType>

Please check and let me know in case of any issue.

  • editing core files is not a good idea. You can apply the fix via composer patching. ref: magento.stackexchange.com/questions/256668/… – ProxiBlue Jan 10 at 12:35
  • 2
    @ProxiBlue this is the magento bug and the issue has already fixed in 2.3-develop branch and will be available on 2.3.1 release, so no matter if we edit core files in this case. – Aasim Goriya Jan 18 at 12:25
  • @ProxiBlue please check this url for more information about magento bug : github.com/magento/magento2/issues/19872 – Aasim Goriya Jan 18 at 12:26
  • Can you please help me to solve this issue @Aasim Goriya – divya sekar Feb 18 at 10:10
  • Just in case someone comes across this post b/c they got the technical error message when trying to upload a logo image for the transaction emails, you have to change "fileUploader" to "imageUploader" in vendor/magento/module-email/view/adminhtml/ui_component/design_config_form.xml. See @user2240778 answer for more info here: magento.stackexchange.com/questions/256668/… – Mike Levy Mar 29 at 21:33
4

This is a Magento 2.3 bug, added wrong value for formElement for field header_logo_src

You can go to the file vendor/magento/module-theme/view/adminhtml/ui_component/design_config_form.xml

and in line number 154 you can see <field name="header_logo_src" formElement="fileUploader"> this you can change with <field name="header_logo_src" formElement="imageUploader">

But editing Magento core is not a good idea, for temporary fix till Magento release the patch you can use the following module I created just to rewrite design_config_form.xml

https://github.com/arshadpkm/magento-2.3-header-logo-upload-bug-fix

  • Can you please add instructions? I have no idea how to use that repo. Is installing via composer sufficient, or do I need to take extra steps? – SudoPlz Feb 19 at 11:06
2

Assign permission to them,

Please Follow this link: https://github.com/magento/magento2/issues/10071

  • What do you mean with permission, for the admin role? the "role resources"? I have alread assigned all to the user, and it still get this error.. maeby any permission to any folder.. any 777 folder? – alexcr Dec 3 '18 at 17:16
2

This is a bug in Magento 2.3. It will be fixed in the upcoming 2.3.1 release. Please refer to this link: https://github.com/magento/magento2/issues/18688

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.