Jump to:

4939 Posts in 16654 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Possible problem with webserver set up

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: 2037 Views
  • pollythena
    Community Member
    2 Posts

    Possible problem with webserver set up Link to this post

    As you've probably guessed by me posting in this part of the forum, I'm having a problem installing Silverstripe. I'm installing to a local server, where I've installed Apache, PHP5 and MySQL seperately (rather than through WAMP). I've used these for other things and they've worked fine, but I'm far from an expert.

    On the first installation page, everything is fine, but when I click to install I see the following details:

    [Warning] strtotime() [function.strtotime]: 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/London' for '1.0/DST' instead
    POST /silverstripe/install.php

    Line 298 in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\silverstripe\sapphire\core\HTTP.php


    290    /**
    291     * Set the maximum age of this page in web caches, in seconds
    292     */
    293    static function set_cache_age($age) {
    294       self::$cache_age = $age;
    295    }
    297    static function register_modification_date($dateString) {
    298       $timestamp = strtotime($dateString);
    299       if($timestamp > self::$modification_date)
    300          self::$modification_date = $timestamp;
    301    }
    303    static function register_modification_timestamp($timestamp) {
    304       if($timestamp > self::$modification_date)

    strtotime(2010-04-16 19:45:43)
    Line 298 of HTTP.php
    HTTP::register_modification_date(2010-04-16 19:45:43)
    Line 206 of DataObject.php
    Line 2538 of DataObject.php
    DataObject->instance_get_one(URLSegment = 'home',)
    Line 2468 of DataObject.php
    DataObject::get_one(SiteTree,URLSegment = 'home')
    Line 927 of SiteTree.php
    Line 212 of DatabaseAdmin.php
    Line 793 of install.php
    Line 123 of install.php

    I suspect this is something to do with the Apache server settings but don't know what or how to fix it. Anybody able to offer any pointers?


  • Willr
    Forum Moderator
    5503 Posts

    Re: Possible problem with webserver set up Link to this post

    You need to set the date.timezone value in your php.ini file.


    Or if you can't edit your ini file then try define date_default_timezone_set('Your timezone'); at the top of your mysite/_config.php file.


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.