magento Bugs

1.product image place holder

Replicate: Stores>Configuration>Catalog>Catalog>Product Image Placeholders>base

Something 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.

[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/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容