Info
- 3 posts
- 2 voices
- Started 1 year ago by cmunns1
- Latest reply from chrishajer
- This topic is not resolved
Error with strtotime() function
-
- Posted 1 year ago #
shows up on latest discussion page:
Warning: strtotime() [function.strtotime]: 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 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /Library/WebServer/Documents/wordpress/_bbpress/bb-includes/functions.bb-formatting.php on line 327
I also can't login as keymaster for some reason. Any thoughts on this? Password recovery doesn't work either.
-
- Posted 1 year ago #
It's just a warning. You should not display warnings to the browser on a production site.
Are you using PHP 5.3?
I think this is fixed in the trunk release... Can't recall which ticket.
-
- Posted 1 year ago #
http://trac.bbpress.org/changeset/2412 is where we fixed it to set the time zone explicitly.
-
You must log in to post.