欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

ckfinder mac下报错 linux正常

程序员文章站 2022-05-20 20:58:03
...
Fatal error: Uncaught exception 'CKSource\CKFinder\Exception\InvalidConfigException' with message 'The temporary folder is not writable for CKFinder' in /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php:330 Stack trace: #0 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php(73): CKSource\CKFinder\Config->validate() #1 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(91): CKSource\CKFinder\Config->__construct('/Volumes/disk02...') #2 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/pimple/pimple/src/Pimple/Container.php(113): CKSource\CKFinder\CKFinder->CKSource\CKFinder\{closure}(Object(CKSource\CKFinder\CKFinder)) #3 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(185): Pimple\Container->offsetGet('config') #4 /Volum in /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php on line 330

ckfinder 3.1
系统是 mac os , 然后运行就是这个错误,文件权限7777 和 755 都试过了
然后把代码传到linux服务器 就可以运行
求解为什么mac下不行

回复内容:

Fatal error: Uncaught exception 'CKSource\CKFinder\Exception\InvalidConfigException' with message 'The temporary folder is not writable for CKFinder' in /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php:330 Stack trace: #0 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php(73): CKSource\CKFinder\Config->validate() #1 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(91): CKSource\CKFinder\Config->__construct('/Volumes/disk02...') #2 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/pimple/pimple/src/Pimple/Container.php(113): CKSource\CKFinder\CKFinder->CKSource\CKFinder\{closure}(Object(CKSource\CKFinder\CKFinder)) #3 /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(185): Pimple\Container->offsetGet('config') #4 /Volum in /Volumes/disk02/www/jiuyuan/public/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php on line 330

ckfinder 3.1
系统是 mac os , 然后运行就是这个错误,文件权限7777 和 755 都试过了
然后把代码传到linux服务器 就可以运行
求解为什么mac下不行

相关标签: php ckfinder