I am creating magento website and run stativcontent deploy -f after that i get Fatal error: Uncaught Zend_Cache_Exception: cache_dir "/home/soft/public_html/megahaat.tk/var/cache/" is not writable in .. how to fix it
Asked
Active
Viewed 165 times
0
-
if you are using linux environment Run the command from magento root directory "chmod -R 0777 var/ pub/ generated/" to give permission – Hariharan Jul 25 '18 at 05:16
4 Answers
0
If you are using Linux in your magento root directory in command line
run sudo chmod -R 777 var/cache/
Yasir Latif
- 196
- 13
-
-
can you share url or screen shot if styles and java script is not loading please make sure you run php bin/magento setup:static-content:deploy – Yasir Latif Jul 25 '18 at 05:42
0
Give Permission Cache folder
Run the command from magento root directory
sudo chmod -R 777 /var/cache
Also give the permission of pub/static folder
sudo chmod -R 777 /pub
Rahul Singh
- 1,650
- 2
- 19
- 40
0
1) Please set var folder 777 permission to use command in CMD sudo chmod -R 777 /var or sudo chmod -R 777 /pub
php bin/magento cache:flush
php bin/magento cache:clean
2) When you using FTP please set permission
Shorabh
- 1,508
- 12
- 18
0
If you are using Linux in your magento root directory in command line run sudo chmod -R 777 var/cache/
after
php bin/magento indexer:reindex
php bin/magento cache:flush
php bin/magento cache:clean
Rv Singh
- 1,617
- 15
- 34
