4622 Posts in 1398 Topics by 1393 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1579 Views |
-
install.php errors creating MySQL databases

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
POST /silverstripe/install.php
Line 912 in C:\Inetpub\wwwroot\SilverStripe-v2.3.3\SilverStripe-v2.3.3\sapphire\core\model\DataObject.phpand in the source part the following line is colored:
912 $this->record['Created'] = date('Y-m-d H:i:s');
and
Trace
date(Y-m-d H:i:s)
Line 912 of DataObject.php
DataObject->write()
Line 934 of SiteTree.php
SiteTree->requireDefaultRecords()
Line 214 of DatabaseAdmin.php
DatabaseAdmin->doBuild(1)
Line 793 of install.php
Installer->install(Array)
Line 123 of install.php -
Re: install.php errors creating MySQL databases

23 November 2009 at 10:04pm
Inside php.ini, you need to make sure date.timezone is filled in. By default, it is not.
e.g.
date.timezone = Pacific/Auckland
-
Re: install.php errors creating MySQL databases

24 November 2009 at 9:05am Last edited: 24 November 2009 9:09am
OK, thank you, now I'm allmost there I think ...
My next thread: http://www.silverstripe.org/installing-silverstripe/show/274015#post274015
| 1579 Views | ||
|
Page:
1
|
Go to Top |


