Magento 2.2.7 Enterprise Edition Error in frontend | Invalid template file: '…/page/js/require_js.phtml' in...












0















i have installed Magento 2 of version 2.2.7 EE and 2.2.6 CE. After installing i am getting this error in frontend and admin panel as well.



Errors i am getting:



1 exception(s):
Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'D:/xampp/htdocs/mage227ee/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'



enter image description here



or



Blank page



My current System:-




  • Windows 8

  • XAMPP /php 7.1.26 /MariaDb 10.1 /Apache 2.4

  • 8GB RAM


I have tried multiple attempts of command with:





  • php binmagento or php bin/magento

  • setup:upgrade

  • setup:static-content:deploy -f

  • indexer:reindex

  • setup:di:compile

  • cache:flush


Then i tried with the following approaches:




  • composer update

  • increased memory limit in index.php by adding ini_set('memory_limit', '2048M');

  • increased memory limit in user.ini, .htaccess and other locations as well.

  • No errors found in error.log and access.log in apache2/log folder.


Can anyone help me a on how to approach to solve it.
thank you.









share



























    0















    i have installed Magento 2 of version 2.2.7 EE and 2.2.6 CE. After installing i am getting this error in frontend and admin panel as well.



    Errors i am getting:



    1 exception(s):
    Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'D:/xampp/htdocs/mage227ee/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'



    enter image description here



    or



    Blank page



    My current System:-




    • Windows 8

    • XAMPP /php 7.1.26 /MariaDb 10.1 /Apache 2.4

    • 8GB RAM


    I have tried multiple attempts of command with:





    • php binmagento or php bin/magento

    • setup:upgrade

    • setup:static-content:deploy -f

    • indexer:reindex

    • setup:di:compile

    • cache:flush


    Then i tried with the following approaches:




    • composer update

    • increased memory limit in index.php by adding ini_set('memory_limit', '2048M');

    • increased memory limit in user.ini, .htaccess and other locations as well.

    • No errors found in error.log and access.log in apache2/log folder.


    Can anyone help me a on how to approach to solve it.
    thank you.









    share

























      0












      0








      0








      i have installed Magento 2 of version 2.2.7 EE and 2.2.6 CE. After installing i am getting this error in frontend and admin panel as well.



      Errors i am getting:



      1 exception(s):
      Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'D:/xampp/htdocs/mage227ee/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'



      enter image description here



      or



      Blank page



      My current System:-




      • Windows 8

      • XAMPP /php 7.1.26 /MariaDb 10.1 /Apache 2.4

      • 8GB RAM


      I have tried multiple attempts of command with:





      • php binmagento or php bin/magento

      • setup:upgrade

      • setup:static-content:deploy -f

      • indexer:reindex

      • setup:di:compile

      • cache:flush


      Then i tried with the following approaches:




      • composer update

      • increased memory limit in index.php by adding ini_set('memory_limit', '2048M');

      • increased memory limit in user.ini, .htaccess and other locations as well.

      • No errors found in error.log and access.log in apache2/log folder.


      Can anyone help me a on how to approach to solve it.
      thank you.









      share














      i have installed Magento 2 of version 2.2.7 EE and 2.2.6 CE. After installing i am getting this error in frontend and admin panel as well.



      Errors i am getting:



      1 exception(s):
      Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'D:/xampp/htdocs/mage227ee/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'



      enter image description here



      or



      Blank page



      My current System:-




      • Windows 8

      • XAMPP /php 7.1.26 /MariaDb 10.1 /Apache 2.4

      • 8GB RAM


      I have tried multiple attempts of command with:





      • php binmagento or php bin/magento

      • setup:upgrade

      • setup:static-content:deploy -f

      • indexer:reindex

      • setup:di:compile

      • cache:flush


      Then i tried with the following approaches:




      • composer update

      • increased memory limit in index.php by adding ini_set('memory_limit', '2048M');

      • increased memory limit in user.ini, .htaccess and other locations as well.

      • No errors found in error.log and access.log in apache2/log folder.


      Can anyone help me a on how to approach to solve it.
      thank you.







      magento2 error admin-panel frontend-error xampp





      share












      share










      share



      share










      asked 1 min ago









      kaushik kumar roykaushik kumar roy

      256




      256






















          0






          active

          oldest

          votes











          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%2f262349%2fmagento-2-2-7-enterprise-edition-error-in-frontend-invalid-template-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f262349%2fmagento-2-2-7-enterprise-edition-error-in-frontend-invalid-template-file%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

          What other Star Trek series did the main TNG cast show up in?

          Berlina muro

          Berlina aerponto