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

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

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?