No user and password boxes when trying to login to Magento 2 admin












0















After successfully installing Magento 2.3.0, I tried to login to the admin panel for the first time.
The background color of the page that came up is grey like the Magento page, but it was a blank page. The User and Password fields don't appear.



I tried uninstalling and reinstalling 4 times.
I am using WAMP on windows 10.



How do I get my login fields?
Thanks










share|improve this question





























    0















    After successfully installing Magento 2.3.0, I tried to login to the admin panel for the first time.
    The background color of the page that came up is grey like the Magento page, but it was a blank page. The User and Password fields don't appear.



    I tried uninstalling and reinstalling 4 times.
    I am using WAMP on windows 10.



    How do I get my login fields?
    Thanks










    share|improve this question



























      0












      0








      0








      After successfully installing Magento 2.3.0, I tried to login to the admin panel for the first time.
      The background color of the page that came up is grey like the Magento page, but it was a blank page. The User and Password fields don't appear.



      I tried uninstalling and reinstalling 4 times.
      I am using WAMP on windows 10.



      How do I get my login fields?
      Thanks










      share|improve this question
















      After successfully installing Magento 2.3.0, I tried to login to the admin panel for the first time.
      The background color of the page that came up is grey like the Magento page, but it was a blank page. The User and Password fields don't appear.



      I tried uninstalling and reinstalling 4 times.
      I am using WAMP on windows 10.



      How do I get my login fields?
      Thanks







      admin magento2.3.0 admin-login






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 hour ago









      Shoaib Munir

      1,083521




      1,083521










      asked Dec 15 '18 at 23:00









      user75480user75480

      11




      11






















          2 Answers
          2






          active

          oldest

          votes


















          0















          1. Enable Developer mode


          Using Command: php bin/Magento deploy:mode:set developer



          Using Manually: Change default to developer in <installation_dir>app/etc/env.php.



          <?php
          return [
          ......
          'MAGE_MODE' => 'developer',
          ......
          ]



          1. Enable display_errors in app/bootstrap.php by uncomment as below


          ini_set('display_errors', 1);






          share|improve this answer


























          • I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

            – user75480
            Dec 16 '18 at 10:37













          • Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

            – Prema Karthik
            Dec 16 '18 at 16:22











          • It exists there

            – user75480
            Dec 16 '18 at 22:09



















          0














          check the following file,




          vendormagentoframeworkViewElementTemplateFileValidator.php
          Than Line 139




          if (0 === strpos($path, $directory)) {



          Invalid template file:in Magento 2.2.7






          share|improve this answer
























          • I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

            – user75480
            Dec 16 '18 at 22:05











          • Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

            – Prema Karthik
            Dec 17 '18 at 5:17













          • I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

            – user75480
            Dec 17 '18 at 13:54











          • Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

            – user75480
            Dec 17 '18 at 14:14











          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%2f254774%2fno-user-and-password-boxes-when-trying-to-login-to-magento-2-admin%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















          1. Enable Developer mode


          Using Command: php bin/Magento deploy:mode:set developer



          Using Manually: Change default to developer in <installation_dir>app/etc/env.php.



          <?php
          return [
          ......
          'MAGE_MODE' => 'developer',
          ......
          ]



          1. Enable display_errors in app/bootstrap.php by uncomment as below


          ini_set('display_errors', 1);






          share|improve this answer


























          • I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

            – user75480
            Dec 16 '18 at 10:37













          • Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

            – Prema Karthik
            Dec 16 '18 at 16:22











          • It exists there

            – user75480
            Dec 16 '18 at 22:09
















          0















          1. Enable Developer mode


          Using Command: php bin/Magento deploy:mode:set developer



          Using Manually: Change default to developer in <installation_dir>app/etc/env.php.



          <?php
          return [
          ......
          'MAGE_MODE' => 'developer',
          ......
          ]



          1. Enable display_errors in app/bootstrap.php by uncomment as below


          ini_set('display_errors', 1);






          share|improve this answer


























          • I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

            – user75480
            Dec 16 '18 at 10:37













          • Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

            – Prema Karthik
            Dec 16 '18 at 16:22











          • It exists there

            – user75480
            Dec 16 '18 at 22:09














          0












          0








          0








          1. Enable Developer mode


          Using Command: php bin/Magento deploy:mode:set developer



          Using Manually: Change default to developer in <installation_dir>app/etc/env.php.



          <?php
          return [
          ......
          'MAGE_MODE' => 'developer',
          ......
          ]



          1. Enable display_errors in app/bootstrap.php by uncomment as below


          ini_set('display_errors', 1);






          share|improve this answer
















          1. Enable Developer mode


          Using Command: php bin/Magento deploy:mode:set developer



          Using Manually: Change default to developer in <installation_dir>app/etc/env.php.



          <?php
          return [
          ......
          'MAGE_MODE' => 'developer',
          ......
          ]



          1. Enable display_errors in app/bootstrap.php by uncomment as below


          ini_set('display_errors', 1);







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 16 '18 at 9:16









          Supravat M

          1,14611626




          1,14611626










          answered Dec 16 '18 at 5:41









          Prema KarthikPrema Karthik

          1165




          1165













          • I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

            – user75480
            Dec 16 '18 at 10:37













          • Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

            – Prema Karthik
            Dec 16 '18 at 16:22











          • It exists there

            – user75480
            Dec 16 '18 at 22:09



















          • I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

            – user75480
            Dec 16 '18 at 10:37













          • Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

            – Prema Karthik
            Dec 16 '18 at 16:22











          • It exists there

            – user75480
            Dec 16 '18 at 22:09

















          I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

          – user75480
          Dec 16 '18 at 10:37







          I changed to developer mode and uncommented the ini_set. I then cleared my browser's cache. When I tried to open my admin login page I got the following: 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'C:/wamp64/www/nisuhon/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js' The message goes on. How can I fix this? Thanks

          – user75480
          Dec 16 '18 at 10:37















          Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

          – Prema Karthik
          Dec 16 '18 at 16:22





          Make sure require_js.phtml exists in Magento_Backend module(view/adminhtml/templates/page/js/require_js.phtml). Folder name and file names should be case sensitive.

          – Prema Karthik
          Dec 16 '18 at 16:22













          It exists there

          – user75480
          Dec 16 '18 at 22:09





          It exists there

          – user75480
          Dec 16 '18 at 22:09













          0














          check the following file,




          vendormagentoframeworkViewElementTemplateFileValidator.php
          Than Line 139




          if (0 === strpos($path, $directory)) {



          Invalid template file:in Magento 2.2.7






          share|improve this answer
























          • I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

            – user75480
            Dec 16 '18 at 22:05











          • Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

            – Prema Karthik
            Dec 17 '18 at 5:17













          • I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

            – user75480
            Dec 17 '18 at 13:54











          • Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

            – user75480
            Dec 17 '18 at 14:14
















          0














          check the following file,




          vendormagentoframeworkViewElementTemplateFileValidator.php
          Than Line 139




          if (0 === strpos($path, $directory)) {



          Invalid template file:in Magento 2.2.7






          share|improve this answer
























          • I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

            – user75480
            Dec 16 '18 at 22:05











          • Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

            – Prema Karthik
            Dec 17 '18 at 5:17













          • I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

            – user75480
            Dec 17 '18 at 13:54











          • Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

            – user75480
            Dec 17 '18 at 14:14














          0












          0








          0







          check the following file,




          vendormagentoframeworkViewElementTemplateFileValidator.php
          Than Line 139




          if (0 === strpos($path, $directory)) {



          Invalid template file:in Magento 2.2.7






          share|improve this answer













          check the following file,




          vendormagentoframeworkViewElementTemplateFileValidator.php
          Than Line 139




          if (0 === strpos($path, $directory)) {



          Invalid template file:in Magento 2.2.7







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 16 '18 at 16:25









          Prema KarthikPrema Karthik

          1165




          1165













          • I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

            – user75480
            Dec 16 '18 at 22:05











          • Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

            – Prema Karthik
            Dec 17 '18 at 5:17













          • I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

            – user75480
            Dec 17 '18 at 13:54











          • Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

            – user75480
            Dec 17 '18 at 14:14



















          • I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

            – user75480
            Dec 16 '18 at 22:05











          • Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

            – Prema Karthik
            Dec 17 '18 at 5:17













          • I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

            – user75480
            Dec 17 '18 at 13:54











          • Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

            – user75480
            Dec 17 '18 at 14:14

















          I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

          – user75480
          Dec 16 '18 at 22:05





          I now get: Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 6 Any ideas? Thanks

          – user75480
          Dec 16 '18 at 22:05













          Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

          – Prema Karthik
          Dec 17 '18 at 5:17







          Sometimes this issue come because of space in PHP start tag of controller facing same issue just removed whitespace in: <?php namespace AppHttpControllersAuth; removing the space resolved my error stackoverflow.com/questions/21433086/…

          – Prema Karthik
          Dec 17 '18 at 5:17















          I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

          – user75480
          Dec 17 '18 at 13:54





          I tried removing all whitespaces manually and also used codebeautify.org I still get the same error as before, it just says line 1 instead of line 6. Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in C:wamp64wwwnisuhonvendormagentoframeworkViewElementTemplateFileValidator.php on line 1 Can't understand where I'm going wrong. Any ideas?

          – user75480
          Dec 17 '18 at 13:54













          Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

          – user75480
          Dec 17 '18 at 14:14





          Even when there is nothing before the Namespace declaration I get the same error: <?php namespace MagentoFrameworkViewElementTemplateFile;

          – user75480
          Dec 17 '18 at 14:14


















          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%2f254774%2fno-user-and-password-boxes-when-trying-to-login-to-magento-2-admin%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

          Alcázar de San Juan

          Griza ansero

          Donsieders