Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-mvc/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Yii2:项目区域不存在-无法在reportico中写入项目_Php_Yii_Yii2_Reportico - Fatal编程技术网

Php 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

安装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_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;