Info
- 6 posts
- 5 voices
- Started 1 year ago by Kojichan
- Latest reply from primehifi
- This topic is not resolved
Timezone changing crashes BBpress / Not functioning?
-
- Posted 1 year ago #
Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct() [datetimezone.--construct]: Unknown or bad timezone (UTC-7)' in /home/neosmcn1/public_html/hsti/forum/bb-admin/options-general.php:180 Stack trace: #0 /home/neosmcn1/public_html/hsti/forum/bb-admin/options-general.php(180): DateTimeZone->__construct('UTC-7') #1 {main} thrown in /home/neosmcn1/public_html/hsti/forum/bb-admin/options-general.php on line 180
------------------------
Here's a random question, does BBPress support timezone differences?
I see the option in the options-general.php in bb-admin, but, I'm beginning to wonder if it's implemented yet. Doesn't' appear to be, yet. As I can change the time-zone willy-nilly, and the times listed below are not affected. (IE, I'm GMT-7, so I have selected Edmonton as the closets city to me. At the time of writing, it is 12:43p here, and my forum says it's 6:43p. Mind you, it ALSO says that UTC ALSO is 6:43p. ... whut??)
Moreover, the options drop-down seems to be populating false timezones toward the end, the UTCxxxx portions. UTC itself is fine under ETC, but under the "Manual offsets" there are a set of UTC-7, UTC+7, UTC-1, etc. However, in PHP, DateTimeZone does not recognize the UTC-xx or UTC+xx values. They are incorrect. Shouldn't they be GMT-xxx or GMT+xxx?
I've tried looking in the code for some answers, (bb-includes/backpress/functions.core.php and bb-admin/options-general.php ) but neither of them seem to be shedding any light...
-
- Posted 1 year ago #
Interesting - this was a year ago:
http://bbpress.org/forums/topic/unknown-or-bad-timezone-etcutc
-
- Posted 1 year ago #
Seems WordPress had the same trouble at some point:
http://wordpress.org/support/topic/error-unknown-or-bad-timezone
-
- Posted 1 year ago #
Any idea how to remedy this issue?
I have tried everything and cannot get passed this. Having the same exact problem after changing the TZ to UTC-5.
Any help would be greatly appreciated!
FYI, using the latest version 1.0.2
-
- Posted 9 months ago #
Is this issue still unresolved? I just went through all the steps to install 1.03 and I didn't do anything other than try to set the time zone to -8 hours and now I can no longer get into general settings. Any suggestions? I would like to replace the options-general file but I fear that it may render the whole installation useless. That is if this little bug has not already done that for me.
Please Help! -
- Posted 8 months ago #
I wasn't so concerned about fixing it as I was about getting access to to the general settings again.
here's the fix on this website I found, http://tadej.eu/wordpress-timezone-exception-fix-hack
-
You must log in to post.