You are not logged in.
Pages: 1
Hello everyone. After upgrading to version 10.0.3, the documents attached to the notes do not open, a new page opens with the following contents:
Please note: iconv(): An invalid character was detected in the input string in C:\wamp64\www\glpi\src\Toolbox.php on line 705
Warning: It is not possible to change the header information - the headers have already been sent (output started in C:\wamp64\www\glpi\src\Toolbox.php:705 ) in C:\wamp64\www\glpi\src\Toolbox.php on line 707
Warning: It is not possible to change the header information - the headers have already been sent (the output started in C:\wamp64\www\glpi\src\Toolbox.php:705 ) in C:\wamp64\www\glpi\src\Toolbox.php on line 709
How can this be corrected?
Last edited by hvantomas (2022-10-07 07:57:13)
Offline
It is probably from a plugin adding things to the output during their initialization (which happens for every request).
There was already code added to clear the output buffer before sending the file (if your PHP has "output_buffering" option enabled which it should be by default).
However, in some cases it may not have worked.
There are two patches that will add a different method in 10.0.4.
The main one:
https://github.com/glpi-project/glpi/pull/12802
A fix to avoid a warning when there is nothing to clear:
https://github.com/glpi-project/glpi/pull/12856
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
Pages: 1