- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Magengo 2 local to Live setup issue
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 |
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
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.
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
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.
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
Just comment .htaccess file /pub/static/.htaccess but not working
http://103.29.106.30/magento232/
#RewriteRule ^version.+?/(.+)$ $1 [L]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
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.
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
How did remove the versions? Please tell me step.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
To remove the version, follow any of the two methods:
Method 1 - From the Admin Panel
- Go to Stores > Configuration > Advanced > Developer > Sign
- Select No for Static Files
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
If you've found my answer useful, please give"Kudos" and "Accept as Solution"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
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/
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magengo 2 local to Live setup issue
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