ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

date.timezone dosent work

March 15, 2011 11:38am

Subscribe [2]
  • #1 / Mar 15, 2011 11:38am

    rubjo

    49 posts

    Hi!

    Contacted my host about this error:

    A PHP Error was encountered

    Severity: Warning

    Message: date_default_timezone_get(): 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/Berlin’ for ‘CET/1.0/no DST’ instead

    Filename: libraries/Core.php

    Line Number: 277

    They say that date.timezone is not read from expressionengion, but from this
    file : /controllers/cp/tools_utilities.php

    Have locked from admin in php.info

    Here is what it displays:

    Default timezone   Europe/Berlin

    Directive   Local Value   Master Value
    date.default_latitude   31.7667   31.7667
    date.default_longitude   35.2333   35.2333
    date.sunrise_zenith   90.583333   90.583333
    date.sunset_zenith   90.583333   90.583333
    date.timezone   no value   no value

    How do i fix this error ?

  • #2 / Mar 16, 2011 6:53am

    John Henry Donovan

    12339 posts

    rubjo,

    I see you have sorted this out in this reply so closing this thread out

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases