Php Yii2:项目区域不存在-无法在reportico中写入项目
安装yii2 reportico模块并尝试输入管理员密码后,出现以下错误:Php Yii2:项目区域不存在-无法在reportico中写入项目,php,yii,yii2,reportico,Php,Yii,Yii2,Reportico,安装yii2 reportico模块并尝试输入管理员密码后,出现以下错误: Projects area does not exist - cannot write project 配置变量“path_to_projects”指向存在的项目文件夹 如何解决此问题?在更改以下文件之前,我遇到了此错误: vendor\reportico\yii2-reportico\components\reportico.php 第5468行 发件人: $proj_parent = find_best_loca
Projects area does not exist - cannot write project
配置变量“path_to_projects”指向存在的项目文件夹
如何解决此问题?在更改以下文件之前,我遇到了此错误:
vendor\reportico\yii2-reportico\components\reportico.php
第5468行
发件人:
$proj_parent = find_best_location_in_include_path($this->admin_projects_folder);
致:
swutil.php文件中的find_best_location_in_include_path()函数中的某些内容与提供的路径不符,并且不返回任何内容。我在为Yi2设置repotico时遇到此错误,我通过更改以下内容解决了此问题:
$proj_parent = find_best_location_in_include_path( $this->admin_projects_folder);
--which is around line 5737(notepad++)
致:
错误消失了
$proj_parent = find_best_location_in_include_path( $this->admin_projects_folder);
--which is around line 5737(notepad++)
$proj_parent = $this->admin_projects_folder;