[PHPTAL] can't find template file

Kris Quigley kris.quigley at gmail.com
Thu Nov 2 13:31:30 CET 2006


Hi everyone, 

If i initiate too many classes in my main class then PHPTAL errors out:

Fatal error: Uncaught exception 'Exception' with message 'No template
file specified' in /usr/share/php/PHPTAL.php:477 Stack trace:
#0 /usr/share/php/PHPTAL.php(354): PHPTAL->findTemplate()
#1 /usr/share/php/PHPTAL.php(275): PHPTAL->prepare()
#2 /var/www/apache2-default/guru/main.php(267): PHPTAL->execute()
#3 /var/www/apache2-default/guru/main.php(812): main->tal() #4 {main}
thrown in /usr/share/php/PHPTAL.php on line 477

Then if i comment 1 of the class instances out, it works fine.

I've been trying to fix this for days, i have no idea whats going
wrong.:|




More information about the PHPTAL mailing list