Magento2 : I am getting this error when i upload two custom module and css and js fileAttributes not found in Mage_GoogleShoppingMagento Tries to Load from Old Development Directory after Changing NameUnable to resolve the source file for error in custom theme?Fatal error on FrameworkAbout index Fatal errorCSS not loading in M2 admin panelMagento 2: Can't install or uninstall plugins in magento 2Production mode won't geneate files inside var/view_processed folderMagento 2 connection after movingMagento2 Getting error as variable @baseUrl is undefined in file /var/view_preprocessed

"Official wife" or "Formal wife"?

Does the fact that we can only measure the two-way speed of light undermine the axiom of invariance?

Existence of a model of ZFC in which the natural numbers are really the natural numbers

Is there an idiom that means that you are in a very strong negotiation position in a negotiation?

Why do testers need root cause analysis?

nginx conf: http2 module not working in Chrome in ubuntu 18.04

Does science define life as "beginning at conception"?

What pc resources are used when bruteforcing?

Is there a word for pant sleeves?

Can diplomats be allowed on the flight deck of a commercial European airline?

What is the winged creature on the back of the Mordenkainen's Tome of Foes book?

Is ideal gas incompressible?

How could the B-29 bomber back up under its own power?

Variable does not Exist: CaseTrigger

What defines a person who is circumcised "of the heart"?

Surface of the 3x3x3 cube as a graph

How to test if argument is a single space?

Keeping the dodos out of the field

How did the Allies achieve air superiority on Sicily?

Way of refund if scammed?

Meaning of "half-crown enclosure"

Which values for voltage divider

What is the required burn to keep a satellite at a Lagrangian point?

Proto-Indo-European (PIE) words with IPA



Magento2 : I am getting this error when i upload two custom module and css and js file


Attributes not found in Mage_GoogleShoppingMagento Tries to Load from Old Development Directory after Changing NameUnable to resolve the source file for error in custom theme?Fatal error on FrameworkAbout index Fatal errorCSS not loading in M2 admin panelMagento 2: Can't install or uninstall plugins in magento 2Production mode won't geneate files inside var/view_processed folderMagento 2 connection after movingMagento2 Getting error as variable @baseUrl is undefined in file /var/view_preprocessed






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am getting this error on my live site as production mode and I uploaded only two custom module and js and css and two overwrite file in our theme.Below share error as warning showing I apply all command upgrad ,deploy,flush,reindex.




"Warning:
include(/home/andrew/public_html/XXXXX.co.uk/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/base/templates/root.phtml):
failed to open stream: No such file or directory in
/home/andrew/public_html/XXXXX.co.uk/vendor/magento/framework/View/Result/Page.php
on line 327"











share|improve this question






























    2















    I am getting this error on my live site as production mode and I uploaded only two custom module and js and css and two overwrite file in our theme.Below share error as warning showing I apply all command upgrad ,deploy,flush,reindex.




    "Warning:
    include(/home/andrew/public_html/XXXXX.co.uk/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/base/templates/root.phtml):
    failed to open stream: No such file or directory in
    /home/andrew/public_html/XXXXX.co.uk/vendor/magento/framework/View/Result/Page.php
    on line 327"











    share|improve this question


























      2












      2








      2


      1






      I am getting this error on my live site as production mode and I uploaded only two custom module and js and css and two overwrite file in our theme.Below share error as warning showing I apply all command upgrad ,deploy,flush,reindex.




      "Warning:
      include(/home/andrew/public_html/XXXXX.co.uk/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/base/templates/root.phtml):
      failed to open stream: No such file or directory in
      /home/andrew/public_html/XXXXX.co.uk/vendor/magento/framework/View/Result/Page.php
      on line 327"











      share|improve this question
















      I am getting this error on my live site as production mode and I uploaded only two custom module and js and css and two overwrite file in our theme.Below share error as warning showing I apply all command upgrad ,deploy,flush,reindex.




      "Warning:
      include(/home/andrew/public_html/XXXXX.co.uk/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/base/templates/root.phtml):
      failed to open stream: No such file or directory in
      /home/andrew/public_html/XXXXX.co.uk/vendor/magento/framework/View/Result/Page.php
      on line 327"








      magento2 module javascript error css






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 15 at 9:57









      Ayaz Ahmed Khan

      11610




      11610










      asked May 15 at 7:13









      Rv SinghRv Singh

      746418




      746418




















          2 Answers
          2






          active

          oldest

          votes


















          0














          Please try by giving 777 permission to generated and var folder



          Try after Removing generated folder and var/cahe var/di and var/page_cache and var/view_processed and try it .



          Will be better if you try on local first instead of directly on live.






          share|improve this answer























          • Thanks for reply but some changes uploading on live site so getting this error .

            – Rv Singh
            May 15 at 7:28











          • Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

            – Narendra Vyas
            May 15 at 7:36


















          0














          Please follow these steps.



          1. Change to your Magento Directory


          2. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w +


          3. find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws +


          4. sudo chown -R <Magento User>:<web server group> .


          5. chmod u+x bin/magento



          6. Once permission is set deploy your files as Magento user, as this will create the static files without any issue.



            php bin/magento setup:static-content:deploy



          Hope this will solve your problem.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f274640%2fmagento2-i-am-getting-this-error-when-i-upload-two-custom-module-and-css-and-j%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Please try by giving 777 permission to generated and var folder



            Try after Removing generated folder and var/cahe var/di and var/page_cache and var/view_processed and try it .



            Will be better if you try on local first instead of directly on live.






            share|improve this answer























            • Thanks for reply but some changes uploading on live site so getting this error .

              – Rv Singh
              May 15 at 7:28











            • Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

              – Narendra Vyas
              May 15 at 7:36















            0














            Please try by giving 777 permission to generated and var folder



            Try after Removing generated folder and var/cahe var/di and var/page_cache and var/view_processed and try it .



            Will be better if you try on local first instead of directly on live.






            share|improve this answer























            • Thanks for reply but some changes uploading on live site so getting this error .

              – Rv Singh
              May 15 at 7:28











            • Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

              – Narendra Vyas
              May 15 at 7:36













            0












            0








            0







            Please try by giving 777 permission to generated and var folder



            Try after Removing generated folder and var/cahe var/di and var/page_cache and var/view_processed and try it .



            Will be better if you try on local first instead of directly on live.






            share|improve this answer













            Please try by giving 777 permission to generated and var folder



            Try after Removing generated folder and var/cahe var/di and var/page_cache and var/view_processed and try it .



            Will be better if you try on local first instead of directly on live.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 15 at 7:19









            Narendra VyasNarendra Vyas

            55812




            55812












            • Thanks for reply but some changes uploading on live site so getting this error .

              – Rv Singh
              May 15 at 7:28











            • Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

              – Narendra Vyas
              May 15 at 7:36

















            • Thanks for reply but some changes uploading on live site so getting this error .

              – Rv Singh
              May 15 at 7:28











            • Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

              – Narendra Vyas
              May 15 at 7:36
















            Thanks for reply but some changes uploading on live site so getting this error .

            – Rv Singh
            May 15 at 7:28





            Thanks for reply but some changes uploading on live site so getting this error .

            – Rv Singh
            May 15 at 7:28













            Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

            – Narendra Vyas
            May 15 at 7:36





            Hmm you may check there or may take a complete dump on local and generate there, or may on a staging if u have

            – Narendra Vyas
            May 15 at 7:36













            0














            Please follow these steps.



            1. Change to your Magento Directory


            2. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w +


            3. find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws +


            4. sudo chown -R <Magento User>:<web server group> .


            5. chmod u+x bin/magento



            6. Once permission is set deploy your files as Magento user, as this will create the static files without any issue.



              php bin/magento setup:static-content:deploy



            Hope this will solve your problem.






            share|improve this answer



























              0














              Please follow these steps.



              1. Change to your Magento Directory


              2. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w +


              3. find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws +


              4. sudo chown -R <Magento User>:<web server group> .


              5. chmod u+x bin/magento



              6. Once permission is set deploy your files as Magento user, as this will create the static files without any issue.



                php bin/magento setup:static-content:deploy



              Hope this will solve your problem.






              share|improve this answer

























                0












                0








                0







                Please follow these steps.



                1. Change to your Magento Directory


                2. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w +


                3. find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws +


                4. sudo chown -R <Magento User>:<web server group> .


                5. chmod u+x bin/magento



                6. Once permission is set deploy your files as Magento user, as this will create the static files without any issue.



                  php bin/magento setup:static-content:deploy



                Hope this will solve your problem.






                share|improve this answer













                Please follow these steps.



                1. Change to your Magento Directory


                2. find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w +


                3. find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws +


                4. sudo chown -R <Magento User>:<web server group> .


                5. chmod u+x bin/magento



                6. Once permission is set deploy your files as Magento user, as this will create the static files without any issue.



                  php bin/magento setup:static-content:deploy



                Hope this will solve your problem.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 15 at 7:32









                Raj Mohan RRaj Mohan R

                930211




                930211



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f274640%2fmagento2-i-am-getting-this-error-when-i-upload-two-custom-module-and-css-and-j%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form