21
Apr
How to Resolve Blank page Issue after installing Magento 2.x
lib\internal\Magento\Framework\View\Element\Template\File
at line 133 you find function
protected function isPathInDirectories($path, $directories)
in this function you will find following line of code :
$realPath = $this->fileDriver->getRealPath($path);
do replace with it following line of code
$realPath = str_replace('\\', '/', $this->fileDriver->getRealPath($path));
and run following command at Command prompt or terminal at project folder
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
now you can refresh the website again