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-06-10 22:22:48

lemuriano
Member
Registered: 2019-02-17
Posts: 2

Bug in GLPI 9.5.7 with PHP

Dear

I already have the application installed and running on Debian 4.19.235-1 and with PHP 7.4, Apache/2.4.38 (Debian) as bd: mariadb, but for some reason the platform is generating the following errors:

Deprecated: Return type of Laminas \Cache\Storage\Adapter\Filesystem:getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #(\ReturnTypeWillChange) attribute should be used to temporarily suppress the notice in /var/www/html/proyecto/vendor/laminas-cache/src/Storage/Adapter/Filesystem.php on line 431

Deprecated: Return type of Laminas\Cache\Storage\Adapter\Memory::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #(\ReturnTypeWillChange) attribute should be used to temporarily suppress the notice in /var/www/html/proyecto/vendor/laminas/laminas-cache/src/Storage/Adapter/Memory.php on line 114

Fatal error: Uncaught UnexpectdValueException: The stream or file "/var/www/html/proyecto/files/log/php-errors.log" could not be opened in append mode: Failed to open stream: Permission denied in /var/www/html/proyecto/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:111

Stack trace:
#0 /var/www/html/proyecto/vendor/monolog/monolog/src/Monolog/Handler/AbstracProcessingHandler.php(42): Monolog\Handler\StreamHandler->write(Array)
#1 /var/www/html/proyecto/vendor/monolog/monolog/src/Monolog/Logger.php(317): Monolog\Handler\AbstracProcessingHandler->handle(Array)
#2 /var/www/html/proyecto/vendor/monolog/monolog/src/Monolog/Logger.php(474): Monolog\Logger->addRecord(500, '  *** Uncaught ...', Array)
#3 /var/www/html/proyecto/inc/application/errorhandler.class.php(338): Monolog\Logger->log(500, '  *** Uncaught ...)
#4 /var/www/html/proyecto/inc/application/errorhandler.class.php(258): Glpi\Application\ErrorHandler->logErrorMessage('Uncaught Except...', 'The stream or f...', '   Backtrace :\n ...', 'critical')
#5 [internal function]: Glpi\Application\ErrorHandler->handleFatalError()
#6 {main}

throwm in var/www/html/proyecto/vendor/monolog/src/Monolog/Handler/StreamHandler.php on line 111

Offline

#2 2022-06-11 13:37:20

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

Re: Bug in GLPI 9.5.7 with PHP

Check permissions on GLPI files/folders. At least, it seems like your web server does not have access to files/_log/php-errors.log.


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

Board footer

Powered by FluxBB