alexbevi / redmine_knowledgebase

A knowledgebase plugin for Redmine
452 stars 199 forks source link

Attachment cannot upload #377

Open uart-aplex opened 4 years ago

uart-aplex commented 4 years ago

I am using this plugin with redmine 4.1.1.

I created a new category and a new article with 2 files attachment in PDF format, then will get 500 internal error..

Then I go back to previous page, this time I create new article with 1 PDF file attachment only without get any error, But then I found there is no any file attachment in this article, it seems the file upload has some trouble.

ghost commented 4 years ago

i have something similar in 4.1.1. I can upload my attachment. But when i click the file i get a 404 Internal Error. I am able to download the file, but not able to view from hyperlink in redmine.

tiurlumbangaol commented 4 years ago

you may check the solution here : https://github.com/alexbevi/redmine_knowledgebase/issues/351

rename : /opt/redmine/apps/redmine/htdocs/plugins/redmine_knowledgebase/app/views/attachments/_links.html.erb

to become : _links.html.erb.bak

lauer commented 1 year ago

@tiurlumbangaol this does not work for me :/

the !imagename! is still converted to https://.../articles/XX/<imagename>