0

Please find below attached screenshot

Magento 2.1.6

Manoj Patel
  • 101
  • 2
  • please try: https://magento.stackexchange.com/questions/224912/magento-2-2-4-white-blank-page-after-setupdicompile-on-windows-10 OR https://magento.stackexchange.com/questions/252188/magento-2-2-7-admin-panel-blank-page – Pawan Jan 06 '19 at 14:54

2 Answers2

0

The problem is caused due to the permission issue on the static files.

To fix this issue;

1) Open app/etc/env.php and set 'MAGE_MODE' => 'developer',.

2) Go to file path pub/static/

3) Check whether .htaccess file is available (Press Ctrl+H to view the hidden file).

4) If not available, based on the Magento version, get .htaccess file in the file path pub/static/ and copy into your file structure.

5) Finally, clear your browser and Magento cache and check it. (optionally you can run the below command to clear Magento Cache)

php bin/magento cache:flush

P.S: If you still encounter the same issue after trying above steps, copy files under pub/static to some other location in your PC and delete all files under pub/static. Clean Magento/Browser cache again and try back.

Oshan
  • 1,952
  • 2
  • 16
  • 23
0

Go to your magento 2 installation directory through terminal and run these commands.

icacls "C:\PathToMagentoInstallationRoot\" /grant Users:F

icacls "C:\PathToMagentoInstallationRoot\pub\" /grant Users:F

icacls "C:\PathToMagentoInstallationRoot\generated\" /grant Users:F

icacls "C:\PathToMagentoInstallationRoot\var\*" /grant Users:F

php bin/magento deploy:mode:set developer

php bin/magento cache:clean

php bin/magento cache:flush

del C:\PathToMagentoInstallationRoot\generated\*

php bin/magento setup:di:compile