Hello,
So I have an odd problem. Using the Codazon theme, I started to optimize the site with 45K products on a server that was under-powered. During that time I started to receive really odd errors - and finally had to restore the site, delete the products and start over.
Now, if I restore the site, it looks great and functions - but over time the scripts that load seem to degrade.
l2li.net - this is what I have now with NO input from me. It simply is degrading day by day.
Any ideas?
Thank you in advance,
DK
Solved! Go to Solution.
Can you try this command via SSH:
php bin/magento deploy:mode:show
And see your App current Mode. If its in developer mode run this command
php bin/magento setup:static-content:deploy -f
and if its in production mode run this command without -f
Hi @LanLabs (DK)
Looking at the link you have shared - it seems like assets (CSS, JavaScripts) are not loading on your site after you restore the same.
I would suggest you to run below commands from the SSH Terminal in sequence :
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:clean php bin/magento cache:flush
Run this all commands in sequence and then check !
it will works !
Hi @LanLabs
Here you need to run this commands from the root directory of Magento.
so go to root directory of the Magento on your web server and then run this commands
Then check it will works !
Actually, now I lost the logo too!
Hi @LanLabs
Then it seems like you have issue with theme only.
I would suggest you to raise a ticket on the theme portal and they will help you for the same.
Hope it helps !
Can you try this command via SSH:
php bin/magento deploy:mode:show
And see your App current Mode. If its in developer mode run this command
php bin/magento setup:static-content:deploy -f
and if its in production mode run this command without -f
Hi DK,
It sounds like you're facing a frustrating situation with your website. The degradation of scripts over time can be indicative of various issues, including server performance, plugin conflicts, or even malware. Here are a few steps you could take to troubleshoot:
1. **Server Performance**: Ensure that your server is adequately powered to handle the load of your website, especially with 45K products. Consider upgrading your hosting plan or optimizing server settings if necessary.
2. **Plugin Conflicts**: Check for any conflicting plugins or scripts on your website. Sometimes, certain plugins can cause performance issues or conflicts with other scripts. Try disabling plugins one by one to identify if any specific one is causing the degradation.
By systematically troubleshooting these areas, you may be able to pinpoint the root cause of the script degradation and take appropriate steps to resolve it. Good luck, and feel free to reach out if you need further assistance!
Best regards,
divad