DRUPAL用fckeditor编辑,上传图片,出现错误。
this connector is disabled please chedk the editor/filemanager/connectors/php/config.php
解决办法如下:
打开上述出错文件,/wwwroot/sites/all/modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php
有这样一段话:
// SECURITY: You must explicitly enable this "connector". (Set it to "true").
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
// authenticated users can access this file or use some kind of session checking.
$Config['Enabled'] = false ;
false 改为 true,即可。
然后又出现这个错误:
error creating folder redirect index.php/image can't create redirect directory
找到$Config['UserFilesPath'] = '/userfiles/',在根目录下,建立userfiles文件夹,权限777。即可。