Oscommerce Error Warning: strftime() [function.strftime]

OScommerce Error Warning: strftime() [function.strftime]: 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/Jakarta' for 'WIT/7.0/no DST' instead in

 

Penyebab:

OScommerce tidak compatible dengan versi PHP 5.3.x

 

Cara mengatasi:

 

Buka files /includes/application_top.php dan admin/includes/application_top.php

Cari kalimat: // start the timer for the page parse time log

tambahkan sebelum kalimat tersebut:

date_default_timezone_set('Asia/Jakarta');

Comments

Popular posts from this blog

Cara Upload file dengan Software FTP ke server hosting

Open Port zerotier di Centos Firewall

Cara mengaktipkan CloudFlare di cpanel hosting agar websites lebih cepat diakses