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) {
/* ... */
}
}

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