cancel
Showing results for 
Search instead for 
Did you mean: 

Admin panel and Luma broken on install.

SOLVED

Admin panel and Luma broken on install.

I'm using Xampp 7.2. After completing the installation, I tried to login to the Admin panel. However, the admin login page was not coming. There was a gray blank screen. I found some solutions and implemented them. I have successfully logged in, but the admin panel is missing some icons like the picture I added last status.error-1.png

 

This is the last situation on the home page, I couldn't fix it yet.
 
error-2.png
 
will these issues be resolved in the next release?
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Admin panel and Luma broken on install.

Hi @BeReal,

There may be some issue with permissions on the server in generations of static files. And make sure that you have ". htaccass" file in pub/static folder.

Try the following command to setup proper permission to magento directory.

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

After it run the following magento commands in the sequence.

Upgrade and compile command are optional.

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

I hope it will help you!

View solution in original post

1 REPLY 1

Re: Admin panel and Luma broken on install.

Hi @BeReal,

There may be some issue with permissions on the server in generations of static files. And make sure that you have ". htaccass" file in pub/static folder.

Try the following command to setup proper permission to magento directory.

find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento

After it run the following magento commands in the sequence.

Upgrade and compile command are optional.

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

I hope it will help you!