• After upgrading webservers php 5.2.9 to new stable 5.3.0 wordpress started to give following errors to every page:

    ***
    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/Helsinki’ for ‘EEST/3.0/DST’ instead in /path/to/my/www/wp-includes/functions.php on line 35

    Warning: date() [function.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/Helsinki’ for ‘EEST/3.0/DST’ instead in /path/to/my/www/wp-includes/functions.php on line 43

    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/Helsinki’ for ‘EEST/3.0/DST’ instead in /path/to/my/www/wp-includes/functions.php on line 35

    Warning: date() [function.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/Helsinki’ for ‘EEST/3.0/DST’ instead in /path/to/my/www/wp-includes/functions.php on line 43
    ***

    Problem with php 5.3.0 or wordpress 2.8? I changed the timezone setting from properties to Europe-Helsinki (was GMT +3) without help.

Viewing 2 replies - 31 through 32 (of 32 total)
  • Strangely, I’m administering a website hosted in Europe which needs to be on Vancouver Canada time, and using php.ini with the date.timezone setting recently stopped working (haven’t had time to nail down why), yet adding the setting in functions.php now makes the timezone correct again. FYI, putting it functions.php seems far preferable to me to putting it in wp-config.php, as it avoids adding non-standard settings/lines to core WordPress files, and thus helps avoid it being overwritten in future.
    Matt

    putting it functions.php seems far preferable to me to putting it in wp-config.php, as it avoids adding non-standard settings/lines to core WordPress files,

    wp-config.php is not over-written in an upgrade….

Viewing 2 replies - 31 through 32 (of 32 total)
  • The topic ‘Php 5.3.0 & WP 2.8 (It is not safe to rely on the system’s timezone)’ is closed to new replies.