Cannot modify header information - headers already sent (ERROR 500)

Hi i got problem which one i cannot uderstund.

I added new language file to my site (all language files are the same) and then i got this error.

Warning: Cannot modify header information - headers already sent by (output started at /home/teirleta/public_html/protected/modules/referral/messages/lv/uniprogy.php:1) in /home/teirleta/public_html/protected/modules/base/worklets/WBaseInit.php on line 116

Which is:

WBaseInit.php on line 116




114		// setting all default headers

115		foreach($this->headers() as $h)

116			header($h);



Points to:

uniprogy.php:1




1 <?php

2 return array (

There is no free spaces and dashes :confused:

try changing:

[color=#666600]<?[/color][color=#000000]php

[/color][color=#006666]2[/color][color=#000000] [/color][color=#000088]return[/color][color=#000000] array [/color][color=#666600]([/color][color=#666600]

[/color][color=#666600]for:[/color][color=#666600]<?[/color][color=#000000]php [/color][color=#000088]return[/color][color=#000000] array [/color]color=#666600; ?>[/color]

not worked :confused:

and by the way script ends just whith ); not whith ?> (on all scripts)

Hmm, maybe that message file is utf-8 encoded with BOM?

good luck

d

THANKYOU sooooo much :) yes BOM was that error :) thankyou so much.