Php 5.3.0 dan WP 2.8.* ( tidak aman untuk zona waktu)

16 September 09

Barusan ganti xampp 1.7.2 dengan rencana install wordpress di dalamnya untuk nyoba WP e_comerce, namun apa yang terjadi? Inilah tuilisana yang muncul saat instalasi tepat setelah create nama blog dab masukin e-mail:

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

Dan solusinya adalah mensetting zona waktu dengan menambahkan satu fungsi saja di /wp/wp-includes/functions.php
lalu ketikkan fungsi di bawah ini sebelum funsi pertama:

date_default_timezone_set(‘UTC’);

Ok selamat mencoba kalo ketemu masalah ini sih…

7 Balasan ke “Php 5.3.0 dan WP 2.8.* ( tidak aman untuk zona waktu)”

  1. bintang mengatakan:

    saya mengalami hal yang sama saat install xampp lokal untuk joomla.
    bagaimana solusinya ?
    thanx

  2. rochsid tehape mengatakan:

    solusinya ada disini atau disini

  3. defi mengatakan:

    mau tanya nih. habis instal joomla, trs saya edit2,, kok error nya gini ya :

    Warning: mktime() [function.mktime]: 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 ‘Asia/Krasnoyarsk’ for ’7.0/no DST’ instead in C:\xampp\htdocs\libraries\joomla\utilities\date.php on line 120

    dan itu tidak hanya muncul 1x, tapi di ‘line’ lainnya juga muncul.. thx bantuannya..

    • rochsid tehape mengatakan:

      coba buka link yang saya kasihkan ke mas bintang di atas itu,, dia juga pake joomla…
      selamat mencoba..

  4. diana mengatakan:

    Aku baru aja pake joomla. Seharian aku cari2 solusi dari problem di atas. eeh baru disini saya dapat jawabannya. Thanks ya mas…

  5. efelinna mengatakan:

    saya mengalami permasalahan yang sama tdan solusinya ada di http://www.php.net/manual/en/timezones.asia.php

Tinggalkan Balasan