Timezone php errors after installation

Discussion in 'Installation' started by theangelguy, Jul 27, 2010.

  1. theangelguy

    theangelguy Member

    Joined:
    Jul 15, 2009
    Messages:
    30
    Hi, there,

    I just installed amember on my localhost XAMPP stack and I'm getting the following errors (this is just four of about a dozen or so).

    Any ideas?

    Thanks,

    - Paul

    P.S. If it matters, I'm also wanting to use the Drupal module, but I haven't gotten very far with either yet.

    WARNING: date() [function.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 'America/New_York' for '-4.0/DST' instead in line 287 of file rconfig.inc.php(19) : eval()'d code(1) : eval()'d code
    WARNING: date() [function.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 'America/New_York' for '-4.0/DST' instead in line 294 of file rconfig.inc.php(19) : eval()'d code(1) : eval()'d code
    WARNING: date() [function.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 'America/New_York' for '-4.0/DST' instead in line 301 of file rconfig.inc.php(19) : eval()'d code(1) : eval()'d code
    WARNING: date() [function.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 'America/New_York' for '-4.0/DST' instead in line 467 of file plugins.inc.php
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Edit your php.ini (or create a custom one in your aMember folder) and set the date.timezone value that is appropriate.

    example: date.timezone = "US/Central"
  3. theangelguy

    theangelguy Member

    Joined:
    Jul 15, 2009
    Messages:
    30
    Thanks so much!

    I don't know why XAMPP would leave that out by default, but that worked.

    Thanks again!

    - Paul

Share This Page