Forums

Join
bbPress Support ForumsInstallationError with strtotime() function

Info

Error with strtotime() function

  1. 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.

  2. 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.

  3. http://trac.bbpress.org/changeset/2412 is where we fixed it to set the time zone explicitly.

  4. You must log in to post.