I'm trying out Magento 2 using localhost with wamp and I can't get the admin page to load/display?
I do get a page with index.php but it doesn't display the luma logo as in examples I've seen, so unsure if this is correct?
Below - first image is the admin page which is just a dark grey blank page - second image is the index page
Asked
Active
Viewed 2,379 times
1
Eddie
- 139
- 1
- 13
-
Check your log files – Vignesh Bala Dec 03 '18 at 07:29
-
I'm not familiar with magento, I'm just playing about could you provide more details. Thanks Vignesh. – Eddie Dec 03 '18 at 07:36
-
check system requirements for magento and yours configuration as well – Vignesh Bala Dec 03 '18 at 07:37
-
I know PHP version is 7.2.10 – Eddie Dec 03 '18 at 07:48
-
check log files in following path var/log – Vignesh Bala Dec 03 '18 at 08:54
-
I'm also getting this issue – PathToLife Dec 03 '18 at 17:35
-
[2018-12-03 17:35:48] main.CRITICAL: Invalid template file: 'C:/wamp64/www/magento/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo' [] [] [2018-12-03 17:35:48] main.CRITICAL: Invalid template file: 'C:/wamp64/www/magento/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login' [] [] – PathToLife Dec 03 '18 at 17:37
1 Answers
1
This is broken because the recent github commit:
Fix Saurabh Dwivedi:
IN www-rootdir\vendor\magento\framework\View\Element\Template\File\Validator.php
Replace in the protected function isPathInDirectories($path, $directories):
$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
PathToLife
- 229
- 1
- 4
- 14

