Cannot reproduce TimeZone on Server/PHP not honored in Logs

ActorMike

Well-known member
Affected version
2.1.5a
Our log files are always +5 hours ahead of what our PHP/Server time is. We've confirmed with support our server time and PHP.ini time is correct and this is a possible bug.

On a side note, why doesn't the cron have the ability to use a timezone other than UTC?
 
The XenForo admin UI shows times based on the timezone set in your profile as an administrator, including cron next run times.

If you're seeing the wrong time in the admin UI, either you don't have your personal timezone set correctly, or there is a configuration problem on the server.

For example: https://xenforo.com/community/account/preferences

1575918852474.webp

The actual cron configuration is entered in UTC to make it consistent across all systems and locations (see: https://xenforo.com/community/threads/cron-next-run-has-wrong-time.26211/post-317554)
 
I've already checked my personal & guest time zone, the server time zone, and the php time zone. They are all set correctly. We have other websites/applications on the server that do not have time zone issues. This only occurs in the Admin, the front end of the site is fine.
 
Last edited:
This is not something we can currently reproduce and you have an open ticket with us so we will continue to communicate with you and troubleshoot the issue on that ticket until a bug has been determined.
 
For reference, it's the [bd] Attachment Store 2.0.2 add-on by @xfrocks that was causing the time to change in the logs. Thanks to XF support for leading to the solution.
 
Top Bottom