[SMARTY] Re: header.

"Jo?o C?ndido de Souza Neto" <[email protected]> Fri, 24 Nov 2006 16:41:30 -0200
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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"" <[email protected]> escreveu na 
mensagem news:[email protected]...
>I am working with smarty and in my system i have got a lot of includes.
>
> In one of these includes, somtimes i must do header("Location: 
> some_page.php") but when i try to do it i get 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
>
> My question is, can i avoid this error?
> If so, how?
>
>
>
> -- 
> João Cândido de Souza Neto
> Curitiba Online
> [email protected]
> (41) 3324-2294 (41) 9985-6894
> http://www.curitibaonline.com.br 

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php