Hi,
After installing a free theme folder i am getting a error like below. Please someone help me to solve this.
Hello @Pranera,
Confirm the theme copied to the correct place.
<Magento root dir>/app/design/frontend/YourTheme
If theme copy correctly as per given path, Run below command and check again.
find . -type d -exec chmod 500 {} \;
find . -type f -exec chmod 400 {} \;
find var/ -type f -exec chmod 600 {} \;
find media/ -type f -exec chmod 600 {} \;
find var/ -type d -exec chmod 700 {} \;
find media/ -type d -exec chmod 700 {} \;
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento cache:clean
Also, Let us know still got an issue.
--
If my answer is useful, please Accept as Solution & give Kudos
You need to give permissions for your pub media folder,
Kindly give below permission to your magento system,
sudo find var pub/static pub/media -type f -exec chmod g+w {} \; sudo find var pub/static pub/media -type d -exec chmod g+ws {} \; sudo find ./pub/media -type d -exec chmod 777 {} \; sudo find ./pub/static -type d -exec chmod 777 {} \;
Now run command,
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento cache:flush