/**
* --------------------------------------------------------------------------
* Error Views Path
* --------------------------------------------------------------------------
* This is the path to the directory that contains the 'cli' and 'html'
* directories that hold the views used to generate errors.
*
* Default: APPPATH.'Views/errors'
*
* @var string
*/
public $errorViewPath = APPPATH . 'Views/errors';
1条答案
按热度按时间jw5wzhpr1#
此错误来自 “缺少错误视图文件”。
1.确保
app/Views/errors/
下有所有相关的文件和目录。1.确保正确设置了文件
app/Config/Exceptions.php
中的以下配置变量。