error redirect in hosting

hi… i have a site in two servers an working good, and another but in hostgator show this error:

Cannot modify header information - headers already sent by (output started at /home1/…/protected/config/main.php:1)

please, i test many stings and not result.

Does the config file have an empty line at the beginning? If so, remove it.

That is my config begin: No spaces or line before <?php



  • To change this license header, choose License Headers in Project Properties.

  • To change this template file, choose Tools | Templates

  • and open the template in the editor.



function My_OB($str, $flags)


//remove UTF-8 BOM

$str = preg_replace("/\xef\xbb\xbf/","",$str);

return $str;


return array(


'name'=&gt;'Tratamiento de Integridad',





please help