You are not logged in.
My friends, hope you're doing good
I'm not sure if it's the version I use (GLPI 10.0.6), but when I create a new TICKET and attach more than one file to it, finally it only uploads only one file (usually the first one I select). I have also noticed that using the API https://websiteglpi/apirest.php/Ticket and adding the parameters correctly it also accepts me to add several files but after recording I see on the web that it has only uploaded one file.
Faced with this, I have two possible solutions:
1. Allow you to upload more than one file. Has anyone been able to solve this problem with v. GLPI 10.0.6 ??
2. Indicate that only one file is allowed to be uploaded. To do this, through the web interface I must place a message when creating the ticket (http://websiteglpi/front/ticket.form.php) indicating that it is only accepted to attach a file, but I cannot find the source where I can add that message. Similarly the API must return a message indicating that, only one file can be attached, (here I do think I can locate the file, but if someone gives me support with this, welcome)
I appreciate your kind support in advance
Regards
Offline
Should be fixed/added in GLPI 11.
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
Hi, cconard96
Thanks for your help, just now is there any way to display a message stating that only one file is allowed to be uploaded, before you run the create / upgrade ticket ??
If possible, which file should I modify to trigger this message??
Offline
The fix I linked to is only for the API. I am not aware of the issue on the web interface but GLPI 10.0.6 is fairly old and there have been hundreds of fixes in GLPI 10 since that release.
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
My friends, hope you're doing good
I'm not sure if it's the version I use (GLPI 10.0.6), but when I create a new TICKET and attach more than one file to it, finally it only uploads only one file (usually the first one I select). I have also noticed that using the API https://websiteglpi/apirest.php/Ticket and adding the parameters correctly it also accepts me to add several files but after recording I see on the web that it has only uploaded one file.
Faced with this, I have two possible solutions:
1. Allow you to upload more than one file. Has anyone been able to solve this problem with v. GLPI 10.0.6 ??
2. Indicate that only one file is allowed to be uploaded. To do this, through the web interface I must place a message when creating the ticket (http://websiteglpi/front/ticket.form.php) indicating that it is only accepted to attach a file, but I cannot find the source where I can add that message. Similarly the API must return a message indicating that, only one file can be attached, (here I do think I can locate the file, but if someone gives me support with this, welcome)
I appreciate your kind support in advance
Regards
Buen día jorgealex72@gmail.com
en principio pareciera ser un tema de como tienes configurado php.
Revisa que versión de php estás utilizando con tu GLPI
Luego edita tu archivo php.ini en /etc/php/8.2/apache2/php.ini (En mi caso 8.2; si vas a Configuracion/General/Sistema vas a ver tu versión de php.)
Busca la variable max_file_uploads = 10 (en mi caso es 10)
si tiene ; deberás quitarlo para habilitarla
En el archivo php.ini aparece así con el significado de la misma
; Maximum number of files that can be uploaded via a single request
max_file_uploads = 10
Luego reinicia tu apache2
PD: Si esto solucionó (o no) tu inconveniente; coméntalo para otros que pudieran tener el mismo problema.
Offline
Hi Willysaurio ..!
Thank you very much for your support, but it's not the problem, my php.ini is set to max_file_uploads=20
Offline