comanage-dev - [comanage-dev] timezone for setup
Subject: COmanage Developers List
List archive
- From: Marie Huynh <>
- To: Benn Oshrin <>, comanage-dev <>
- Subject: [comanage-dev] timezone for setup
- Date: Thu, 24 Jan 2013 00:04:56 -0800
Hi,
I am getting many date errors in setup from a fresh checkout of r406:
Config/core.php contains this:
Welcome to CakePHP v2.0.5 Console---------------------------------------------------------------App : appPath: /Applications/MAMP/htdocs/r406/trunk/app/---------------------------------------------------------------Enter administrator's given name> marieEnter administrator's family name> huynhEnter administrator's login username> testEnter >= 40 character security salt or blank for random>Enter >= 29 digit security seed or blank for random>- Creating users view- Creating COmanage COWarning 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/r406/trunk/lib/Cake/Model/Model.php, line 1573]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/r406/trunk/lib/Cake/Model/Model.php, line 1573]etc.
Is this related to this bug?
I don't see much on the page describing what the problem was there.
Why is that commented out? I don't see anything in the installation docs about it but uncommenting it or putting in/*** Uncomment this line and correct your server timezone to fix* any date & time related errors.*///date_default_timezone_set('UTC');
date_default_timezone_set('America/Los_Angeles');
solves that problem. Shouldn't there be a default? Or should I just add this to the docs?
Marie
- [comanage-dev] timezone for setup, Marie Huynh, 01/24/2013
- [comanage-dev] Re: timezone for setup, Benn Oshrin, 01/24/2013
- Re: [comanage-dev] Re: timezone for setup, Benn Oshrin, 01/24/2013
- [comanage-dev] Re: timezone for setup, Benn Oshrin, 01/24/2013
Archive powered by MHonArc 2.6.16.