1

enter image description here

When I click on Products or another category the options are not displayed.

enter image description here

Does anyone has the solution of this problem?

closed as unclear what you're asking by Murtuza Zabuawala, Rakesh Jesadiya, Marius Dec 30 '16 at 7:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

3

The issue is occur because after install magento 2 you haven't deploy its static content. So magento 2 unable to find your css and js. To resolve this issue run below commands in the root directory of your site:

  1. php bin/magento deploy:mode:set developer (set the mode of environment is developer)
  2. php bin/magento setup:di:compile(it will generate all the proxies and dependencies )
  3. php bin/magento setup:static-content:deploy (it will deploy all the static content)
  4. php bin/magento cache:clean and php bin/magento cache:flush(clear the cache)

It will resolve the issue.

Also for more refernce check this link - No images or JS on new Magento 2 installation

  • When I write the command, show me the next message: Could not open input file: bin/magento And the same with the others commands – Jaaziel Hinojosa Dec 31 '16 at 20:29
  • But the link that you added worked me, thanks so much – Jaaziel Hinojosa Dec 31 '16 at 22:04
0

After install magento you have to run command deploy static content with your locale site.

php bin/magento setup:static-content:deploy [your locale site]

Hope it help you.

0
  1. Go to your Magento Installation.
  2. Open app/etc/di.xml.
  3. Make Changes in <item name="view_preprocessed" xsi:type="object">Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink</item>.
  4. Replace Symlink with Copy.
  5. Go to pub/static folder.
  6. Delete everything except .htaccess file.

Not the answer you're looking for? Browse other questions tagged or ask your own question.