Re: unexpected T_STRING parse error
| From: | Richard Lynch | Date: | Tue, 10 Oct 2006 18:52:19 +0000 |
| Subject: | Re: unexpected T_STRING parse error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242923@lists.php.net to get a copy of this message | ||
On Tue, October 10, 2006 2:18 am, Ilaria De Marinis wrote:
> PHP Parse error: parse error, unexpected T_STRING in
> /var/www/html/dummy/typo3conf/ext/direct_mail/locallang_tca.xml on
> line 1
>
> This is line 1 of locallang_tca.xml file
> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
>
> I try to switch "short_open_tag" to off in php.ini, but I got a bad
> page
> visualization.
> In fact it's visible also source code while displaying pages.
When you turn off short_open_tag, you also need to convert things like:
<? $x = 'foo';?>
into:
<?php $x = 'foo';?>
<?= ... ?> becomes <?php echo ... ?>
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?