I have installed Magento2.1.7, icons are not showing in admin panel i have cleared browser history. when i click the product it showing me nothing.i am new in Magento. Please any suggestions .
Thanks in advance
I have installed Magento2.1.7, icons are not showing in admin panel i have cleared browser history. when i click the product it showing me nothing.i am new in Magento. Please any suggestions .
Thanks in advance
8
Answers
It seems that css and fonts files are not generated properly in your Magento. Please do the following
Run commands for static-content deploy & Indexing in the cmd.
1. /bin/magento setup:static-content:deploy
2. /bin/magento indexer:reindex
3. /bin/magento cache:clean
4. /bin/magento cache:flush
Use below command:
1:
rm -rf var/*
2:
rm -rf pub/static/*
3:
php bin/magento setup:static-content:deploy
4:
chmod -R 7777 var pub/static
Remove all files from pub/static folder but not .htaccess
Go to app/etc/di.xml
by
This problem exist if your magento installation breaks in the middle and installation done by try again.
Note: php should be your
PATH
in my casef:xamppphpphp
Here is what worked for me https://www.youtube.com/watch?v=-j4rpab1deM
app/etc/di.xml
open the file
di.xml
and use your text editor to searchSymlink
(line 645)Replace
Symlink
withCopy
(C must be capital)i.e it becomes
...
<item name="view_preprocessed" xsi:type="object">MagentoFrameworkAppViewAssetMaterializationStrategyCopy</item>
...
save the file and reload your browser (optional – clear your browser cache before reloading page).
That solved my problem, no need to delete any folder, watch the video link above.
Please check php version. If php version is more than 7.0.X then magento 2 is not supported.
check the admin panel language, and be sure to run di-compile in that language ex.:
php bin/magento setup:static-content:deploy -f en_US en_GB