Fixing Joomla 1.0 blank page, PHP 5.3.X compatability