1
votes

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
I'm voting to close this question as off-topic because Stack Overflow is a programming-related Q&A site. Your question is not about programming. Perhaps you should post it on magento.stackexchange.com instead?Enigmativity
ok np @Enigmativity :)Bhu

8 Answers

2
votes

Here is what worked for me https://www.youtube.com/watch?v=-j4rpab1deM

  1. Open your project folder and go to app/etc/di.xml
  2. open the file di.xml and use your text editor to search Symlink (line 645)

  3. Replace Symlink with Copy (C must be capital) i.e it becomes ... <item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Copy</item> ...

  4. 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.

1
votes

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

1
votes

This problem exist if your magento installation breaks in the middle and installation done by try again.

php /bin/magento setup:static-content:deploy
php /bin/magento indexer:reindex
php /bin/magento cache:clean
php /bin/magento cache:flush

Note: php should be your PATH in my case f:\xampp\php\php

0
votes

It seems that css and fonts files are not generated properly in your Magento. Please do the following

  1. Remove pub/static
  2. run php bin/magento setup:static-content:deploy in your CLI.
  3. Clear the cache and check.
0
votes

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

0
votes

Please check php version. If php version is more than 7.0.X then magento 2 is not supported.

0
votes

Remove all files from pub/static folder but not .htaccess

Go to app/etc/di.xml

Replace ('Symlink' --> 'Copy')

Magento\Framework\App\View\Asset\MaterializationStrategy\**Symlink**

by

Magento\Framework\App\View\Asset\MaterializationStrategy\**Copy**
0
votes

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