Closed Olfa17 closed 10 months ago
Please provide logs with only related entries. PHP log is 4Mio, SQL one is 8Mio; that's way too huge to find what went wrong for your current issue.
Sorry about that. I have purged the files, reproduced the error on the GLPI page and attached the log files. php-errors.log sql-errors.log
Your error log complains about missing mysqli_report
; GLPI should not work at all... Check all required extensions are installed, for your issue you can try without any plugin.
Yes I see that
Here are the tests carried out: -Change browser => problem still present -Deactivating extensions => problem still present -Deactivating plugins => problem still present -Private window on Firefox and Chrome => problem still present -Clearing cache => problem still present
I have the same version of GLPI and Pulgin in my DEV server, i don't have this problèm
The mysqli_report
issues seems to be affecting the cron endpoint only, so I guess your system-default version of PHP (php --version) is different to the one running in Apache (apachectl -M) and it is missing the mysqli extension. It would only be blocking the execution of automatic actions running in CLI mode and block the use of the GLPI CLI.
For the saved search issue, it looks like one of your saved searches may reference an item type that doesn't exist. Maybe a plugin is missing?
Hi @cconard96
For mysqli_report, i have execute your 2 request on my PROD and DEV server: Here the result:
DEV sv-glpi-dev ~ $ php --version PHP 8.2.13 (cli) (built: Nov 24 2023 13:10:01) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.13, Copyright (c) Zend Technologies with Zend OPcache v8.2.13, Copyright (c), by Zend Technologies sv-glpi-dev ~ $ apachectl -M Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) mime_module (shared) mpm_prefork_module (shared) negotiation_module (shared) php7_module (shared) reqtimeout_module (shared) setenvif_module (shared) socache_shmcb_module (shared) status_module (shared)
PROD sv-glpi ~ $ php --version PHP 8.2.13 (cli) (built: Nov 24 2023 13:10:01) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.13, Copyright (c) Zend Technologies with Zend OPcache v8.2.13, Copyright (c), by Zend Technologies sv-glpi ~ $ apachectl -M Loaded Modules: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) mime_module (shared) mpm_prefork_module (shared) negotiation_module (shared) php7_module (shared) reqtimeout_module (shared) setenvif_module (shared) status_module (shared)
I saw the module " socache_shmcb_module (shared)" si missing on my PROD server, maybe the mysqli_report bug about that ?
Fir the saved search issue, i found the issue. We had saved searches of people who had left the company. I deleted them, and everything went back to normal.
php7_module (shared)
Your web server is still running PHP 7. Disable the PHP7 Apache module, enable the PHP8.2 module, and then make sure all required PHP extensions are installed for PHP 8.2.
I can disable the php 7 and enable php 8.2 with these commands lines only ?
phpdismod -v 7 mbstring phpenmod -v 8.2 mbstring
Please rely on your distribution support, or ask on GLPI forums to setup properly your PHP environments.
Since the "white screen" issue has been fixed; I close this one.
Code of Conduct
Is there an existing issue for this?
Version
10.0.10
Bug description
Hello,
In my company, we have a DEV server and a PROD server. We updated the DEV to 10.0.10 in order to test it without encountering any problems. At the end of last week, we updated the PROD to the same version.
However, we are encountering a display problem in the favorites list (for ticket filters). Example: DEV:
PROD:
Log files: PHP: php-errors.log
SQL: sql-errors.log
Both servers updated, same apache2 version, kernel etc... apache2 service restarted => NOK PROD server restarted => NOK
Do you have any idea where the problem might be coming from?
Thanks in advance, Best regards,
Relevant log output
No response
Page URL
No response
Steps To reproduce
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response