Jump to:

4938 Posts in 16827 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » install.php errors creating MySQL databases

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1759 Views
  • wizzofoz
    Avatar
    Community Member
    9 Posts

    install.php errors creating MySQL databases Link to this post

    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.php

    and 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

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: install.php errors creating MySQL databases Link to this post

    Inside php.ini, you need to make sure date.timezone is filled in. By default, it is not.

    e.g.

    date.timezone = Pacific/Auckland

  • wizzofoz
    Avatar
    Community Member
    9 Posts

    Re: install.php errors creating MySQL databases Link to this post

    OK, thank you, now I'm allmost there I think ...

    My next thread: http://www.silverstripe.org/installing-silverstripe/show/274015#post274015

    1759 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.