javascript - Symfony2 中的 Ckfinder 和 Ckeditor,没有 bundle

标签 javascript php symfony ckeditor ckfinder

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

Ckeditor 已经运行良好,Ckfinder 与我的 Ckeditor 的文本区域相匹配。但是,当我想从服务器添加图片时,出现此错误:“出于安全原因,文件浏览器被禁用。请联系您的系统管理员并检查 CKFinder 配置文件。”

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

接下来我要做什么?

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

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

最佳答案

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

关于javascript - Symfony2 中的 Ckfinder 和 Ckeditor,没有 bundle ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33599340/

相关文章:

javascript - 是$http吗?是 $scope.$apply 吗?

javascript - 如何从我的 Eclipse 项目中删除 javascript 验证?

PHP Symfony Forms 如何访问嵌套对象中的属性

php - Symfony2 : how to implement custom user login & registration - get rid of FOSUSerBundle

javascript - 如何在 react 表中进行默认排序

javascript - 如何将 Knockout.js 绑定(bind)到现有的表格网格?

php - 我需要在 mongo php 中使用类似查询

php - Docker安装cURL失败(需要7.10.5以上版本)

php - Safari中如何处理字符为 'é'的URL?

symfony - 错误 : Could not determine access type for property "articlesCategories" in class "Articles"