1

I have installed Magento 2.3.2 on localhost (Win10/XAMPP) successfully but I had blank admin page and distorted front-end.

Thankfully, following question Blank admin page after installing Magento 2.3 on Windows 10 and few other threads I have restored front-end, but back-end is still distorted.

enter image description here

As I understand it, it was an issue with wrong path which I've updated as suggested and now I can login to back-end but it is still distorted.

enter image description here

ejderuby
  • 710
  • 5
  • 21
Anupam
  • 1,100
  • 2
  • 20
  • 31
  • Can you edit the question with a clear question for us? Thanks. – ejderuby Aug 07 '19 at 12:12
  • You will almost certainly find the files don't exist, the error you're getting is a red herring. Have a look here and at my answer which provides an explanation and a means of proving the files don't actually exist: https://magento.stackexchange.com/questions/152625/magento2-css-was-blocked-due-to-mime-type-mismatch-x-content-type-options-nosn – PedroKTFC Aug 07 '19 at 12:35
  • @PedroKTFC I agree it's a 404, I am trying to figure out why it is there! Any ideas? – Anupam Aug 07 '19 at 13:15
  • This explains how I build magento and get all the files created: https://stackoverflow.com/questions/56430125/magento-2-install-windows-admin-broken-links/56439184#56439184 – PedroKTFC Aug 07 '19 at 13:35

1 Answers1

0

You have to redeploy static contents by running static content deploy command:

php bin/magento setup:static-content:deploy -f // -f to force deploy  

Don't forget to clear cache, after.

fmsthird
  • 1,745
  • 2
  • 17
  • 34
  • well it gave me this [In File.php line 151: The contents from the "Q:/xampp/htdocs/magento/pub/static/adminhtml/Magento/backend/en_US/css/styles.css" file can' t be read. Warning!file_get_contents(Q:/xampp/htdocs/magento/pub/static/adminhtml/Magento/backend/en_US/css/styles.css): failed to open stream: No such file or directory] any idea how we can get this working. Thanks – Anupam Aug 07 '19 at 13:12
  • can you include the line of codes wherein you applied the fix you found in the other post – fmsthird Aug 07 '19 at 13:32
  • permissions problem? – Konstantinos Aug 07 '19 at 17:07