About two or three weeks ago using Catalan or Spanish translation causes error in open.php when the client sends his ticket. Also the agent can't open this ticket in the open queue tickets.
But when I force English language all is correct.
I'm using a Ubuntu 18 server with no firewall mods.
MariaDB 10.5.9
PHP7.4.18
Versions tried 1.15.1 and now 1.15.2 and the same problem.

Some of the php errors:
[Tue May 25 08:00:31.046484 2021] [php7:warn] [pid 3757] [client 192.168.10.10:65455] PHP Warning: DateTime::modify(): Failed to parse time string (Dilluns 2021-06-02) at position 0 (D): The timezone could not be found in the database in /var/www/osticket/include/class.schedule.php on line 802, referer: http://192.168.28.13/osticket/scp/index.php

[Tue May 25 09:59:23.983181 2021] [php7:warn] [pid 6894] [client 192.168.10.47:51471] PHP Warning: DateTime::modify(): Failed to parse time string (Dimarts 2021-06-17) at position 0 (D): The timezone could not be found in the database in /var/www/osticket/include/class.schedule.php on line 837, referer: http://192.168.28.13/osticket/open.php

[Mon May 24 18:35:05.406985 2021] [php7:error] [pid 6524] [client 192.168.10.47:59296] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/osticket/include/class.schedule.php on line 832, referer: http://192.168.28.13/osticket/scp/index.php

There are many other errors in open.php on generating and closing
The ticket is created by the client but the page return sometimes to error 500.
The mail is send with succes and the ticket is generated but the agent couldn't open it.

@DavidCB

Yes, this is something that has been reported before:

This is an issue with all language packs where the timezones are translated and PHP doesn't handle non-english dates well. This is on our Bug Sheet to look into at a later date. It will require some discussions internally as well as a potential rebuild of all language packs.

Cheers.

    KevinTheJedi
    I hope the problem will be solved soon as this situation forces us to use the application only in English.

    2 years later
    Write a Reply...