Date warning on setup

XMLWordPrintable

      Running cake setup gives this error on some systems:

      Warning Error: 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/Los_Angeles' for 'PST/-8.0/no DST' instead in [/Applications/MAMP/htdocs/r459/trunk/lib/Cake/Model/Model.php, line 1665]

      2013-02-25 12:58:48 Warning: 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/Los_Angeles' for 'PST/-8.0/no DST' instead in [/Applications/MAMP/htdocs/r459/trunk/lib/Cake/Model/Model.php, line 1665]
      Warning Error: 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/Los_Angeles' for 'PST/-8.0/no DST' instead in [/Applications/MAMP/htdocs/r459/trunk/lib/Cake/Model/Model.php, line 1665]

            Assignee:
            Marie Huynh (Inactive)
            Reporter:
            Marie Huynh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: