Le mardi 14 octobre 2008 à 12:32 +0100, Kornel Lesiński a écrit :
> On 14-10-2008 at 12:01:27 Guillaume Lecanu <[EMAIL PROTECTED]> wrote:
> > When there is an error into my code, the error reported by PHPTAL is not
> > really precise.
> > I'm searching a way to tell me which line in my original template file
> > the error is found.
> What error are you getting?
Oh I have just see the differences !
The line in the template is reported with phptal:debug="", it's exactly
what I want :-)
Thanks again !
> > I have tried to put phptal:debug in some of XHTML tags but I don't see
> > any differences.
> > There is a solution for that ?
> Put phptal:debug on <html> element (or the outermost element in your
> If you have syntax error in php: expression, then unfortunately PHPTAL
> won't be able to tell you original line number - you'll have to open file
> reported by PHP (/tmp/tpl_123...php) and try to make sense of it.
PHPTAL mailing list