Closed loginone33 closed 2 years ago
Same problem with GLPI 10.0.2, PHP 8.0.20 when when I click on my diagrams v 3.2.7. Here is my system information:
GLPI 10.0.2 ( => /DATA/GLPI) Installation mode: TARBALL Current language:en_GB
Operating system: Linux GLPITEST 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 PHP 8.0.20 fpm-fcgi (Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, readline, session, shmop, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib) Setup: max_execution_time="300" memory_limit="128M" post_max_size="8M" safe_mode="" session.save_handler="files" upload_max_filesize="50M" Software: nginx/1.14.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Server Software: Debian 10 Server Version: 10.3.34-MariaDB-0+deb10u1 Server SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION Parameters: root@localhost/glpi Host info: Localhost via UNIX socket PHP version (8.0.20) is supported. Sessions configuration is OK. Allocated memory is sufficient. mysqli extension is installed. Following extensions are installed: dom, fileinfo, json, simplexml. curl extension is installed. gd extension is installed. intl extension is installed. libxml extension is installed. zlib extension is installed. The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present. Database engine version (10.3.34) is supported. The log file has been created successfully. Write access to /DATA/GLPI/files/_cache has been validated. Write access to /DATA/GLPI/config has been validated. Write access to /DATA/GLPI/files/_cron has been validated. Write access to /DATA/GLPI/files has been validated. Write access to /DATA/GLPI/files/_dumps has been validated. Write access to /DATA/GLPI/files/_graphs has been validated. Write access to /DATA/GLPI/files/_lock has been validated. Write access to /DATA/GLPI/files/_pictures has been validated. Write access to /DATA/GLPI/files/_plugins has been validated. Write access to /DATA/GLPI/files/_rss has been validated. Write access to /DATA/GLPI/files/_sessions has been validated. Write access to /DATA/GLPI/files/_tmp has been validated. Write access to /DATA/GLPI/files/_uploads has been validated. Web access to the files directory should not be allowed Check the .htaccess file and the web server configuration. exif extension is installed. ldap extension is not present. openssl extension is installed. zip extension is installed. bz2 extension is installed. Zend OPcache extension is installed. Following extensions are installed: ctype, iconv, mbstring, sodium. Write access to /DATA/GLPI/marketplace has been validated. Timezones seems not loaded, see https://glpi-install.readthedocs.io/en/latest/timezones.html.
GLPI_ROOT: /DATA/GLPI GLPI_CONFIG_DIR: /DATA/GLPI/config GLPI_VAR_DIR: /DATA/GLPI/files GLPI_MARKETPLACE_DIR: /DATA/GLPI/marketplace GLPI_USE_CSRF_CHECK: 1 GLPI_CSRF_EXPIRES: 7200 GLPI_CSRF_MAX_TOKENS: 100 GLPI_USE_IDOR_CHECK: 1 GLPI_IDOR_EXPIRES: 7200 GLPI_ALLOW_IFRAME_IN_RICH_TEXT: GLPI_TELEMETRY_URI: https://telemetry.glpi-project.org GLPI_INSTALL_MODE: TARBALL GLPI_NETWORK_MAIL: glpi@teclib.com GLPI_NETWORK_SERVICES: https://services.glpi-network.com GLPI_MARKETPLACE_ALLOW_OVERRIDE: 1 GLPI_MARKETPLACE_MANUAL_DOWNLOADS: 1 GLPI_USER_AGENT_EXTRA_COMMENTS: GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: 1 GLPI_AJAX_DASHBOARD: 1 GLPI_CALDAV_IMPORT_STATE: 0 GLPI_DEMO_MODE: 0 GLPI_CENTRAL_WARNINGS: 1 GLPI_DOC_DIR: /DATA/GLPI/files GLPI_CACHE_DIR: /DATA/GLPI/files/_cache GLPI_CRON_DIR: /DATA/GLPI/files/_cron GLPI_DUMP_DIR: /DATA/GLPI/files/_dumps GLPI_GRAPH_DIR: /DATA/GLPI/files/_graphs GLPI_LOCAL_I18N_DIR: /DATA/GLPI/files/_locales GLPI_LOCK_DIR: /DATA/GLPI/files/_lock GLPI_LOG_DIR: /DATA/GLPI/files/_log GLPI_PICTURE_DIR: /DATA/GLPI/files/_pictures GLPI_PLUGIN_DOC_DIR: /DATA/GLPI/files/_plugins GLPI_RSS_DIR: /DATA/GLPI/files/_rss GLPI_SESSION_DIR: /DATA/GLPI/files/_sessions GLPI_TMP_DIR: /DATA/GLPI/files/_tmp GLPI_UPLOAD_DIR: /DATA/GLPI/files/_uploads GLPI_INVENTORY_DIR: /DATA/GLPI/files/_inventories GLPI_NETWORK_REGISTRATION_API_URL: https://services.glpi-network.com/api/registration/ GLPI_MARKETPLACE_PLUGINS_API_URI: https://services.glpi-network.com/api/glpi-plugins/ GLPI_I18N_DIR: /DATA/GLPI/locales GLPI_VERSION: 10.0.2 GLPI_SCHEMA_VERSION: 10.0.2@a130db99c7d9b131c2e2ea59fe0d6260fe93d831 GLPI_MARKETPLACE_PRERELEASES: GLPI_MIN_PHP: 7.4.0 GLPI_MAX_PHP: 8.2.0 GLPI_YEAR: 2022
htmlawed/htmlawed version 1.2.6 in (/DATA/GLPI/vendor/htmlawed/htmlawed) phpmailer/phpmailer version 6.6.0 in (/DATA/GLPI/vendor/phpmailer/phpmailer/src) simplepie/simplepie version 1.5.8 in (/DATA/GLPI/vendor/simplepie/simplepie/library) tecnickcom/tcpdf version 6.4.4 in (/DATA/GLPI/vendor/tecnickcom/tcpdf) michelf/php-markdown in (/DATA/GLPI/vendor/michelf/php-markdown/Michelf) true/punycode in (/DATA/GLPI/vendor/true/punycode/src) iamcal/lib_autolink in (/DATA/GLPI/vendor/iamcal/lib_autolink) sabre/dav in (/DATA/GLPI/vendor/sabre/dav/lib/DAV) sabre/http in (/DATA/GLPI/vendor/sabre/http/lib) sabre/uri in (/DATA/GLPI/vendor/sabre/uri/lib) sabre/vobject in (/DATA/GLPI/vendor/sabre/vobject/lib) laminas/laminas-i18n in (/DATA/GLPI/vendor/laminas/laminas-i18n/src) laminas/laminas-servicemanager in (/DATA/GLPI/vendor/laminas/laminas-servicemanager/src) monolog/monolog in (/DATA/GLPI/vendor/monolog/monolog/src/Monolog) sebastian/diff in (/DATA/GLPI/vendor/sebastian/diff/src) donatj/phpuseragentparser in (/DATA/GLPI/vendor/donatj/phpuseragentparser/src/UserAgent) elvanto/litemoji in (/DATA/GLPI/vendor/elvanto/litemoji/src) symfony/console in (/DATA/GLPI/vendor/symfony/console) scssphp/scssphp in (/DATA/GLPI/vendor/scssphp/scssphp/src) laminas/laminas-mail in (/DATA/GLPI/vendor/laminas/laminas-mail/src/Protocol) laminas/laminas-mime in (/DATA/GLPI/vendor/laminas/laminas-mime/src) rlanvin/php-rrule in (/DATA/GLPI/vendor/rlanvin/php-rrule/src) blueimp/jquery-file-upload in (/DATA/GLPI/vendor/blueimp/jquery-file-upload/server/php) ramsey/uuid in (/DATA/GLPI/vendor/ramsey/uuid/src) psr/log in (/DATA/GLPI/vendor/psr/log/Psr/Log) psr/simple-cache in (/DATA/GLPI/vendor/psr/simple-cache/src) psr/cache in (/DATA/GLPI/vendor/psr/cache/src) league/csv in (/DATA/GLPI/vendor/league/csv/src) mexitek/phpcolors in (/DATA/GLPI/vendor/mexitek/phpcolors/src/Mexitek/PHPColors) guzzlehttp/guzzle in (/DATA/GLPI/vendor/guzzlehttp/guzzle/src) guzzlehttp/psr7 in (/DATA/GLPI/vendor/guzzlehttp/psr7/src) glpi-project/inventory_format in (/DATA/GLPI/vendor/glpi-project/inventory_format/lib/php) wapmorgan/unified-archive in (/DATA/GLPI/vendor/wapmorgan/unified-archive/src) paragonie/sodium_compat in (/DATA/GLPI/vendor/paragonie/sodium_compat/src) symfony/cache in (/DATA/GLPI/vendor/symfony/cache) html2text/html2text in (/DATA/GLPI/vendor/html2text/html2text/src) symfony/css-selector in (/DATA/GLPI/vendor/symfony/css-selector) symfony/dom-crawler in (/DATA/GLPI/vendor/symfony/dom-crawler) twig/twig in (/DATA/GLPI/vendor/twig/twig/src) twig/string-extra in (/DATA/GLPI/vendor/twig/string-extra) symfony/polyfill-ctype not found symfony/polyfill-iconv not found symfony/polyfill-mbstring not found symfony/polyfill-php80 not found symfony/polyfill-php81 in (/DATA/GLPI/vendor/symfony/polyfill-php81)
Server: 'x.x.x.x', Port: 'xxx', BaseDN: 'DC=x=local', Connection filter: '(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))', RootDN: 'CN=x,OU=x Users,DC=x,DC=local', Use TLS: none
Not active
Way of sending emails: PHP
fields Name: Additional fields Version: 1.17.0 State: Enabled Install Method: Marketplace advancedplanning Name: advancedplanning Version: 1.1.0 State: Enabled Install Method: Marketplace archimap Name: Diagrammes Version: 3.2.7 State: Enabled Install Method: Marketplace formcreator Name: Form Creator Version: 2.13.0-rc.1 State: Enabled Install Method: Marketplace glpiinventory Name: GLPI Inventory Version: 1.0.3 State: Enabled Install Method: Marketplace mreporting Name: More Reporting Version: 1.8.0 State: Enabled Install Method: Marketplace father Name: Père/Fils Version: 1.2.0 State: Error / to clean Install Method: Manual
Thanks in advance.
Hi, I'm now running on GLPI 10.0.2 and PHP 8.1.2, and I do not get this fatal error. Is it still the case for you ? K.r,
Solved in v3.2.8
Hi, I get php fatal error: [Mon May 23 10:06:48.408346 2022] [php:error] [pid 30598] [client 192.168.5.86:54437] PHP Fatal error: Declaration of PluginArchimapDiagram::showForm(CommonGLPI $item, $options = []) must be compatible with CommonDBTM::showForm($ID, array $options = []) in /var/www/html/glpi/marketplace/archimap/inc/diagram.class.php on line 77, referer: http://192.168.5.45/marketplace/archimap/front/graph.form.php [Mon May 23 10:06:56.571150 2022] [php:error] [pid 29087] [client 192.168.5.86:54438] PHP Fatal error: Declaration of PluginArchimapDiagram::showForm(CommonGLPI $item, $options = []) must be compatible with CommonDBTM::showForm($ID, array $options = []) in /var/www/html/glpi/marketplace/archimap/inc/diagram.class.php on line 77, referer: http://192.168.5.45/marketplace/archimap/front/graph.php [Mon May 23 10:10:03.876781 2022] [php:error] [pid 11101] [client 192.168.5.86:54550] PHP Fatal error: Declaration of PluginArchimapDiagram::showForm(CommonGLPI $item, $options = []) must be compatible with CommonDBTM::showForm($ID, array $options = []) in /var/www/html/glpi/marketplace/archimap/inc/diagram.class.php on line 77, referer: http://192.168.5.45/marketplace/archimap/front/graph.php
running on debian, php 8.0 recently upgraded to glpi 10.0 from 9.5 Any help would be greatly appreciated ;)