繁体   English   中英

Redmine和ckeditor uploadimage插件

[英]Redmine and ckeditor uploadimage plugin

在带有CK编辑器插件的Redmine 3.4.3上,我们无法使该uploadimage ckeditor插件正常工作。

我们应该在哪里放置uploadimage文件夹? 在\\ plugins \\ redmine_ckeditor \\ assets \\ ckeditor-contrib \\ plugins文件夹中? 但是当我这样做(并重新启动apache)时,ckeditor图标全部消失了!

根据https://github.com/a-ono/redmine_ckeditor/issues/216的描述,它可能比这还复杂得多!

能否请您检查我做错了什么:

1-从https://ckeditor.com/cke4/addon/uploadimage下载uploadimage ckeditor插件(此插件中只有一个文件plugin.js!)

2-解压缩\\ plugins \\ redmine_ckeditor \\ assets \\ ckeditor-contrib \\ plugins文件夹中的uploadimage文件夹

3-重启Apache

遗漏了什么 ? 我应该编辑哪个config.js文件? 我应该在那里写什么? 我应该已经安装CKFinder吗?

谢谢

西里尔

我在Debian Stretch Linux上进行了测试,并得到了相同的错误。

但是,apache错误文件显示:

age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /usr/share/redmine: An error occurred while starting up the preloader.
  Error ID: 778fb98c
  Error details saved to: /tmp/passenger-error-wXVYHK.html
  Message from application: Could not create directory /usr/share/redmine/instances/default/public/plugin_assets/redmine_ckeditor/ckeditor-contrib/plugins/uploadimage: Permission denied @ dir_s_mkdir - /usr/share/redmine/instances/default/public/plugin_assets/redmine_ckeditor/ckeditor-contrib/plugins/uploadimage (RuntimeError)

然后,通过下面的命令提供正确的权限后,插件可以正常工作:

chown -R www-data:www-data /usr/share/redmine/instances/default/public/plugin_assets/*

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM