[PHPTAL] PHPTAL shows blank page

Ján Bátora j.batora at uptime.at
Tue Aug 8 17:44:03 CEST 2006


thanks, yeah I have a 'echo $tpl->execute()' at the end, I copied the 
whole example from the phptal manual, the function execute() runs, it 
goes to parseString in dom/xmlparser.php and which should fill the _tree 
object but it doesn't... the source is read properly, the template and 
file.php are proper too, it just doesn't create any output...
does phptal have any problems with SPL or simpleXML ?

Joshua Paine wrote:
> make sure you have
> print($page->execute());
> at the end. ->execute returns a string.
>




More information about the PHPTAL mailing list