I found the trouble... My index.php file had been corrupted. I deleted and recreated it and works fine. Thanks a lot for your tips. ""João Cândido de Souza Neto"" <joao@xxxxxxxxxxxxxxxxxxxxx> escreveu na mensagem news:E1.F0.05684.9AC07654@xxxxxxxxxxxxxxx > In my index.php file of my system i have got just one php tag in which it > starts a smarty object, make a lot of includes of templates and use > $smarty->display("index.tpl") to show the result. > > Until i know, smarty do not send any data to browser before display > method, but, in some cases i must do header(location: sompage.php") and it > gives the follow error: > > Warning: Cannot modify header information - headers already sent by > (output started at > /usr/local/apache2/htdocs/www2.superbanco.com.br/html/index.php:1) in > /usr/local/apache2/htdocs/www2.superbanco.com.br/html/modules/loja/identificacao.php > on line 15 > > Anyone know why is it happen? If so, how can i avoid it? > > > -- > João Cândido de Souza Neto > Curitiba Online > joao@xxxxxxxxxxxxxxxxxxxxx > (41) 3324-2294 (41) 9985-6894 > http://www.curitibaonline.com.br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php