Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Joomla 3.1.5 have bug with PHP 5.5 but you do not need to worry to make it work you just need to modify an file input.php file located in libraries/joomla/filter/input.php here you go: open input.php with your favorite text editor find and replace
- $source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
- with
- $source = preg_replace_callback('/&#(\d+);/m', function($m){return utf8_encode(chr($m[1]));}, $source); // decimal notation
- And
- $source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation
- with
- $source = preg_replace_callback('/&#x([a-f0-9]+);/mi', function($m){return utf8_encode(chr('0x'.$m[1]));}, $source); // hex notation
- or for your continence I have uploaded an fixed input.php file you can download it here (http://bit.ly/1dVatpq) just replace input.php with original one and you are done..!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement