phplist3 icon indicating copy to clipboard operation
phplist3 copied to clipboard

Setting 'SYSTEM_TIMEZONE': Unknown or incorrect time zone: 'Europe/London

Open torvista opened this issue 1 year ago • 3 comments

...as there is no prior check for the timezones being loaded/available in the mysql tables.

I'm looking at this. Meanwhile, I don't find the mechanism for displaying admin messages such as this cleanly...if someone can point that out.

torvista avatar Oct 02 '24 09:10 torvista

I've done a check, now I'd like a way to flag this to the user, apart from message; die;!

torvista avatar Oct 02 '24 11:10 torvista

Sorry, I'm not sure what you're suggesting to do where? Can you expand on this issue?

michield avatar Oct 12 '24 15:10 michield

If you set the timezone in the config, it attempts to use the timezone info from the mysql tables.

2024-10-12 19_24_04-127 0 0 1 _ localhost _ mysql _ time_zone_name _ phpMyAdmin 5 2 1 — Mozilla Fire

However it seems to be not uncommon that these tables may not be populated, so returning the error of the thread.

So, perhaps if this option is enabled in the config, there should be a check for the tables being populated.

Aside, what is the mechanism to generate on-screen messages such as this to the admin user?

torvista avatar Oct 12 '24 17:10 torvista