2016-04-01 20 views
0

安裝yii2 reportico模塊,並試圖輸入管理員密碼後,可以不寫項目,出現此錯誤:Yii2:項目區不存在 - 在reportico

Projects area does not exist - cannot write project 

配置變量「path_to_projects」指向一個項目文件夾是存在的。

我該如何解決這個問題?

回答

0

我得到這個錯誤,直到我改變了以下文件:

vendor\reportico\yii2-reportico\components\reportico.php 

線5468

來源:

$proj_parent = find_best_location_in_include_path($this->admin_projects_folder); 

要:

$proj_parent = $this->admin_projects_folder; 

在find_best_location_in_incl東西swutil.php文件中的ude_path()函數不喜歡所提供的路徑並且不返回任何內容。