cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 issues after installing Magento

SOLVED

Magento 2 issues after installing Magento

Hi, I've just installed Magento 2.4.4. I opened Magento project in browser and this shows me. Why there is no css and images ? Can someone help me please ? Thank you.

image.png

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Magento 2 issues after installing Magento

@f45879 

Please follow the below steps:

 

  1. At first, check the mode by running the below command:
    php bin/magento deploy:mode:show
  2. If the mode is set to other than the developer mode then, set the developer mode by running the below command:
    php bin/magento deploy:mode:set developer
  3. Give the proper permission using below command:
    chmod -R 777 generated/code pub/static var
  4. After completing the above steps, run the di:compile command:
    php bin/magento setup:di:compile

     

  5. Then run the deploy command as shown below:

    php bin/magento setup:static-content:deploy
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

View solution in original post

1 REPLY 1

Re: Magento 2 issues after installing Magento

@f45879 

Please follow the below steps:

 

  1. At first, check the mode by running the below command:
    php bin/magento deploy:mode:show
  2. If the mode is set to other than the developer mode then, set the developer mode by running the below command:
    php bin/magento deploy:mode:set developer
  3. Give the proper permission using below command:
    chmod -R 777 generated/code pub/static var
  4. After completing the above steps, run the di:compile command:
    php bin/magento setup:di:compile

     

  5. Then run the deploy command as shown below:

    php bin/magento setup:static-content:deploy
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.