Results 1 to 10 of 44

Threaded View

  1. #29
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    133
    Plugin Contributions
    5

    Default Re: Site Crashed U_ILLEGAL_ARGUMENT_ERROR

    Quote Originally Posted by Georgecy View Post
    Hi Guys,
    timezone-identifiers available from @lat instructions are listed at the end. The important for my case is Asia/Nicosia, Europe/Athens, which are available.( Running Joomla 4 system report, on same PHP, it shows also Europe/Nicosia and UTC as default timezone. Joomla has no problem with the PHP 8.1.1).

    The actual timezone declared in php.ini is date.timezone = "Europe/Athens"

    The Intl extension is also available.
    I entered also in php.ini
    [intl]
    intl.default_locale = el_GR.UTF-8 which it had no effect on the issue.

    Attached also screenshot From info.php
    Click image for larger version. 

Name:	Screenshot 2024-05-13 at 6.25.13 PM.jpg 
Views:	15 
Size:	51.4 KB 
ID:	20608

    Asia/Aden, Asia/Almaty, Asia/Amman, Asia/Anadyr, Asia/Aqtau, Asia/Aqtobe, Asia/Ashgabat, Asia/Atyrau, Asia/Baghdad, Asia/Bahrain, Asia/Baku, Asia/Bangkok, Asia/Barnaul, Asia/Beirut, Asia/Bishkek, Asia/Brunei, Asia/Chita, Asia/Choibalsan, Asia/Colombo, Asia/Damascus, Asia/Dhaka, Asia/Dili, Asia/Dushanbe, Asia/Famagusta, Asia/Gaza, Asia/Hebron, Asia/Ho_Chi_Minh, Asia/Hong_Kong, Asia/Hovd, Asia/Irkutsk, Asia/Jakarta, Asia/Jayapura, Asia/Jerusalem, Asia/Kabul, Asia/Kamchatka, Asia/Karachi, Asia/Kathmandu, Asia/Khandyga, Asia/Kolkata, Asia/Krasnoyarsk, Asia/Kuala_Lumpur, Asia/Kuching, Asia/Kuwait, Asia/Macau, Asia/Magadan, Asia/Makassar, Asia/Manila, Asia/Muscat, Asia/Nicosia, Asia/Novokuznetsk, etc...., Europe/Amsterdam, Europe/Andorra, Europe/Astrakhan, Europe/Athens, Europe/Belgrade, etc....
    It seems your PHP compilation is missing ICU timezone data.
    Here is what I get (ICU TZData version):
    Click image for larger version. 

Name:	Capture d'écran 2024-05-16 184228.png 
Views:	34 
Size:	11.4 KB 
ID:	20617

    In PHP there are two time zone objects, DateTimeZone that you tested with lat9 test and IntlTimeZone. Normally Intl DateFormatter can use both, but it is possible that when it is not explicitly written in code, default might be IntlTimeZone that uses ICU time zone data missing in your PHP.
    This might be your problem, not 100% sure though.
    Last edited by pilou2; 16 May 2024 at 11:03 AM.

 

 

Similar Threads

  1. v158 IntlDateFormatter php issue
    By gothstone in forum Bug Reports
    Replies: 2
    Last Post: 22 Feb 2024, 11:55 AM
  2. v158 U_illegal_argument_error
    By jeking in forum General Questions
    Replies: 2
    Last Post: 2 Nov 2023, 08:13 PM
  3. v156 Site and Admin crashed!!!
    By wmorris in forum General Questions
    Replies: 9
    Last Post: 10 Jun 2019, 05:20 PM
  4. Replies: 11
    Last Post: 19 Sep 2009, 06:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR