I have successfully install magento on my system. I am using PHP version 7.1.28, Magento CLI version 2.1.17 and window 10. I have attached the success screen. When I run front-end, There is no sample data in it. also when I run admin panel nothing visible for me.
I have suffered a lot but not getting any solution. I am new on magento version 2. Please help me to solve the problem.
3
Answers
You can check below links for similar issue.
https://magento.stackexchange.com/questions/102671/magento-2-sample-data-installed-but-not-showing
https://magento.stackexchange.com/questions/163145/magento-2-sample-data-not-showing
Basically you should run few basic commands after installation. Have you tried doing that?
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
Hope this helps!
As I noticed we are having some issue in Magento 2 with windows operating system, where it was not able to fetch the directory path correctly. For that, need to apply some core fix. try with below solution it might help you.
Navigate to below file
vendormagentoframeworkViewElementTemplateFileValidator.php
In function, isPathInDirectories added below line
$realPath = str_replace(”, ‘/’, $realPath);
or refer below code function
It may be a file permission issue. Make sure you have a right file permissions