add link to instructions how to install missing timezones in the DB to the logged error-message

This commit is contained in:
ralf 2023-04-05 08:44:15 +02:00
parent af60df879e
commit 0aa0c280ff

View File

@ -1242,6 +1242,7 @@ class Db
// do NOT stall because DB does not know the TZ, report once per session
if (empty($_SESSION[Session::EGW_APPSESSION_VAR][__CLASS__]['SQL-error-TZ']))
{
$e->details = 'Instructions to install timezones in your DB: https://mariadb.com/kb/en/mysql_tzinfo_to_sql/';
_egw_log_exception($e);
$_SESSION[Session::EGW_APPSESSION_VAR][__CLASS__]['SQL-error-TZ'] = 'reported';
}