Magento fix 500
sudo find app/code lib var pub/static pub/media vendor app/etc \( -type d -or -type f \) -exec sudo chmod g+w {} \; && sudo chmod o+rwx app/etc/env.phpsudo chmod -R 777 /var/www/html
1.product image place holder
Replicate: Stores>Configuration>Catalog>Catalog>Product Image Placeholders>baseSomething went wrong while saving this configuration: Can't create directory /var/www/magento.abmgood.com/var/generation/Magento/Cron/Model/Config/Backend/Product/Alert/.
Method :
chmod -R 777 /var/www/html/magento2/var/generation/Magento/Cron/Model
2.Fix There are no commands defined in the “cache” namespace.2.Fix There are no commands defined in the “cache” namespace.
[InvalidArgumentException]There are no commands defined in the "cache" namespace.
Method :
sudo chmod -R 777 var pub
3. Permission Problem when run “bin/magento setup:upgrade”
sudo chmod -R 777 var/generation/ var/view_preprocessed/ var/cache/ pub/static/
4.magento Deployment config file config.php is not writable.
sudo chmod -R 777 app/etc/
上一篇
没有更早的文章了
下一篇
重阳小令
标签
热门文章
- 1 Magento ver. 2.2.0-dev - A technical prob... 16579
- 2 ECS git pull 代码很慢的问题 14713
- 3 玩客云监工客户端 13205
- 4 Magento 2 UI Form Validation 13122
- 5 Codeigniter SSL 强制重定向至https访问 13006
- 6 magento2 完整卸载模块的正确姿势 12640
- 7 Magento fix 500 12280
- 8 Magento index is locked by another reinde... 10738
- 9 Ubuntu删除日志文件 9012
- 10 Magento 2安装ElasticSearch 6.x搜索引擎-Ub... 8621
微信公众号