项目

一般

简介

插件 » Redmine Questions 问答管理插件

Redmine Questions

创建常见问答、知识库和新案报告页面。支持问题置顶,你可以置顶某个问题或答案,使其显示在顶部,更容易找到。

发布于: https://www.redmineup.com/pages/plugins/questions
兼容于: Redmine 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.6.*

最新版本: 1.0.5 更新日期: 2024-02-15 22:51

评论

添加评论

guo hongxing超过 2 年 之前添加

如果不修改字符集,试试单独修改votes这张表的引擎试试呢?

ALTER TABLE votes ENGINE=InnoDB;

胡 亚东超过 2 年 之前添加

Redmin版本:4.1.1
Mysql版本:MariaDB Version: 10.4.10 - Port defined for MariaDB: 3306

提示下面错误:百度说是字符集问题,楼主能不能帮忙解决下

D:\Redmine\redmine-4.1.1>bundle exec rake redmine:plugins:migrate NAME=redmine_q
uestions
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated an
d will be removed in Rails 6.0. (called from instance_eval at D:/Redmine/redmine
-4.1.1/config/routes.rb:370)
DEPRECATION WARNING: Using a dynamic :action segment in a route is deprecated an
d will be removed in Rails 6.0. (called from instance_eval at D:/Redmine/redmine
-4.1.1/config/routes.rb:370)
1 ActsAsVotableMigration: migrating ======================================
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: Specified key was too long; max key length is 1000 bytes: CREATE
INDEX `index_votes_on_voter_id_and_voter_type_and_vote_scope` ON `votes` (`vot
er_id`, `voter_type`, `vote_scope`)
D:/Redmine/redmine-4.1.1/plugins/redmine_questions/db/migrate/001_acts_as_votabl
e_migration.rb:22:in `up’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:510:in `up’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:542:in `migrate_plugin’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:483:in `migrate’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:494:in `migrate’
D:/Redmine/redmine-4.1.1/lib/tasks/redmine.rake:135:in `block (3 levels) in <top
(required)>'

Caused by:
ActiveRecord::StatementInvalid: Mysql2::Error: Specified key was too long; max k
ey length is 1000 bytes: CREATE INDEX `index_votes_on_voter_id_and_voter_type_a
nd_vote_scope` ON `votes` (`voter_id`, `voter_type`, `vote_scope`)
D:/Redmine/redmine-4.1.1/plugins/redmine_questions/db/migrate/001_acts_as_votabl
e_migration.rb:22:in `up’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:510:in `up’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:542:in `migrate_plugin’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:483:in `migrate’
D:/Redmine/redmine-4.1.1/lib/redmine/plugin.rb:494:in `migrate’
D:/Redmine/redmine-4.1.1/lib/tasks/redmine.rake:135:in `block (3 levels) in <top
(required)>'

redmineplugins.cn Admin大约 3 年 之前添加

@XIAO Sam 没有安装成功,重新执行 bundle exec rake redmine:plugins:migrate

XIAO Sam大约 3 年 之前添加

项目配置时报错:
ActionView::Template::Error (Mysql2::Error: Table 'redmine.questions_sections’ doesn’t exist: SHOW FULL FIELDS FROM `questions_sections`):
1: <% @project_sections = QuestionsSection.for_project(@project).sorted >
2: <h3><%= l(:label_questions_sections_plural) %></h3>
3:
4: <
if @project_sections.any? %>

plugins/redmine_questions/app/models/questions_section.rb:36:in `block in <class:QuestionsSection>'
plugins/redmine_questions/app/views/projects/_questions_settings.html.erb:1:in `_f50b0d504d7c19706bd051749f06705c’
app/views/common/_tabs.html.erb:21:in `block in _da4a68e2c80efd413749475a05e829eb’
app/views/common/_tabs.html.erb:20:in `each’
app/views/common/_tabs.html.erb:20:in `_da4a68e2c80efd413749475a05e829eb’
app/helpers/application_helper.rb:439:in `render_tabs’
app/views/projects/settings.html.erb:3:in `_b6398ce542ad1055b0671bc034ddb1d9’
lib/redmine/sudo_mode.rb:65:in `sudo_mode’

redmineplugins.cn Admin超过 3 年 之前添加

通过报错判断是插件直接冲突造成的,有多个插件同时去修改“项目设置“页面,从而导致页面崩溃。建议依次排查下有哪些插件会修改“项目设置”页面。

Shangguan Bin超过 3 年 之前添加

安装完这个插件点击项目的设置页面报下面日志错误了

Started GET "/redmine/projects/redmine/settings” for 127.0.0.1 at 2020-10-08 08:12:51 +0800
Processing by ProjectsController#settings as HTML
Parameters: {“id"⇒“redmine”}
Current user: sgb (id=5)
Rendering projects/settings.html.erb within layouts/base
Rendered projects/settings.html.erb within layouts/base (1167.7ms)
Completed 500 Internal Server Error in 2111ms (ActiveRecord: 40.0ms)

ActionView::Template::Error (super: no superclass method `project_settings_tabs’ for #<#<Class:0x000000000c2efb10>:0x000000000c2dfb70>
Did you mean? project_settings_tabs_with_questions):
1: <h2><%=l(:label_settings)%></h2>
2:
3: <%= render_tabs project_settings_tabs >
4:
5: <
html_title(l(:label_settings)) -%>

plugins/redmine_code_review/lib/code_review_projects_helper_patch.rb:22:in `project_settings_tabs’
plugins/redmine_questions/lib/redmine_questions/patches/projects_helper_patch.rb:39:in `project_settings_tabs_with_questions’
plugins/redmine_code_review/lib/code_review_projects_helper_patch.rb:22:in `project_settings_tabs’
app/views/projects/settings.html.erb:3:in `_app_views_projects_settings_html_erb__1030153034_102229360’
lib/redmine/sudo_mode.rb:65:in `sudo_mode’

Chen Snowman超过 3 年 之前添加

@xu feng:最好描述下你的操作过程是什么样的?

xu feng超过 3 年 之前添加

Could not find gem 'redmine_crm’ in any of the gem sources listed in your Gemfile.

由 匿名用户 在 将近 4 年 之前添加

在系统设置里确认下questions的查看权限

guo yunxia将近 4 年 之前添加

装完该插件,只用管理员显示菜单(帮助与支持),成员不显示是为什么?