2017-03-28 4 views
0

Ckfinder 3.4.1위한 쓰기 아니다 :임시 폴더 샘플에서 에러 따라 CKFinder

Fatal error: Uncaught exception 'CKSource\CKFinder\Exception\InvalidConfigException' with message 'The temporary folder is not writable for CKFinder' in /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php:330 Stack trace: #0 /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php(73): CKSource\CKFinder\Config->validate() #1 /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(91): [error] 30729#0: *100469095 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'CKSource\CKFinder\Exception\InvalidConfigException' with message 'The temporary folder is not writable for CKFinder' in /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php:330 
Stack trace: 
#0 /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/Config.php(73): CKSource\CKFinder\Config->validate() 
#1 /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(91): CKSource\CKFinder\Config->__construct('/home/stroylocm...') 
#2 /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/pimple/pimple/src/Pimple/Container.php(113): CKSource\CKFinder\CKFinder->CKSource\CKFinder\{closure}(Object(CKSource\CKFinder\CKFinder)) 
#3 /home/stroylocman/www/htdocs/ckfinder/core/connector/php/vendor/cksource/ckfinder/src/CKSource/CKFinder/CKFinder.php(185): Pimple\Container->offsetGet('config') 

임시 폴더 :

$의 구성 [ '의 tempDirectory'] = sys_get_temp_dir();

stroylocman

/tmp를 /이며,이 폴더는 777 권한이 있습니다.

그러나 샘플의 스크립트가 작동하지 않습니다. 뭐가 잘못 되었 니? Thx

답변

0

CKE 4.6.2 및 CKF 3.4.1에서 동일한 문제가있었습니다.

CKE 4.5.6 및 CKF 2.4.2와 함께 작동시킬 수있었습니다. I 함수에서 주석

/ckfinder/config.php에서

.. ..

function CheckAuthentication() 

또한 첨가 .. $baseDir 아래

// This clears the Drupal error at: /admin/reports/status 
// https://www.drupal.org/node/2519308#comment-10084260 
require_once '../../../../../modules/ckeditor/includes/filemanager.config.php'; 
$config['backends'][0]['root'] = $baseDir; 
$config['backends'][0]['baseUrl'] = $baseUrl; 

.