Magento2 问题整理
1. 后台登录失败:
提示:
Failed to send the message. Please contact the administrator You need to configure Two-Factor Authorization in order to proceed to your store's admin area An E-mail was sent to you with further instructions
解决:
docker环境进入php容器 : docker exec -ti dcroot-php74-1 /bin/bash
禁用 two Factor Authentication 模块。 php bin/magento module:disable Magento_TwoFactorAuth
2. 常用功能页面
商品详情页 layout:view/frontend/layout/catalog_product_view.xml
购物车页面 layout:view/frontend/layout/checkout_cart_index.xml
支付页面 layout:view/frontend/layout/checkout_index_index.xml
3. 前端主页报错:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: c1e31fe62e7cf41553e2e17c6dce6db934722d81234b4da4f3962d4bf7b67463
解决:
https://www.simicart.com/blog/exception-printing-disabled-default-security-reasons/
php bin/magento deploy:mode:set developer