Sugarcrm支持帮助文章安装和升级故障排除健康3d彩吧论坛输出健康3d彩吧论坛错误:供应商文件包含

健康3d彩吧论坛错误:供应商文件包含

概述

升级时必须运行健康3d彩吧论坛向导,以便评估您的实例移动到目标版本的能力。在健康3d彩吧论坛期间,可能会检测到各种类型的问题,这会影响您升级能力。本文将涵盖健康3d彩吧论坛报告的“供应商文件包含”错误。

症状

此错误会生成类似于恢复健康3d彩吧论坛中以下的输出:
vendorfilesinclusion

解析度

以下类型的语句将生成此运行状况3d彩吧论坛错误:

  • include()
  • include_once()
  • require()
  • require_once()

If these function calls reference a path that is relocated to the ./vendor/ directory in the target version, the health check will notify you of the offending files and occurrences found.

In this example, the require_once() statement identified in the health check error is referenced in the ./custom/include/vendorExample/Example.php file. The line of code referencing this hook is as follows:

require_once('include/nusoap/nusoap.php');

Since the file referenced in this Require_once() statement has been moved to the vendor directory, the line of code will be changed during the upgrade as follows to ensure functionality remains intact:

require_once('vendor/nusoap/nusoap.php');   

References to certain files in the ./include/Smarty/ directory may generate the "deletedFilesReferenced" health check error. For more information regarding the "deletedFilesReferenced" error, please refer to the article 健康3d彩吧论坛错误:DeletedFileSreferenced. Please note that the "Vendor files inclusion" error will also occur for references to files in the ./include/Smarty/ directory that remain after the upgrade.

Patrickm.

最后修改:2016-12-05 23:23:24