>백엔드 개발 >PHP 튜토리얼 >ckfinder mac下报错 linux正常

ckfinder mac下报错 linux正常

WBOY
WBOY원래의
2016-06-06 20:09:021271검색

<code>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</code>

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

回复内容:

<code>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</code>

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

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.