【发布时间】:2018-10-14 15:46:19
【问题描述】:
大家好! 我想使用 CKFinder 3 PHP 版本。
我从官网下载了CKFinder zip文件。
然后我安装 XAMPP 7.2.4 来部署 CKFinder。
我在 80 端口启动 Apache Web 服务器。
然后我将 CKFinder 文件复制到 /XAMPP/htdocs/
为了保证PHP环境正确,我按照官网创建了一个test.php,里面包含以下代码:
我也跟着官网更新config.php文件:
$config['authentication'] = function () {
return true;
};
现在一切正常,但是当我尝试访问 http://localhost/ckfinder/ckfinder.html 的 ckfinder.html 时,发生了一些错误。
我可以看到错误日志:
[04-May-2018 10:29:57 Europe/Berlin] PHP Fatal error: Uncaught CKSource\CKFinder\Exception\InvalidConfigException:
The temporary folder is not writable for CKFinder in
/Applications/XAMPP/xamppfiles/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php:331
【问题讨论】: