You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've faced the same problem as the one described here as the issue 306. #306
I'm getting error 500 when I click CKeditor Settings link. Would appreciate a fix for the case.
Processing by SettingsController#plugin as HTML
Parameters: {"id"=>"redmine_ckeditor"}
Current user: Sigvard (id=5)
Rendering settings/plugin.html.erb within layouts/admin
Rendered plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb (81.9ms)
Rendered settings/plugin.html.erb within layouts/admin (83.4ms)
Completed 500 Internal Server Error in 154ms (ActiveRecord: 48.5ms)
ActionView::Template::Error (undefined local variable or method `ckeditor_javascripts' for #<#Class:0x000055a8f34c6e08:0x000055a8f4a50440>):
1: <%= ckeditor_javascripts %>
2: <%= stylesheet_link_tag 'editor', :plugin => 'redmine_ckeditor'%>
3: <%= stylesheet_link_tag 'selector', :plugin => 'redmine_ckeditor'%>
4:
plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb:1:in _plugins_redmine_ckeditor_app_views_settings__ckeditor_html_erb___4245038663652444399_47092075316380' app/views/settings/plugin.html.erb:6:in block in _app_views_settings_plugin_html_erb__3986888229509949413_47092073992740'
app/views/settings/plugin.html.erb:4:in _app_views_settings_plugin_html_erb__3986888229509949413_47092073992740' lib/redmine/sudo_mode.rb:63:in sudo_mode'
The text was updated successfully, but these errors were encountered:
Hi,
i have some Problem.
Replace first line (plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb)
<%= ckeditor_javascripts %>
by
<%= RedmineCkeditor::Helper.instance_method(:ckeditor_javascripts).bind(self).call %>.
and restart migrate.
This works for me.
I've faced the same problem as the one described here as the issue 306. #306
I'm getting error 500 when I click CKeditor Settings link. Would appreciate a fix for the case.
Processing by SettingsController#plugin as HTML
Parameters: {"id"=>"redmine_ckeditor"}
Current user: Sigvard (id=5)
Rendering settings/plugin.html.erb within layouts/admin
Rendered plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb (81.9ms)
Rendered settings/plugin.html.erb within layouts/admin (83.4ms)
Completed 500 Internal Server Error in 154ms (ActiveRecord: 48.5ms)
ActionView::Template::Error (undefined local variable or method `ckeditor_javascripts' for #<#Class:0x000055a8f34c6e08:0x000055a8f4a50440>):
1: <%= ckeditor_javascripts %>
2: <%= stylesheet_link_tag 'editor', :plugin => 'redmine_ckeditor'%>
3: <%= stylesheet_link_tag 'selector', :plugin => 'redmine_ckeditor'%>
4:
plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb:1:in
_plugins_redmine_ckeditor_app_views_settings__ckeditor_html_erb___4245038663652444399_47092075316380' app/views/settings/plugin.html.erb:6:in
block in _app_views_settings_plugin_html_erb__3986888229509949413_47092073992740'app/views/settings/plugin.html.erb:4:in
_app_views_settings_plugin_html_erb__3986888229509949413_47092073992740' lib/redmine/sudo_mode.rb:63:in
sudo_mode'The text was updated successfully, but these errors were encountered: