unable to read template resource error

From: Date: Sat, 16 Nov 2002 17:40:31 +0000
Subject: unable to read template resource error
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6450@lists.php.net to get a copy of this message
Howdy Folks, All my Smarty templates generate the following error at the end of their execution... Warning: Smarty error: unable to read template resource: "" in /home/beatfarm/public_html/Smarty/Smarty-2.3.0/Smarty.class.php on line 589 This confuses me, since it obviously finds the template directory (since it's displaying the page using the template). I am using the little trick extending the class, which allows more control over caching directories and the like. Here's the initial class I call... class Smarty_Setup extends Smarty { function Smarty_Setup() { // Class Constructor. These automatically get set with each new instance. $this->template_dir = '/web/beatfarm/public_html/Smarty/Smartystore/templates/'; $this->compile_dir = '/web/beatfarm/public_html/Smarty/Smartystore/templates_c/'; $this->config_dir = '/web/beatfarm/public_html/Smarty/Smartystore/configs/'; $this->cache_dir = '/web/beatfarm/public_html/Smarty/Smartystore/cache/'; } } I just confirmed that, if I disable the Smarty_Setup class and go back to using it the 'regular' way, it works fine. Is there something I'm missing that is causing this to barf right at the end? I'm pretty sure all my paths are correct. Is there something else I need to set? Roy

« previous php.smarty.general (#6450) next »