I have installed Magento Version 2.3.2 on the local window system XAMPP server. It is working fine but when I have transferred the code on the live CentOS system than many files not loaded. My project URL: http://103.29.106.30//magento232/ Request URL/pub/static/version1571050386/frontend/Magento/luma/en_AU/Magento_Ui/templates/tooltip/tooltip Status code: 404 Not Found |
Hello @Anees Magento
Run the below commands:
php bin/magento setup:static-content:deploy -f php bin/magento cache:flush php bin/magento cache:clean chmod -R 777 var pub generated
Hope it helps.
I have already done below command. but issue not solved
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento cache:clean
chmod -R 777 var pub generated
Hello, @Anees Magento again!
Remove version from the URL and run all the commands again.
You may refer https://magento.stackexchange.com/questions/159728/why-its-adding-version-no-in-js-and-css-url-in-ma...
Thanks.
Just comment .htaccess file /pub/static/.htaccess but not working
http://103.29.106.30/magento232/
#RewriteRule ^version.+?/(.+)$ $1 [L]
https://drops.meetanshi.com/tb0rPW
As you can see in the above screenshot, the version is not yet removed.
This is a permission issue.
Please remove the version from the URL and then run the commands.
It will resolve the issue.
Thanks.
How did remove the versions? Please tell me step.
To remove the version, follow any of the two methods:
Method 1 - From the Admin Panel
Method 2 - From the Database
insert into core_config_data (config_id, scope, scope_id, path, value) values (null, 'default', 0, 'dev/static/sign', 0);
Thanks
Just removed the version but same issue shows. I am not able to open admin menu popup store,System and also frontend sub menu.
http://103.29.106.30/magento232/
Just removed the version but same issue shows. I am not able to open admin menu popup store,System and also frontend sub menu.
Request URL: /pub/static/frontend/Magento/luma/en_AU/Magento_Ui/templates/modal/modal-popup