4875 Posts in 7042 Topics by 1472 members
|Go to End|
23 November 2009 at 9:19am Last edited: 23 November 2009 9:26am
When I start install.php and fill in all required information and click [Install SilverStripe] after a few seconds I get the following error:
Building database schema...
[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 'Europe/Paris' for '1.0/no DST' instead
Line 912 in C:\Inetpub\wwwroot\SilverStripe-v2.3.3\SilverStripe-v2.3.3\sapphire\core\model\DataObject.php
and in the source part the following line is colored:
912 $this->record['Created'] = date('Y-m-d H:i:s');
Line 912 of DataObject.php
Line 934 of SiteTree.php
Line 214 of DatabaseAdmin.php
Line 793 of install.php
Line 123 of install.php
23 November 2009 at 10:04pm
Inside php.ini, you need to make sure date.timezone is filled in. By default, it is not.
date.timezone = Pacific/Auckland
24 November 2009 at 9:05am Last edited: 24 November 2009 9:09am
OK, thank you, now I'm allmost there I think ...
|Go to Top|