警告:MPDF 库不存在
Warning : MPDF library does not exist
我已经下载了更新版的 Mpdf 并与 open-cart 一起使用。它给我以下警告:
Warning : MPDF library does not exist, please download and upload. For
upload MPDF library
如何解决这个警告?我不认为我可以在我的实时网站上安装作曲家。我在 system > library > mpdf 目录中上传了 MPDF 库,但问题仍然存在。检查以下代码:
if(!is_file(DIR_SYSTEM . 'library/mpdf/vendor/autoload.php')){
$this->log->write('Warning : MPDF library does not exist, please download and upload it. for upload MPDF library https://github.com/mpdf/mpdf');
echo 'Warning : MPDF library does not exist, please download and upload. For upload MPDF library <a target="_blank" href="https://github.com/mpdf/mpdf">Click here</a>';
exit;
}
error_reporting(0);
require_once(DIR_SYSTEM.'library/mpdf/vendor/autoload.php');
请在system librabry
目录下设置mpdf库
我已经下载了更新版的 Mpdf 并与 open-cart 一起使用。它给我以下警告:
Warning : MPDF library does not exist, please download and upload. For upload MPDF library
如何解决这个警告?我不认为我可以在我的实时网站上安装作曲家。我在 system > library > mpdf 目录中上传了 MPDF 库,但问题仍然存在。检查以下代码:
if(!is_file(DIR_SYSTEM . 'library/mpdf/vendor/autoload.php')){
$this->log->write('Warning : MPDF library does not exist, please download and upload it. for upload MPDF library https://github.com/mpdf/mpdf');
echo 'Warning : MPDF library does not exist, please download and upload. For upload MPDF library <a target="_blank" href="https://github.com/mpdf/mpdf">Click here</a>';
exit;
}
error_reporting(0);
require_once(DIR_SYSTEM.'library/mpdf/vendor/autoload.php');
请在system librabry
目录下设置mpdf库