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

Error The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

cara mengembalikan account facebook yang dibajak/dihack

Membangun Jaringan VLAN sederhana di Mikrotik dengan menggunakan wifi internal mikrotik dan tanpa menggunakan switch mikrotik.