Magento 2.0: disabled by default for security reasons错误解决方法 |
| 发表者:admin分类:应用服务2016-06-30 08:58:56 阅读[2927] |
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.
转载请标明出处【Magento 2.0: disabled by default for security reasons错误解决方法】。
《www.micoder.cc》
虚拟化云计算,系统运维,安全技术服务.
| Tags: | [阅读全文...] |

最新评论