You are not logged in.
Pages: 1
Our GLPI was sending emails for 6 months until 2 days ago. We didn't change any configuration or didn't do any update but suddenly our queuednotifications started to be stuck.
and I saw a cron alert. However when I checked from logs cron seems working fine
you may find related images below.
Here I decided to check php-errors.log and it showed me the error
and I decided to check line 283 which it was pointing for DivisionByZero Error and it brought me below one
it seems that $initial_width variable takes 0 thats why it gives division by zero error and queuednotifications are stuck
btw $initial_width in the php file defined as below:
$initial_width = $img_infos[0];
How can I solve this issue ? Anybody faced with it before?
GLPI Version : 10.0.6
Last edited by lones (2023-10-30 18:15:14)
As long as you don't stop, it doesn't matter how slow you go
Offline
Hi,
This issues has been fixed in most recent versions. You should upgrade to GLPI 10.0.10.
Offline
Hi,
This issues has been fixed in most recent versions. You should upgrade to GLPI 10.0.10.
Long live mate !
It solved the issue but after update I see a warning and it tells me to check update documantation however I couldn't find info about it, can you give me a suggestion about it too ?
Thank you in advance
I have done "chown -R www-data glpi"
after update can it be caused because of this ?
also my /etc/apache2/sites-available/000-default.conf as belows
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ServerName xx.xx.com
SSLEngine on
SSLCertificateFile /etc/ssl/certs/STAR_xxx_com.crt
SSLCertificateKeyFile /etc/ssl/private/xxx_com.key
SSLCertificateChainFile /etc/ssl/certs/STAR_xxx_com.ca-bundle
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Last edited by lones (2023-10-30 20:29:54)
As long as you don't stop, it doesn't matter how slow you go
Offline
This warning refers to your site root not being the "public" folder. Currently, this is optional but it will be required in GLPI 10.1.
Changing the root will enable GLPI to only allow access to files that are supposed to be sent over the web.
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