Timezone setting on new install #591

Open
opened 2026-10-05 00:06:19 +02:00 by adam · 0 comments
Owner

I did a new install of piwigo today with php 5.6 and receive literally hundreds of these warnings.

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

I noticed several closed issues on this flagged as minor but it is still not fix. Please do not suggest I turn off warnings. Much better if you fix the issue by setting the date.timezone. It is now a required setting.

I did a new install of piwigo today with php 5.6 and receive literally hundreds of these warnings. `Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.` I noticed several closed issues on this flagged as minor but it is still not fix. Please do not suggest I turn off warnings. Much better if you fix the issue by setting the date.timezone. It is now a required setting. <!-- github-sync-id:216233364 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#591