Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.06 minutes in March 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Icons images and javascript files missing from frontend in Magento

by | Mar 24, 2021

Are your icons, images & javascript files missing from the frontend after applying the update command in Magento 2.4.1? We can help you resolve this problem.

This can happen when we use any incorrect command to update the Magento.

Here at Bobcares, we receive requests to resolve Magento errors as part of our Server Management Services for Magento site owners, web hosts, and online service providers.

Today, in this blog we shall see how our Support Engineers tackle this Magento problem.

 

Dealing with icons, images, and javascript files missing from frontend problem in Magento

Recently, one of our customers approached us telling us that all the icons, images, and javascript files stopped displaying in the Magento website frontend. This happened after applying the update command in Magento 2.4.1.

Here is the command he used for upgrading the Magento version.

php magento setup:install

As a result of the above command, the below message appears.

[Progress: 1347 / 1347]
[SUCCESS]: Magento installation complete.
[SUCCESS]: Magento Admin URI: /admin_1d6ja1

Then after the installation, the images, icon, and javascript files didn’t display properly in the frontend of the website.

Now, let us see how our Support Engineers resolve this Magento problem.

First, we make sure if the customer was in a production mode or in a developer mode.

Since he was in production mode, we suggest running the below command to upgrade the Magento.

php bin/magento setup:upgrade --keep-generated

Here, in the above command, the –keep-generated is an optional argument that does not update static view files. We can use it only in production mode. It should not be used in developer mode.

Finally, after that, we can clean the cache. For that, we run the below command.

bin/magento cache:clean

[Need any further assistance in fixing Magento errors? – We are available 24*7]

 

Conclusion

In short, icons, images, and javascript files might not appear if we use the wrong Magento update command to upgrade the version. Today, we saw how our Support Engineers found a solution for this Magento error for our customer.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *