虚拟化容器,大数据,DBA,中间件,监控。

Magento 2.0: disabled by default for security reasons错误解决方法

30 06月
作者:admin|分类:应用管理

Exception errors are stored as number named files in var/report/ except if the directory permissions are so messed up that Magento either cannot write there or tries to store its cache in the system /tmp directory.

Use an sftp client to locate and read the files in the var/report/ directory.

The hack used in Magento 1.x to show the stack trace on screen instead of writing it to a file is a security hole if not reversed on a live site. The best example available in the old Magento forums was a stack trace posted with clearly visible login credentials. Bad if you get a Google Dork (archived stack trace) off it.

For Magento 2, /errors/local.xml is moved to /pub/errors/local.xml

Copy local.xml.sample to local.xml and make modifications to fit your server environment.

enter image description here

浏览2347 评论0
返回
目录
返回
首页
centos6/7 安装php5.5,php5.6,php5.7环境 L2TP/IPSec一键安装脚本