I installed magento2, and installed sw Porto template, after i clicked "import" in demo installation, admin panel refreshed automatically, and all menu freezed, except dash board
i find error 500 happen through developer tool in chrome, css or Js files cannot be loaded.
Hi @omnison
Try to run following command in the magento root
php bin/magento setup:static-content:deploy
Read this http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands-static-view.html
How to diagnose «500 Internal Server Error»: https://mage2.pro/t/854
I had also a error 500 when trying to login to /admin
I got redirected to /admin/admin/index/index
Not sure how I got my solution to finally view the /admin but this steps I took:
Hope this helps someone.
check php version Magento ?2.0 requires PHP >7.0 in .htaccess, you can point to the needed php version using the correct handler:
<code>#enable php 7
AddHandler application/x-httpd-php70 .php
</code>
you could also enable development mode in .htaccess to get detailed PhP error messages:
<code>
SetEnv MAGE_MODE developer
</code>
Please check .htaccess first.possibility of module not enabled. Because i faced this issue because of mod_version module so I enabled it from apache and now it's working. I had installed magento version 2 via composer.
You can check also with replacing your .htaccess file Or renamed it to confirm issue of .htaccess file.
-and if css not properly working then please deploy static content
php bin/magento setup:static-content:deploy
http://devdocs.magento.com/guides/v2.1/config-guide/cli/config-cli-subcommands-static-view.html
You need switch magento to developer mode for find exact error text. Issue can be related with permissions on files, static content, errors in templates. << Snipped >>