Warning messages

From: Date: Wed, 26 Mar 2003 14:26:43 +0000
Subject: Warning messages
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8915@lists.php.net to get a copy of this message
I need some assistance - I get the following error: Warning: Smarty error: problem writing '/main_header.tpl.' in /usr/home201/m/c/mcgraham/public_html/php/lib/Smarty.class.php on line 589 I use the following class (setup.php, in the /includes directory), and with use_sub_dirs set to false, I can see that the main_header.tpl and main_footer.tpl are now in the templates_c directory. The page renders fine, with the exception of the warning messages for the header and footer. class MySmarty extends Smarty { function MySmarty() { // Class Constructor. These automatically get set with each new instance. $this->Smarty(); $this->template_dir = '../templates/'; $this->compile_dir = '../templates_c/'; $this->config_dir = '../configs/'; $this->cache_dir = '../cache/'; $this->use_sub_dirs = false; $this->caching = true; $this->clear_all_cache(); $this->clear_compiled_tpl(); $this->compile_check = true; $this->force_compile = true; } } Any suggestions? - Erich -

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