redmine_ckeditor icon indicating copy to clipboard operation
redmine_ckeditor copied to clipboard

Ckeditor 500 error

Open sysnetadmin2 opened this issue 2 years ago • 2 comments

image

image

images upload 500 error

my redmine version - 5.0.4

os - ubuntu 20.04

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Started GET "/redmine/rich/files/?CKEditor=settings_welcome_text&CKEditorFuncNum=4&default_style=original&allowed_styles=thumb%2Crich_thumb%2Coriginal&insert_many=false&type=image&scoped=false&viewMode=grid" for 10.22.1.13 at 2023-01-30 22:15:22 +0900

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Processing by Rich::FilesController#index as HTML

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Parameters: {"CKEditor"=>"settings_welcome_text", "CKEditorFuncNum"=>"4", "default_style"=>"original", "allowed_styles"=>"thumb,rich_thumb,original", "insert_many"=>"false", "type"=>"image", "scoped"=>"false", "viewMode"=>"grid"}

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Current user: admin (id=1)

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Rendered plugins/redmine_ckeditor/rich/app/views/rich/files/index.html.erb within layouts/rich/application (Duration: 2.4ms | Allocations: 892)

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Rendered layout plugins/redmine_ckeditor/app/views/layouts/rich/application.html.erb (Duration: 18.9ms | Allocations: 5235)

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] Completed 500 Internal Server Error in 26ms (ActiveRecord: 3.0ms | Allocations: 6547)

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43]

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] ActionView::Template::Error (undefined local variable or method `ckeditor_javascripts' for #ActionView::Base:0x0000000002c448):

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 4:

Rich Browser

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 5: <%= javascript_heads %>

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 6: <%= stylesheet_link_tag "application", :plugin => "redmine_ckeditor" %>

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 7: <%= ckeditor_javascripts %>

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 8: <%= javascript_include_tag "browser", :plugin => "redmine_ckeditor" %>

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 9: <%= csrf_meta_tags %>

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] 10:

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43]

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] plugins/redmine_ckeditor/app/views/layouts/rich/application.html.erb:7

App 71758 stderr: [553c5d3c-c311-4c20-8e51-5d892673fc43] lib/redmine/sudo_mode.rb:61:in `sudo_mode'

sysnetadmin2 avatar Jan 30 '23 13:01 sysnetadmin2

image

sysnetadmin2 avatar Jan 30 '23 13:01 sysnetadmin2

I think this is a duplicate for https://github.com/a-ono/redmine_ckeditor/issues/345

sylvainfaivre avatar Nov 20 '23 15:11 sylvainfaivre