# Wiki Plugin for Kanboard: Attachment handling

**URL:** <https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327>\
**Category:** Plugins\
**Created:** [July 29, 2022, 9:42am UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327 "2022-07-29T09:42:39Z")\
**Posts on this page:** 10\
**Page:** 3

<div class="post-metadata">

**Author:** ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)\
**Post date:** [September 3, 2022, 12:56pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/41 "2022-09-03T12:56:31Z")

</div>

Well, there was, in a comment of one of your tasks.

---

<div class="post-metadata">

**Author:** ![Lukas](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@Lukas](https://kanboard.discourse.group/u/Lukas)\
**Post date:** [April 6, 2023, 2:48pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/42 "2023-04-06T14:48:12Z")

</div>

hi I am newbi here. I have similar problem - I have unzipped wiki and copy to plugin folder but it stil dont show any attachment. All work - I can choose or drag file, when I clicj upload I become noticication that everything is OK and next I didnt see any attachment i wiki 😕 Why?!

---

<div class="post-metadata">

**Author:** ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)\
**Post date:** [April 6, 2023, 8:38pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/43 "2023-04-06T20:38:23Z")

</div>

> [@Lukas](#):
>
> Why?!

It’s hard to say, with this amount of information.

---

<div class="post-metadata">

**Author:** ![Lukas](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@Lukas](https://kanboard.discourse.group/u/Lukas)\
**Post date:** [April 7, 2023, 7:18am UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/44 "2023-04-07T07:18:42Z")

</div>

I have first instal KB, nex I have add some plugins, wiki also. Then when I tried add atachments I have become info about error . After that I have uninstaled wiki plugin via maneger and I have unziped archive with newest wiki from github and copy it to plugin folder. So there I can add attachement but I didnt see that on wiki website, It is realy in wiki folder as file with different file name

 ![kanban](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/f/f9a7962e6a048d7c5015ffd17ec57fc8b91945ee.png)

---

<div class="post-metadata">

**Author:** ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)\
**Post date:** [April 7, 2023, 8:28am UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/45 "2023-04-07T08:28:23Z")

</div>

I remember, there was such an issue, but not any details on it. You should enable the debug log for more information. The PHP logging might help as well.

EDIT: Up to now, my best guess is, you need to run the 3 SQL statements on your database. But without any logs, it’s just a guess.

> [@Wiki-Plugin: Error Message when save Page with emojis](https://kanboard.discourse.group/t/wiki-plugin-error-message-when-save-page-with-emojis/2357/7):
>
> For MySQL, you can run the following three statements. ALTER TABLE wikipage CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4\_unicode\_ci; ALTER TABLE wikipage\_editions CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4\_unicode\_ci; ALTER TABLE wikipage\_has\_files CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4\_unicode\_ci; Or could patch your code or create a pull request with the entire snippet below. File Schema/Mysql.php: const VERSION = 9; // Allow unicode emojis in wikipages function versio…

---

<div class="post-metadata">

**Author:** ![creecros](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/creecros/32/156_2.png) [@creecros](https://kanboard.discourse.group/u/creecros)\
**Post date:** [April 7, 2023, 12:33pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/46 "2023-04-07T12:33:13Z")

</div>

Just tested with:

# Configuration

- Application version: v1.2.27
- PHP version: 8.1.16
- PHP SAPI: fpm-fcgi
- HTTP Client: cURL
- OS version: Linux 5.10.102.1-microsoft-standard-WSL2
- Database driver: mysql
- Database version: 8.0.32
- Browser: Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

Worked fine.

 ![image](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/9/9b5774161a5e7a6d6d7cab11009098743f9029dc.png)

I did notice if I tried to upload a file with a really long ass filename, it throws an error:

 ![image](https://global.discourse-cdn.com/free1/uploads/kanboard1/original/2X/1/1323fc4ba2c0cf3a9b086744c9a63f12ad29ff95.png)

`PHP message: [error] SQL Error[22001]: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'name' at row 1"`

---

<div class="post-metadata">

**Author:** ![lucas](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/lucas/32/1584_2.png) [@lucas](https://kanboard.discourse.group/u/lucas)\
**Post date:** [April 7, 2023, 4:16pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/47 "2023-04-07T16:16:40Z")

</div>

Waiting your Wiki Plugin release, Alfred

---

<div class="post-metadata">

**Author:** ![RainerBielefeld](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/rainerbielefeld/32/1076_2.png) [@RainerBielefeld](https://kanboard.discourse.group/u/RainerBielefeld)\
**Post date:** [April 8, 2023, 5:21pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/48 "2023-04-08T17:21:22Z")

</div>

I also had that problem. It vanished by some database macic by you in my data base.

---

<div class="post-metadata">

**Author:** ![alfredb](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alfredb/32/1051_2.png) [@alfredb](https://kanboard.discourse.group/u/alfredb)\
**Post date:** [April 9, 2023, 5:26am UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/49 "2023-04-09T05:26:48Z")

</div>

> [@RainerBielefeld](#):
>
> It vanished by some database macic by you in my data base.

No magic. But **you** gave all the information, that I could see the cause of the issue.

BTW, nice to see you being back!

---

<div class="post-metadata">

**Author:** ![alokranjancs](https://yyz2.discourse-cdn.com/free1/user_avatar/kanboard.discourse.group/alokranjancs/32/2079_2.png) [@alokranjancs](https://kanboard.discourse.group/u/alokranjancs)\
**Post date:** [May 17, 2025, 8:39pm UTC](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327/50 "2025-05-17T20:39:33Z")

</div>

> [@RainerBielefeld](#):
>
> anished by some database macic by you in my data ba

I also faced same issue, keeping the filename short solved it. Thanks!

[Previous page](https://kanboard.discourse.group/t/wiki-plugin-for-kanboard-attachment-handling/2327.md?page=2)
