Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ckeditor 500 error #353

Open
sysnetadmin2 opened this issue Jan 30, 2023 · 2 comments
Open

Ckeditor 500 error #353

sysnetadmin2 opened this issue Jan 30, 2023 · 2 comments

Comments

@sysnetadmin2
Copy link

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: <title>Rich Browser</title>

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
Copy link
Author

image

@sylvainfaivre
Copy link

I think this is a duplicate for #345

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants