Hi Community
I've installed on a Windows 11 Magento using Xampp, Composer, Elastic Search. The installation went through without any errors. However, when I now go to the URL http://localhost/magento/pub/, I only get the image attached. the web page is not displayed correctly:
When I open the DevTools in the Edge browser the following errors are visible:
The system looks for the files in the following path:
http://localhost/magento/static/version1667226828/frontend/Magento/luma/en_US/mage/calendar.css
When I check the file path, there is no static folder there either. This folder is located at: C:\xampp\htdocs\magento\pub\static
But de the version subfolder does not exist there:
Do I need to adjust any configuration somewhere so that it finds the data in the correct location?
Thank you for your support
If you are facing the theme issue after installation in Magento 2. You can follow these steps :
INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0) ON DUPLICATE KEY UPDATE value = 0;
UPDATE <dbname>.core_config_data SET value = '0' WHERE core_config_data.path LIKE '%web/seo/use_rewrites%';
sudo rm -rf var/di var/generation/ var/page_cache/ var/cache/ pub/static/frontend/ pub/static/adminhtml/ pub/static/_requirejs/ pub/static/deployed_version.txt
sudo chmod -R 777 var/* pub/*
sudo bin/magento setup:upgrade
sudo php bin/magento setup:static-content:deploy
After these steps, you will be able to see the proper theme.
If you find our reply helpful, please give us kudos.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9