Friday, 24 June 2016

Install Stuck Loading Step 1 - Joomla!


For anyone trying to install joomla3 or joomla2 on a hosting where PHP 5.5 is running

Jika instalasi Anda hang pada langkah 1 lakukan hal berikut:

buka libraries/joomla/filter/input.php
atau di C:\xampp\htdocs\namawebsitekamu\libraries\joomla\filter
cari file input.php, buka dengan notepad

Temukan kode:
$source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
$source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation

ganti dengan code:

$source = preg_replace_callback('/&#x(\d+);/mi', function($m){return utf8_encode(chr('0x'.$m[1]));}, $source); // decimal notation
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi', function($m){return utf8_encode(chr('0x'.$m[1]));}, $source); // hex notation

**atau bisa download file nya di sini, lalu replace file yang lama

0 komentar:

Post a Comment