错误描述

修复过程,两种均可:

1、更新 UploadFileServiceImpl.php 文件,路径如下:

edusoho/src/Topxia/Service/File/Impl/UploadFileServiceImpl.php

2、更新 UploadFileServiceImpl.php 文件,注释掉两行代码:

164行://if($setting[‘upload_mode’] == ‘cloud’) $setting[‘upload_mode’]=’local’;

205行://if($setting[‘upload_mode’] == ‘cloud’) $setting[‘upload_mode’]=’local’;

 

更新文件:

edusoho课程附件bug更新

 

最后发现:没有安装PHP扩展fileinfo!