Posts

Showing posts from July, 2012

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

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: $result = call_user_func_array($target, &$arguments);        

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

Oscommerce error Deprecated: Function session_is_registered() is deprecated

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

Joomla Error Warning: Parameter 2 to frontpage() expected to be a reference

joomla error dengan keterangan Warning: Parameter 2 to frontpage() expected to be a reference Penyebab: Joomla tidak compatible dengan versi PHP 5.3.x Cara mengatasi: Pilih salah satu dari kedua artikel berikut: CARA PERTAMA: Ikuti artikel berikut: Joomla Error Warning: Parameter 3 to showItem() expected to be a reference   CARA KEDUA: 1. buka file /includes/vcard.class.php cari kalimat: taken from PHP documentation comments tambahkan DIBAWAHNYA: if(!function_exists('quoted_printable_encode')) { 2. cari kalimat class vCard tambahkan DIATASNYA tanda } 3. Buka file /includes/Cache/Lite/Function.php cari kode: $result = call_user_func_array(array($class, $method), $arguments); tambahkan DIATASNYA: // added $arguments = $this->fixCalls($arguments); 4. cari kode: $result = call_user_func_array($target, $arguments); tambahkan DIATASNYA: // added $arguments = $this->fixCalls($arguments); 5. cari halaman paling akhir sebelum ?> diatas tanda kurung tutup "}" tambahkan

Joomla error Warning: mktime() [function.mktime]

Error pada joomla dengan keterangan Warning: mktime() [function.mktime] Penyebab: Joomla tidak compatible dengan versi PHP 5.3.x Cara mengatasi: perhatikan lokasi file yang ditampilkan error, biasanya date.php, util.php edit file yang ditampilkan error tersebut dengan menggunakan file manager di cpanel Buka file utilities/date.php tambahkan: putenv("TZ=Asia/Jakarta"); atau edit file includes/joomla.php masukan date_default_timezone_set('Asia/Jakarta')