Friday, May 02, 2014

Joomla Fatal error: Cannot redeclare quoted_printable_encode() invcard.class.php

Joomla Fatal error: Cannot redeclare quoted_printable_encode() in vcard.class.php
Penyebab:

Joomla tidak compatible dengan versi PHP 5.3.x

Cara mengatasi:

Buka file  includes/vcard.class.php

Cari: function quoted_printable_encode
tambahkan diatasnya:

if(!function_exists('quoted_printable_encode')) {

dan tambahkan dibagian bawah fungsi tanda:

}


Kode akan menjadi:

if(!function_exists('quoted_printable_encode')) {
function quoted_printable_encode($input, $line_max=76) {
/* ... */
}
}

No comments:

Cara upload dengan git tanpa menyertakan folder tertentu

  Untuk mengupload kode menggunakan Git tanpa menyertakan folder tertentu, Anda perlu menggunakan file khusus bernama .gitignore . File ini...