Symfony2 中的 Ckfinder 和 Ckeditor,没有捆绑包

Ckfinder & Ckeditor in Symfony2 with no bundle

我想在 Symfony2 中简单地使用 Ckfinder 和 Ckeditor,而不需要任何包。

Ckeditor 已经很好用了,Ckfinder 和我的Ckeditor 的textarea 相匹配。但是,当我想从服务器添加图片时,出现此错误:"The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file."

我根本没有配置 Ckfinder,只是给了 ckfinder/userfiles 目录的 0777 权限。

接下来我要做什么?

PS : 已经在互联网上查看 http://docs.cksource.com/ckfinder3/#!/guide/dev_ckeditor and on http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Installation 指南。对于普通 PHP 网站很容易,但对于 Symfony2 网站则不同。

信息:我只是在我的包的 /Resources/public/js 目录中导入 ckfinderckeditor 目录。

您必须使用 this guide 配置 CKFinder。 显示此消息是因为您必须向安装添加某种 authentication