You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-12-05 12:58:17

WebGreg
Member
Registered: 2020-02-27
Posts: 740

[SOLVED] I can see the file code in the knowledge base

Hi

1. I'm creating a new knowledge base article.
2. I add, for example, a 20KB gif.
3. I click the Add button to save.
4. It seems OK.

5. I replace the file with another gif - 500KB (or I create a new article and add this gif).
6. I can see the added gif.
7. I save the change.
8. I can't see the gif, only the html tag

I don't know if it has to do with file size. I don't think so, as I recently had a similar situation purely with the numbering setting (< li >).

5ae1b25065c36.jpg

7acb37d61ac59.jpg

GLPI: 10.0.4

Last edited by WebGreg (2023-01-04 13:08:38)


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#2 2022-12-12 13:38:14

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: [SOLVED] I can see the file code in the knowledge base

After update to 10.0.6-dev, the problem persists.


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#3 2022-12-13 14:19:09

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: [SOLVED] I can see the file code in the knowledge base

Are there any warnings/errors in the PHP or SQL GLPI log around this time?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#4 2022-12-14 12:34:50

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: [SOLVED] I can see the file code in the knowledge base

Hi cconard96

No. I can open a github ticket and add the problematic file as an example.


https://github.com/glpi-project/glpi/issues/13606

Last edited by WebGreg (2022-12-14 12:46:34)


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#5 2023-01-02 17:04:45

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: [SOLVED] I can see the file code in the knowledge base

Up


--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB