0

I have successfully installed Magento 2 on my xampp. But when I'm trying to get into the Admin section or see the front-end, then it is coming broken.

I have tried to fix the path issue but its of no use. Dashboard section pretends to load and keeps so, but never loads. The css and js seem's to be broken for the backend and frontend section.

Amrit Pal Singh
  • 1,616
  • 1
  • 15
  • 35
ghkroshnal
  • 1
  • 1
  • 2

2 Answers2

0
  • Delete everything under /pub/static folder except .htaccess file.
  • Open terminal and run following commands:

cd [magento_root_folder]

php bin/magento setup:static-content:deploy

  • Remove /var/cache and /var/page_cache folders.
  • Reload page and check.
Mohit Kumar Arora
  • 9,951
  • 7
  • 27
  • 55
0
  1. Add path = 'dev/static/sign' and value = 0 on the core_config_data table
  2. Run in command prompt - sudo chmod -R 777 pub/static var/generation var/cache var
  3. php bin/magento setup:upgrade
  4. php bin/magento setup:static-content:deploy
  5. php bin/magento cache:clean
Teja Bhagavan Kollepara
  • 3,816
  • 5
  • 32
  • 69
jassi
  • 1,344
  • 4
  • 29
  • 50