You have the short open tags php option enabled, so "<?" already
starts the php interpreter, and you get a syntax error.

On Thu, Mar 26, 2009 at 14:48, Nei Rauni Santos <[email protected]> wrote:
> Hi,
>
> I did the day 15 of Jobeet today, and I got an error when it render the atom
> template:
>
> Parse error: syntax error, unexpected T_STRING in
> /var/www/sfprojects/jobeet/apps/frontend/modules/job/templates/indexSuccess.atom.php
> on line 2
>
> It's because the template start like a php tag:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> for it work i changed the code for:
>
> <?= '<?xml version="1.0" encoding="utf-8"?>'; ?>
>
> and it work..
>
> Is it correct??
>
>
> thanks
>
> Nei
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to