首頁 >後端開發 >php教程 >ckfinder mac下报错 linux正常

ckfinder mac下报错 linux正常

WBOY
WBOY原創
2016-06-06 20:09:021294瀏覽

<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