RE : [SMARTY] Problem with caracter inserted in first line (RSS)
| From: | Christopher Rousseau | Date: | Mon, 19 Jan 2004 13:22:29 +0000 |
| Subject: | RE : [SMARTY] Problem with caracter inserted in first line (RSS) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10849@lists.php.net to get a copy of this message | ||
Nice but...
I cannot download the php because the file is interpreted by the server
and I got the XML output (where I see a starting blank line ;) ).
Christopher ROUSSEAU
Tel : 01 4734 2525
Fax : 01 4734 2535
23 rue des volontaires
75015 PARIS
Pensez aux services :
Assistance téléphonique
Assistance sur site
Maintenance informatique
Ticket de service
Pack service Internet
-----Message d'origine-----
De : Luc Saint-Elie [mailto:luc@saint-elie.com]
Envoyé : lundi 19 janvier 2004 14:19
À : smarty-general@lists.php.net
Objet : Re: [SMARTY] Problem with caracter inserted in first line (RSS)
At 14:00 19/01/2004, messju mohr wrote:
>you have a newline too much at the end of any of the files you include
>before you call display().
No I checked that (or I am blind..) I even tried with ob_start and
clean..
same result
Something (I fail to find what) adds a new line and a new character
before
the first line of my .tpl file and this in in the process of template
rendering because I have ob_x()
I have uploaded the to files at
http://www.musiquemagazine.com/smarty_test
They are not complete (the config file is missing) but it's easy to
understand how this works
Luc
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php