cancel
Showing results for 
Search instead for 
Did you mean: 

fresh install not rendering frontend or admin

SOLVED

fresh install not rendering frontend or admin

I've just done a fresh install of V2.4.3-p2 to match our current site on windows, using Xammp
and I have the front end loading and the admin loading but doesn't seem to have any style loading, just text?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: fresh install not rendering frontend or admin

Hello @mallongstoaf62 

 

Here are some possible solutions:

  1. Check your web server configuration. Make sure that your web server is configured to serve static files from the pub/static folder. You can check this by opening the httpd.conf file and looking for the following line:
<Directory /var/www/html/magento2/pub/static>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

If you do not see this line, you will need to add it to the httpd.conf file.

Clear your browser's cache and cookies. Sometimes, a corrupted cache or cookies can prevent Magento from loading styles correctly. To clear your browser's cache and cookies, follow these steps:

  • For Chrome, click on the three dots in the top right corner of the browser window and select "More Tools" > "Clear browsing data".
  • For Firefox, click on the three lines in the top right corner of the browser window and select "Options" > "Privacy & Security" > "Clear Recent History".
  • For Edge, click on the three dots in the top right corner of the browser window and select "Settings" > "Privacy, search, and services" > "Choose what to clear when you close your browser".

Redeploy the static content. To redeploy the static content, run the following command from the Magento root directory:

php bin/magento setup:static-content:deploy

This will redeploy all of the static content for your Magento website.

I hope you have tried upgrade,caching and flushing commands already.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

View solution in original post

2 REPLIES 2

Re: fresh install not rendering frontend or admin

Hello @mallongstoaf62 

 

Here are some possible solutions:

  1. Check your web server configuration. Make sure that your web server is configured to serve static files from the pub/static folder. You can check this by opening the httpd.conf file and looking for the following line:
<Directory /var/www/html/magento2/pub/static>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

If you do not see this line, you will need to add it to the httpd.conf file.

Clear your browser's cache and cookies. Sometimes, a corrupted cache or cookies can prevent Magento from loading styles correctly. To clear your browser's cache and cookies, follow these steps:

  • For Chrome, click on the three dots in the top right corner of the browser window and select "More Tools" > "Clear browsing data".
  • For Firefox, click on the three lines in the top right corner of the browser window and select "Options" > "Privacy & Security" > "Clear Recent History".
  • For Edge, click on the three dots in the top right corner of the browser window and select "Settings" > "Privacy, search, and services" > "Choose what to clear when you close your browser".

Redeploy the static content. To redeploy the static content, run the following command from the Magento root directory:

php bin/magento setup:static-content:deploy

This will redeploy all of the static content for your Magento website.

I hope you have tried upgrade,caching and flushing commands already.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: fresh install not rendering frontend or admin

Worked on the Front end not the admin