Looks like the majority of your language files have the issue. The english ones seem ok, but the portuguese have the mentioned spaces before the opening php tag and throughout the files.

example: languages/portuguese/generic.php
Code


<?PHp

$ubbt_lang['CHARSET'] = "iso-8859-1";

$ubbt_lang['READ_DIRECTION'] = "ltr";

$ubbt_lang['EMAIL_SIG'] = "";

$ubbt_lang['TOP'] = "Top";