Plasahosting Blogs
Web Hosting murah Indonesia

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

July 16th 2012 in Artikel

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’);




required



required - won't be displayed


Your Comment:




Oscommerce error Deprecated: Function session_is_registered() is deprecated

Penyebab:

OScommerce tidak compatible dengan versi PHP 5.3.x

 

Cara mengatasi:

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

Cari kalimat:

error_reporting(E_ALL & ~E_NOTICE);

 

ganti dengan:

 

error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);

 

Previous Entry

Joomla Error Warning: Parameter 3 to showItem() expected to be a reference

Penyebab:

Joomla tidak compatible dengan versi PHP 5.3.x

Cara mengatasi:

Buka file : /includes/Cache/Lite/Function.php

 

1. Cari kode: $result = call_user_func_array(array($class, $method), $arguments);
Ganti dengan: $result = call_user_func_array(array($class, $method), &$arguments);

2. Cari Kode: $result = call_user_func_array(array($$object_123456789, $method), $arguments);

Ganti dengan: $result = call_user_func_array(array($$object_123456789, $method), &$arguments);

3. Cari Kode: $result = call_user_func_array($target, $arguments);

Ganti dengan: […]

Next Entry